Skip to content

SonicStrain/News-Reliability-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News Reliability checker

Detecting FAKE news using machine learning. Gather a news and test it if it is REAL or FAKE.

Prerequisites

Python 3.x should be installed along with the followong libraries:

  • sklearn
  • pandas
  • csv

Usage Instructions:

  1. Extract the file 'news_for_training.csv' from 'news_for_training.rar' and paste it to '../Fake News Detection/Codes/'
  2. Now Run the file 'train_news.py' to train the model
  3. Next get the news to be tested. Copy and paste the news article in the 'get_news.txt' file
  4. Now run the 'txt2csv.py' to convert the txt file into a csv file
  5. Finally run the 'predict_news.py' to generate the result
the dataset used here is a dataset of political news

Releases

No releases published

Packages

No packages published

Languages