Back to all projects
NLP

Fake News Detection

Distinguishing between real and fake news articles using NLP and the Passive Aggressive Classifier.

Fake News Detection screenshot

Project Overview

A text classification project that uses term frequency-inverse document frequency (TF-IDF) to identify misinformation in news corpora.

Technologies Used

PythonTfidfVectorizerScikit-learnPandas

Methodology

  1. 1Loading and cleaning news datasets with Pandas.
  2. 2Feature extraction using TfidfVectorizer to convert text to numerical data.
  3. 3Implementing Passive Aggressive Classifier for high-accuracy text classification.
  4. 4Evaluating results using accuracy scores and Confusion Matrices.