I have created a fake news classifier. This model is capable classifying a given news article as a fake news or not with an accuracy of 95%. Here i have used stemming to convert the sentences to the root form of the words. I have used TF-IDF vectorizer so that i can convert words to the vector form along with not losing the importance of words in the sentences. now,to train the model i have used PassiveAggressiveClasiifier with has yeilded me an accuracy of 95%. I have also tried different techniques like MultinomialNaiveBias to train the model and also used different methods such as bag_of_words and lemmatization to preprocess the data along with training the model with both complete news and with only the title. And the noticed that using complete news is yeilding a better performance.
-
Notifications
You must be signed in to change notification settings - Fork 0
vineethreddychalla9/fakenews-classifier
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published