Skip to content

bhimsur/news-clickbait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clickbait Detection

original-repo

This app can classify a news headlines into clickbait and not clickbait label, the app use FastAPI for the API framework and using Logistic Regression and TFIDF to classify the label

Step to install

  • clone the repo and navigate to inside the repo
  • and run via command prompt or terminal
pip install -r requirements.txt
python start.py

Step for testing

  • navigate to the repo root directory and rund via command or terminal
python -m pytest test.py -sv --disable-pytest-warnings

Example from testing

original-repo

Original dataset Kaggle

About

ML API to classify indonesia news headlines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages