Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📰 TruthLens AI

AI-Powered News Verification System

TruthLens AI is a Machine Learning web application that predicts whether a news article is likely Real or Fake using Natural Language Processing (NLP).

🌐 Live Demo

Streamlit App: https://truthlens-ai-nzhzfbrcgl6zz2k7cl6syf.streamlit.app

📸 Screenshots

Home Page

Home

Prediction Result

Prediction

🚀 Features

  • Detects Real and Fake News
  • AI-powered prediction using Machine Learning
  • TF-IDF text vectorization
  • Logistic Regression classifier
  • Confidence score display
  • Interactive Streamlit web interface
  • Responsive and easy-to-use UI

🛠️ Tech Stack

  • Python
  • Streamlit
  • Scikit-learn
  • Pandas
  • NumPy
  • Pickle
  • Git & GitHub

📁 Project Structure

truthlens-ai/
├── data/
│   └── news.csv
├── models/
│   ├── logistic_regression_model.pkl
│   └── tfidf_vectorizer.pkl
├── notebook/
│   ├── app/
│   │   └── app.py
│   └── eda.ipynb
├── requirements.txt
├── README.md
└── .gitignore

▶️ Run Locally

pip install -r requirements.txt python -m streamlit run notebook/app/app.py

📊 Machine Learning Pipeline

Dataset ↓ Data Preprocessing ↓ TF-IDF Vectorization ↓ Logistic Regression ↓ Prediction ↓ Confidence Score

🎯 Future Enhancements

  • Improve model accuracy with larger datasets
  • Compare multiple ML models
  • Add prediction history
  • Add news category classification
  • Enhance UI and visual analytics

👩‍💻 Project By

Abhilasha Mishra

B.Tech Computer Science (AI)

AKTU

About

Machine learning based Fake News Detector using TF-IDF , Logistic Regression and Streamlit

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages