How can I write a code to check fake news detection using python??? | Sololearn: Learn to code for FREE!

+1

How can I write a code to check fake news detection using python???

Any suggestion for mini project for machine learning using python

9/5/2020 12:46:04 PM

himani hatwar

1 Answer

New Answer

+2

Maybe use OpenCV for image processing and NLTK for natural language processing, train the model using known "fake news" articles, and known "real news" articles, you could probably adjust the weights of the results and use something like an SVM, LSTM, Voting Regressor combination. However, I think Sentiment Analysis is more of what you are looking for and TFIDF could also help... in short, to answer your question there is a way however it will probably involve using several methods and models https://en.wikipedia.org/wiki/Tf%E2%80%93idf https://towardsdatascience.com/sentiment-analysis-concept-analysis-and-applications-6c94d6f58c17 Here is a good article, maybe something like this? https://towardsdatascience.com/i-trained-fake-news-detection-ai-with-95-accuracy-and-almost-went-crazy-d10589aa57c