Skip to content

Instantly share code, notes, and snippets.

View lvjiujin's full-sized avatar

Jiujin Lv lvjiujin

  • shanghai
View GitHub Profile
@lvjiujin
lvjiujin / MAUCpy.py
Created October 21, 2019 01:07 — forked from stulacy/MAUCpy.py
"""
MAUCpy
~~~~~~
Contains two equations from Hand and Till's 2001 paper on a multi-class
approach to the AUC. The a_value() function is the probabilistic approximation
of the AUC found in equation 3, while MAUC() is the pairwise averaging of this
value for each of the classes. This is equation 7 in their paper.
"""