Skip to content

In this repo, Fake News Classifiers using LSTM models have been trained.

Notifications You must be signed in to change notification settings

sm823zw/Fake-News-Classifier

Repository files navigation

Fake-News-Classifier

In this repo, four Fake News Classifier models have been trained. LSTMs and Bi-LSTMs were used for building the model and 100-D GloVe embeddings were used for embedding the words. The first model was trained using the training and test data consisting of just the title of the news article. In the second one, the model was trained using the actual content of news article. The third and fourth one uses Bi-LSTM models. Tensorflow, nltk, re libraries were used. The dataset was downloaded from Kaggle. The best performing model - Bi-LSTM model obtained 95% accuracy and an improvement of 9% accuracy over TF-IDF technique was observed.

Confusion Matrix for the best performing Bi-LSTM model -

image

About

In this repo, Fake News Classifiers using LSTM models have been trained.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published