Skip to content

A machine learning system that detects misleading or false news articles in the Indian context. Uses NLP for feature extraction, trains models like Logistic Regression and Random Forest, and provides explainable predictions with SHAP. Includes a dashboard to visualize trends, top indicative words, and model confidence.

Notifications You must be signed in to change notification settings

STORM-codess/Fake-news-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ” Fake News Classifier with Explainable AI

The Fake News Classifier is a machine learning-based system designed to automatically detect misleading or false news articles. Built using natural language processing (NLP) techniques and classification algorithms, the project focuses on distinguishing between real and fake news headlines or articles, specifically within the Indian context.

โœ… Key Features:

  • Text Preprocessing: Tokenization, stopword removal, TF-IDF vectorization for robust feature extraction.

  • Model Training: Trained multiple classification models like Logistic Regression, Random Forest, and Naive Bayes, achieving high accuracy on labeled datasets.

  • Explainability: Integrated SHAP (SHapley Additive exPlanations) to provide interpretable model predictions โ€” users can understand which words influenced a fake or real prediction.

  • Dashboard & Insights:

    • Visual display of fake news trends over time
    • Top indicative words for fake and real news
    • Model confidence visualization

๐Ÿง  Tech Stack:

  • Python, scikit-learn, Pandas, Matplotlib, SHAP, Streamlit (optional for dashboard)
  • Dataset: Cleaned and balanced dataset containing labeled Indian news articles

๐Ÿ” Use Cases:

  • Helping readers and researchers detect misinformation
  • Educational tool to demonstrate how AI can be used responsibly in combating fake news
  • Basis for further extensions into multilingual or social media fake news detection

About

A machine learning system that detects misleading or false news articles in the Indian context. Uses NLP for feature extraction, trains models like Logistic Regression and Random Forest, and provides explainable predictions with SHAP. Includes a dashboard to visualize trends, top indicative words, and model confidence.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published