Skip to content

This is a NLP text classification based project. Here an LSTM model has been built using Tensorflow which aims at classifying news articles as fake or genuine using the title and content data of the article. The dataset contains 20800 news samples distributed between fake and real.

Notifications You must be signed in to change notification settings

Gokul-GMenon/Fake-News-Classification_LSTM-Tensorflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Text Classification model built using Tensorflow

This is a NLP text classification based project. Here an LSTM model has been built using Tensorflow which aims at classifying news articles as fake or genuine using the title and content data of the article. The dataset contains 20800 news samples distributed between fake and real.

Model

Train accuracy: 99.29%

Graph

Validation accuracy: 94.09%

Graph2

How to train:

Use the code in "model_file.ipynb" file and load it into google colab. Then run the model by adjusting the number of epochs to train for required accuracy.

How to use:

Follow the code in 'predictor.py' file to load the model and use it for predictions.

About

This is a NLP text classification based project. Here an LSTM model has been built using Tensorflow which aims at classifying news articles as fake or genuine using the title and content data of the article. The dataset contains 20800 news samples distributed between fake and real.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published