Skip to content

joshuaas/Learning-with-Multiclass-AUC-Theory-and-Algorithms

Repository files navigation

Learning with Multiclass AUC: Theory and Algorithms

Zhiyong Yang, Qianqian Xu, Shilong Bao, Yuan He, Xiaochun Cao and Qingming Huang. Learning with Multiclass AUC: Theory and Algorithms. IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI), 2021. (Regular Paper)

Update News 6/23/2022

Note that, this repo only supplies the code of AUC optimization for traditional ML methods. We have open-sourced an end2end machine learning library for X metrics learning (including AUROC for deep neural networks). Please refer to XCurve for the official code. We hope our library can help you deploy/attain your ML model conveniently and easily. Thanks for all!

AUC_Traditional

Note

This implementation is inspired by scikit-learn, and we extended it to our work (especially, the special cv regime).

  • numpy
  • scikit-learn
  • pandas
  • pickle

Acceleration

Cython is an efficient extension for python to accelerate the code.

We also accelerate this code with cython and achieve remarable performance!(Refer to cfunc.pyx and setup.py)

To execute experiments with cython, u should compile the cython code first .

python3 setup.py build_ext --inplace
cython -a cfunc.pyx 

Then, set the bool cython=True, to enjoy the acceleration.

Run

When u have already set the corresponding parameters, then

python3 train.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published