Author: Nick Dingwall github.com/ndingwall
This folder contains code that details a problem in one of scikit-learn's
metrics
functions, and proposes a solution.
The corresponding blog post is Stepping away from linear interpolation.
Average_precision_post.ipynb
: notebook version of the blog post.average_precision_post_code.py
: supporting code for the blog notebook.roam_average_precision.py
: proposal for a revised version of sklearn'smetrics.average_precision_score
.further_testing.ipynb
: additional testing of the proposed implementation.
Contact us at research@roaminsight.com.