GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - mpr7171/Fake-News-Detection: NLP-based fake news detection using pre-trained Word2Vec embeddings and semantic feature engineering. Includes deep EDA, entity-based features, interpretable metrics, and evaluation across multiple models including Logistic Regression, Decision Tree, and Random Forest.

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
Fake_News_Detection_ArnabBiswas_MaddiPranavReddy_MohanNishantam.zip
Fake_News_Detection_ArnabBiswas_MaddiPranavReddy_MohanNishantam.zip
 
 
README.md
README.md
 
 

Repository files navigation

πŸ“° Fake News Detection

A Machine Learning-based project to classify news articles as True or Fake using natural language processing and a combination of statistical and semantic features. The model leverages pre-trained Word2Vec embeddings to extract meaningful linguistic characteristics, and it employs supervised learning algorithms to deliver high-accuracy predictions.


πŸ‘¨β€πŸ’» Team Members

  • Arnab Biswas
  • Maddi Pranav Reddy
  • Mohan Nishantam

πŸ“Œ Problem Statement

Classify a given news text as True or Fake using supervised machine learning algorithms. Utilize the Google News Word2Vec (300-d) pre-trained embeddings for feature extraction and semantic representation.


πŸ” Approach

1. Data Preprocessing

  • Text cleaning: removal of punctuation, numbers, brackets, and stop words.
  • Lemmatization: focusing primarily on nouns (NN, NNS) as they hold key semantic value.
  • Conversion to lowercase for normalization.

2. Feature Engineering

  • Sentence Vectors: Sum of all word vectors in a sentence.
  • Frobenius Norm: Captures the volume of the text’s hyperspace.
  • Word Similarity: Dot product between individual word vectors and the sentence vector.
  • Text Length: Used as a proxy for editorial standards.
  • Named Entity Recognition (NER): Counts of entity types (person, organization, location, etc.).

3. Modeling

  • Tried and tested models: Logistic Regression, Decision Tree, and Random Forest.
  • Hyperparameter tuning using GridSearchCV.
  • Evaluation metric: F1 Score (balances precision and recall, ideal for binary classification with roughly balanced classes).

πŸ“ˆ Exploratory Data Analysis (EDA)

  • Text length distributions differ significantly between true and fake news.
  • Word clouds and N-grams highlight focus areas:
    • Fake news: more personal references, vague justifications, and visual proof.
    • True news: more institutional terms, verifiable sources, and official tone.
  • NER patterns: Fake news focuses disproportionately on persons; true news has a balanced distribution across types.

🧠 Best Model

βœ… Logistic Regression

  • (solver: liblinear, regularization: l1, penalty: 0.1)
  • Accuracy: 93.06%
  • Precision: 92.47%
  • Recall: 93.03%,
  • F1 Score: 92.75%

βœ”οΈ Outperformed Decision Trees and Random Forest on most metrics


πŸ“ Files Included

All files are provided inside the ZIP archive:
Fake_News_Detection_ArnabBiswas_MaddiPranavReddy_MohanNishantam.zip

  • Fake_News_Detection.ipynb – Jupyter notebook containing the full implementation.
  • Fake_News_Detection_Report.pdf – Final project report with analysis, EDA insights, and model evaluations.

About

NLP-based fake news detection using pre-trained Word2Vec embeddings and semantic feature engineering. Includes deep EDA, entity-based features, interpretable metrics, and evaluation across multiple models including Logistic Regression, Decision Tree, and Random Forest.

Topics

decision-treesfake-news-detectionlogistic-regressionnatural-language-processing-nlprandom-forestsemantic-classificationword2vec

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.