This project aims to detect fake news using machine learning techniques. The model is trained on a dataset containing both fake and real news articles and classifies news articles accordingly.
- Perform EDA on the dataset to uncover trends, patterns, and actionable insights.
- Deliverables:
- Python code (Jupyter Notebook)
- PDF report summarizing 5 key insights.
- Build a machine learning model to classify news as real or fake.
- Deliverables:
- Trained model file.
- Python code (Jupyter Notebook) for model development.
- Performance evaluation metrics report.
- Develop a simple web interface to allow users to check news authenticity.
- Deliverables:
- Flask/Django web app.
- Deployment guide.
The project uses a dataset containing:
- News Content:
Title: Headline of the news article.Text: Full content of the news article.Label: Classification label (Fake or Real).
├── data/
│ ├── fake_news_dataset.csv
├── notebooks/
│ ├── EDA.ipynb
│ ├── Model_Training.ipynb
├── reports/
│ ├── EDA_Report.pdf
│ ├── Model_Performance.pdf
├── webapp/
│ ├── app.py
│ ├── templates/
├── README.md
- Python 3.7+
- Required libraries:
- pandas
- numpy
- matplotlib
- seaborn
- scikit-learn
- nltk
- Flask/Django (if deploying a web app)
-
Clone the repository:
git clone https://github.com/<username>/fake-news-detection.git cd fake-news-detection
-
Install required libraries:
pip install -r requirements.txt
-
Upload the dataset to the
data/directory.
- Navigate to the
notebooks/directory. - Open and execute the
EDA.ipynbnotebook to perform EDA and generate insights.
- Open and execute the
Model_Training.ipynbnotebook. - Review the model performance report in
reports/.
- Navigate to the
webapp/directory. - Run the web application:
python app.py
- EDA: Identified key trends in fake and real news articles.
- Model: Achieved high accuracy in classifying fake news.
- Web Interface (Optional): Allows users to check news authenticity in real-time.
Kanishkar V
kanishvijay2005@gmail.com
www.linkedin.com/in/kanishkar-v-3471782a2/
This project is licensed under the MIT License. See the LICENSE file for details.