Skip to content

The main goal of viewing or reading the news was to stay updated about what was going on in the world. In the modern era, there are various social media platforms, such as Facebook, Twitter, Reddit, and others, which millions of people rely on to keep up with daily events. Then there was the fake news, which circulated as quickly as the genuine …

Notifications You must be signed in to change notification settings

rahkum96/Fake-News-Classifier-With-NLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fake-News-Classifier-With-NLP

image

The main goal of viewing or reading the news was to stay updated about what was going on in the world. In the modern era, there are various social media platforms, such as Facebook, Twitter, Reddit, and others, which millions of people rely on to keep up with daily events. Then there was the fake news, which circulated as quickly as the genuine news. Fake news is information that has been integrated or misrepresented with the intent of guiding people down the wrong road or harming the reputation of a person or an institution.

Approach

  1. Data collection:Data collection is the process of obtaining information from a variety of sources in order to solve a specific research challenge. This data is saved in a file called a dataset and is subjected to various processes such as testing and evaluation.
  2. Data Cleaning: Errors in the gathered data should be identified and corrected. This procedure is performed primarily to increase the dataset's quality, reliability, and accuracy of decision-making processes.
  3. Data Exploration/Analysis:The process of tuning a dataset using one or more machine learning algorithms to match it to a business need, predict, or validate it.
  4. Data Validation: The procedure for fine-tuning hyperparameters before running the model. This allows for an independent evaluation of a model fit on the training dataset.
  5. Prediction on test data

Usage

  • Just run jupyter notebook in terminal and it will run in your browser.

    Install Jupyter here i've you haven't.

  • install NLTK by using pip install nltk in command line prompt/ anconda i've you haven't.

Modules needed:

- nltk
- re
- Pandas
- numpy
- Scikit-Learn &
- seaborn

Model:

  • I got an accuracy of 89% by using Bag of Words and Machine learning model Naive Bayes classifier.

About file:

dataset link

https://www.kaggle.com/c/fake-news

About

The main goal of viewing or reading the news was to stay updated about what was going on in the world. In the modern era, there are various social media platforms, such as Facebook, Twitter, Reddit, and others, which millions of people rely on to keep up with daily events. Then there was the fake news, which circulated as quickly as the genuine …

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published