Skip to content

This project is based on the MediEval coding challenge from the year 2015. The challenge

Notifications You must be signed in to change notification settings

Gerasim2000/News_Classification_ML

Repository files navigation

Fake News Classifier

Description:
This project uses a Linear Support Vector Machine algorithm to classify Twitter
Text input as 'Real' or 'Fake' (training/test set from the repository). The algorithm
achieves an F1 'Micro' accuracy of 87%.

Installation guide:
Python version: 3.9
Libraries needed: pandas, nltk, sklearn, csv, re
Notes: 
1. The code includes the download statements for online libraries, however
there may be an inconsistency on different machines(more nltk.download(..) may be needed)
2. The training and test data sets are inside the .zip archive(since the filename is hard-coded,
the files need to be inside the same folder).

Run from command prompt with the path to file: "py .\fake_news_classifier.py"


About

This project is based on the MediEval coding challenge from the year 2015. The challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages