Machine learning model for fake news detection using NLP techniques like TF-IDF and classification algorithms (SVM, Logistic Regression).
https://github.com/Bitu-Singh-Rathoud/fake-news-detection
This project builds a machine learning model to detect fake news articles using Natural Language Processing (NLP). It processes textual data, extracts meaningful features, and classifies news as real or fake.
- Text preprocessing (tokenization, stopword removal, cleaning)
- Feature extraction using TF-IDF
- Classification using Machine Learning models (Logistic Regression, SVM)
- Model evaluation using accuracy, precision, recall, F1-score
- Python
- Scikit-learn
- NLP (TF-IDF)
- Pandas, NumPy
- Achieved high accuracy in classifying fake vs real news
- Effective feature extraction using TF-IDF
- Improved model performance using tuning techniques
pip install -r requirements.txt
python main.py