Skip to content

saket223/Fake_News_Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake_News_Detector

This web application allows users to input news content, and it classifies the news as either "Real" or "Fake." It uses a Decision Tree Classifier trained on a dataset of labeled news articles.

Getting Started

These instructions will help you set up and run the project on your local machine.

Prerequisites

Clone the repository in your IDE. Before running the application, ensure you have the following dependencies installed:

  • Python 3.x
  • Flask
  • scikit-learn
  • NLTK
  • joblib (for model persistence)
  • matplotlib
  • seaborn

You can install the required packages using pip

The dataset can be extracted from the compressed fake_or_real_news.csv file.

After performing all the prerequisites run these command in the terminal:

  • python model.py
  • python app.py
  • Now go the the link that will be displayed in the terminal and there you go!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published