Skip to content

Spam classifier w/ Flask API for YouTube comments. Trained on UCI YouTube Spam Collection Dataset

Notifications You must be signed in to change notification settings

jacksonyuanjx/youtube-comments-spam-classifier

Repository files navigation

YouTube Comments Spam Classifier

YouTube Walkthrough

Running locally to generate predictions

Run the Flask API

  • install pipenv
  • run python server.py
  • send requests to POST localhost:5000/predict or use the Swagger UI to generate predictions

OR, run the Jupyter notebook

Limitations

  • dataset only comes from comments on music videos of five artists so the model may not perform as expected in other contexts (e.g. a tech video)
  • what is considered spam in one context may just as well be considered non-spam in a different context

About

Spam classifier w/ Flask API for YouTube comments. Trained on UCI YouTube Spam Collection Dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published