Detecting FAKE news using machine learning. Gather a news and test it if it is REAL or FAKE.
Python 3.x should be installed along with the followong libraries:
- sklearn
- pandas
- csv
- Extract the file 'news_for_training.csv' from 'news_for_training.rar' and paste it to '../Fake News Detection/Codes/'
- Now Run the file 'train_news.py' to train the model
- Next get the news to be tested. Copy and paste the news article in the 'get_news.txt' file
- Now run the 'txt2csv.py' to convert the txt file into a csv file
- Finally run the 'predict_news.py' to generate the result