michplunkett / ucpd-incident-scraper

This code is going to be used to scrape the UCPD Daily Incident page at a pre-determined frequency and store the incidents on a generic JSON data-store.
MIT License
3 stars 2 forks source link

Add `Incident` categorization model #35

Closed michplunkett closed 11 months ago

michplunkett commented 11 months ago

Describe your changes

Add multi-label classification model to the scraper so that incidents categorized as Information can be more correctly utilized.

Checklist before requesting a review

python -m incident_scraper build-model
Accuracy Score: 0.7074224021592442
Precision Score: 0.8922349427575909
Recall Score: 0.7796868203566768

GUESS WHO IS ABOVE 70%, MY DUDES!?

michplunkett commented 11 months ago

Any new additions to this need to wait until exam season is over. The thought of how this is fixed though, is the following:

🤞🏻 🤞🏻 🤞🏻 🤞🏻 🤞🏻

EDIT: IT WORRRRKED