Skip to content

ostheperson/fake-news-detector

Repository files navigation

Fake News Detecton API

#flask #ml #api #sklearn #passiveaggressiveclassifier

This project is a simple fake news detecton application built as a RESTful api.

The model was trained on Fake and real news dataset | Kaggle with the Passive Aggressive Classifiers - GeeksforGeeks, an online training algorithm that learns from data fed sequentially to it.

setup

#create virual env in project dir
$python -m venv fake-env

#activate environment
$python fake-env/bin/activate

#install dependencies
$pip install -r requirements.txt

#start app
$FLASK_APP=api.py FLASK_ENV=development flask run --port 5000

About

A simple fake news detection api built with flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published