Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rahulb813/veracious-prophecy

A logistic regression based ML model trained with a dataset of 20000+ values for prediction of real v/s fake news.
https://github.com/rahulb813/veracious-prophecy

google-colab ipynb kaggle-dataset logistic-regression python3

Last synced: 5 days ago
JSON representation

A logistic regression based ML model trained with a dataset of 20000+ values for prediction of real v/s fake news.

Awesome Lists containing this project

README

        

# Veracious Prophecy
## Introduction
- A logistic regression based ML model that's trained with a dataset with 20k+ values.
- Predicts real v/s fake news based on text stemming.
## Intuition
The use of logistic regression is done because the final output predicted by this model
is supposed to be a binary value which results that the news/article is real or fake.
Refer [here](https://www.geeksforgeeks.org/understanding-logistic-regression/) for further details.

## Technologies Used
- Python
- sklearn
- numpy
- PorterStemmer

## Dataset
A single [`train.csv`](https://www.kaggle.com/c/fake-news/data) dataset obtained from [Kaggle](https://wwww.kaggle.com) is split into 80%-20%
for training and testing the model.

## Testing
The model is trained with 80% and tested with 20% of the [`train.csv`](https://www.kaggle.com/c/fake-news/data) dataset and the accuracy of the model was 96% and 94% respectively.

## Deployment
A live version of the [`main.ipynb`](https://github.com/rahulb813/veracious-prophecy/blob/main/main.ipynb) is uploaded at [Google Drive](https://drive.google.com/drive/folders/1Dc3zftve6CMrDUYRBGGlmaVQ3w-pfdku?usp=sharing).