Fake News Detection

Fake News Detection

Leader posted 1 min read

Excited to share my latest project: Fake News Detection using Machine Learning & NLP!
In today's world of misinformation, I built an end-to-end system that automatically detects whether a news article is FAKE or REAL using Python, NLP, and Deep Learning.
What I built: ✅ Complete NLP pipeline with text cleaning & lemmatization ✅ TF-IDF vectorization with bigrams (5000 features) ✅ 6 Machine Learning models compared side by side ✅ Deep Neural Network with Dropout regularization ✅ Real-time user input prediction system ✅ EDA with Word Clouds & visualizations
Models Used: ▸ Logistic Regression ▸ Naive Bayes ▸ Random Forest ▸ Decision Tree ▸ Gradient Boosting ▸ Linear SVM ▸ Dense Neural Network (TensorFlow/Keras)
Key Findings: ▸ Fake news uses emotional, sensational & uppercase language ▸ Real news is formal, structured & factual ▸ Logistic Regression achieved excellent accuracy on TF-IDF features ▸ Neural Network with Early Stopping & Dropout prevented overfitting
️ Tech Stack: Python | Pandas | Scikit-learn | TensorFlow | Keras | NLTK | Matplotlib | Seaborn
This project taught me how powerful simple NLP techniques like TF-IDF can be when combined with the right models. Sometimes you don't need GPT — a well-tuned Logistic Regression can be just as effective!
Full code available on GitHub https://github.com/Urooj25/News_Detection_Model.git

15 Comments

2 votes
1
1
0
0
2 votes
0
2 votes
0
1 vote
0
1 vote
0
1 vote
0

More Posts

I’m a Senior Dev and I’ve Forgotten How to Think Without a Prompt

Karol Modelskiverified - Mar 19

Defending Against AI Worms: Securing Multi-Agent Systems from Self-Replicating Prompts

alessandro_pignati - Apr 2

I Built an AI That Predicts Medical Specialties from Clinical Notes (End-to-End Deployment)

gradienninja - May 4

Cavity on X-Ray: A Complete Guide to Detection and Diagnosis

Huifer - Feb 12

Agent Action Guard

praneeth - Mar 31
chevron_left

Related Jobs

View all jobs →

Commenters (This Week)

3 comments
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!