YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
π° Fake-or-Real News Classifier Using Naive Bayes
β‘ An AI-powered Fake-or-Real News Classifier using Naive Bayes.
Classifies news articles as fake or real based on text features.
π Features
β
Simple, lightweight Naive Bayes model
β
Works on CSV datasets of news articles
β
Preprocessing and training included in Jupyter Notebook
β
Easy to integrate in Python projects
π οΈ Tech Stack
- Language β Python 3.10+
- Library β Scikit-learn (Naive Bayes, TF-IDF)
- Notebook β Jupyter for training and inference
π Project Structure
βββ Fake_Real_Data.csv # Dataset
βββ NewClassificationModel.ipynb # Notebook with training & inference
βββ README_HD.md # Hugging Face repo documentation
βοΈ Usage
Clone the repository:
git clone https://huggingface.co/vikasgautam2003/Fake-or-Real-News-Classifier-Using-Naive-Bayes
cd Fake-or-Real-News-Classifier-Using-Naive-Bayes
Install dependencies:
pip install scikit-learn pandas numpy
Open the Jupyter Notebook NewClassificationModel.ipynb to train or test the model.
π― Use Cases
Detect fake news articles in datasets or streams
Demonstrate Naive Bayes text classification in portfolio
Quick integration for educational purposes
π¨βπ» Author
Vikas Gautam
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support