Fake News Detections Using TF-IDF and machine Learning with LLM-based

Fake news spreads fast, and most detection tools only give a label without any reason behind it. This paper describes a small system that tries to fix both problems. It cleans news text, turns it into TF-IDF features, and classifies it with Logistic Regression and Multinomial Naive Bayes. The better model, chosen by F1-score, runs inside a Streamlit web app that shows a Real or Fake prediction, a confidence value and the words that pushed the decision. A large language model (LLM) then explains the result in a few plain sentences. I trained and tested the system on the WELFake dataset. It has 72,134 articles, and 62,200 remained after I removed empty and duplicate rows. The best model reached [X]% accuracy and an F1-score of [X] on the test set. The paper also covers label checking, data leakage, and why an LLM explanation should never be treated as proof. Everything runs on an ordinary laptop, so the project is easy to repeat and extend.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24776287
Primary Topic
Misinformation and Its Impacts
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Fake News Detections Using TF-IDF and machine Learning with LLM-based

Vasant Pednekar
Zenodo (CERN European Organization for Nuclear Research)
Misinformation and Its Impacts
article

Fake News Detections Using TF-IDF and machine Learning with LLM-based

Vasant Pednekar
article en

Abstract

Fake news spreads fast, and most detection tools only give a label without any reason behind it. This paper describes a small system that tries to fix both problems. It cleans news text, turns it into TF-IDF features, and classifies it with Logistic Regression and Multinomial Naive Bayes. The better model, chosen by F1-score, runs inside a Streamlit web app that shows a Real or Fake prediction, a confidence value and the words that pushed the decision. A large language model (LLM) then explains the result in a few plain sentences. I trained and tested the system on the WELFake dataset. It has 72,134 articles, and 62,200 remained after I removed empty and duplicate rows. The best model reached [X]% accuracy and an F1-score of [X] on the test set. The paper also covers label checking, data leakage, and why an LLM explanation should never be treated as proof. Everything runs on an ordinary laptop, so the project is easy to repeat and extend.

Zenodo (CERN European Organization for Nuclear Research)
Misinformation and Its Impacts
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon