sm823zw / Fake-News-Classifier

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:Jupyter Notebook 100.0%