FNP made by training classification models using dataset from Kaggle. The models employed include Logistic Regression, Decision Trees, and Random Forest, and the text preprocessing involves PorterStemmer and TF-IDF Vectorizer.
- Text Preprocessing: Utilizes PorterStemmer for stemming and TF-IDF Vectorizer for feature extraction.
- Machine Learning Models: Implements Logistic Regression, Decision Trees, and Random Forest classifiers.
- Model Evaluation: Provides metrics to evaluate the performance of each model.
-
Clone the Repository git clone https://github.com/TaruunMalik/Fake-News-Predictor cd fake-news-predictor
-
Install Libraries pip install pandas numpy scikit-learn nltk
The project provides a comparative analysis of the performance of different models, allowing you to choose the best model for your use case.