CoolFace
Modelpublic

vikasgautam2003/Fake-or-Real-News-Classifier-Using-Naive-Bayes

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Model Card

๐Ÿ“ฐ Fake-or-Real News Classifier Using Naive Bayes

![Python](https://www.python.org/) ![Scikit-learn](https://scikit-learn.org/) ![Hugging Face](https://huggingface.co/vikasgautam2003/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

bash
โ”œโ”€โ”€ 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