Fake News Detection in Python
In this project, we have used various natural language processing techniques and machine learning algorithms to classify fake news articles using sci-kit libraries from python.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them:
- Python 3.6
- You will also need to download and install below 3 packages after you install either python or anaconda from the steps above
- Sklearn (scikit-learn)
- numpy
- scipy
- Download this git repository.
- In CMD change the directory to the folder where this project is saved in your machine and type below command and press enter.
python predict.py
- After hitting the enter, program will ask for an input which will be the URL of the news that you want to verify, then press enter.
- Once you hit the enter the model will analyse the news article and will show how much percent the news article is Real.