Fake news refers to false or misleading information that is presented as if it were real news.This project aims to use ML modles to detect fake news based on the text of the article.
The challenge is to develop an effective system that can automatically detect fake news and distinguish it from genuine news articles.
The ultimate goal is to prevent the spread of fake news and promote the dissemination of accurate information
- STREAMLIT
1.Python 3.11
This project requires that your machine must have python version 3.6 or above installed on it.Can download it from https://www.python.org/downloads/
2.You need to install the below packages after installation of python,
- Sklearn (scikit-learn)
- numpy
- pandas
- matplotlib
3.For User interface you must install
- streamlit
- DATASET
The datasets used are
-
true.csv This contains the following attributes:
Title: The title of news Text: Contains text of news Subject: Contains the subject on which news is based Date: the date of news
-
fake.csv
this also contains the same attributes as above
- ML models used:
This project can detect the real and fake news using the following ML models:
Logical regression
Randomn Forest
Decision tree
Gradient Boosting Classifier