How ganeshabothu1/fake_new_dect works
This repository presents a Flask web app for classifying news as fake or true. The user submits article text; the app produces a classification using a machine-learning/NLP workflow involving text features and a trained model. The README documents preprocessing, feature extraction, and prediction, while the source index shows the app’s Flask and joblib dependencies and the training module’s pandas, scikit-learn, and joblib dependencies. Source excerpts do not show the app-to-model call or individual training steps, so those links are marked unverified.
Main entry points: app.py Request and result handling · fake_news.py Model training and prediction · flask/app.py Flask runtime
Components 7
Web application
- Flask runtime
Lib/site-packages/flask/app.py - Request and result handling
app.py
Detection workflow
- Text preprocessing
fake_news.py - Text features
fake_news.py - Model training and prediction
fake_news.py
Training data
- News training data
Other components
- Article submitter
Connections 7
- Article submitter → Request and result handling: submits article
README.md - Request and result handling → Flask runtime: uses framework
app.py - Request and result handling → Model training and prediction: loads or invokes
- News training data → Text preprocessing: provides text
- Text preprocessing → Text features: transforms text
README.md - Text features → Model training and prediction: feeds training
README.md - Model training and prediction → Request and result handling: returns prediction
README.md