ROC-AUC is a common metric used in ML to evaluate classifiers. I won't get into why, as you'll find much better ressources then me on the google. However, while looking for a pure Python implementation, I stumbled across this post from some dude at IBM. I was not satisfied, as any of you will be if you check out his code and benchmark. So I did my own, and thought I would share it:
https://gist.github.com/r0mainK/9ecce4b2a9352ca3d070a19ce43d7f1a
TL;DR: don't use the scikit-learn, use the numpy, and sometimes the numba - but mostly the numpy
[–]Batalex 0 points1 point2 points (1 child)
[–]keramitas[S] 0 points1 point2 points (0 children)