Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 749 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 749 Bytes

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