anowell / are-we-learning-yet

How ready is Rust for Machine Learning?
http://arewelearningyet.com
Creative Commons Attribution 4.0 International
453 stars 61 forks source link

Scoring #84

Closed anowell closed 4 years ago

anowell commented 4 years ago

Here's a first take on a custom scoring heuristic.

If you want to try this locally, when changing the scoring, you'll need to rm -rf _tmp to clear out the cached data, and you'll likely want to set a GITHUB_OAUTH_TOKEN in your environment to avoid getting rate-limited on Github API calls.

As a quick visual comparison, this is my local rendering of the Neural Networks category. If this looks good enough, we can merge this to make it go live, and iterate later. Alternatively, you are welcome to tinker and make modifications to this PR.

image

anowell commented 4 years ago

I had a similar feeling given the discrepancy between last commit and last published, but to counter that argument, rusty-machine does have the 2nd highest recent download count of these crates, so it might actually be a reasonable placement still. It's score right now is about 2150 compared to tflite's 2000, so tflite only needs 150 extra downloads in a 90 day window to catch it. In fact, rusty-machine's recent downloads are high enough that it will only drop 2 spots on this list if it were labeled "unmaintained" today under the current heuristic (and short of another commit or heuristic change, it will experience that drop in February).