Faster ROC-AUC

Fast calculation of AUC of an ROC for binary classification problems, written in C++.
2.5K Downloads
Updated 24 Jun 2013

View License

AUC = fastAUC(labels,scores,posclass)

Calculates the Area under the ROC curve (AUC) for problems involving two distinct targets (i.e. binary classification problems). Main advantages of using this function are:

*speed
Written in C++, it performs much faster than perfcurve (Matlab statistics toolbox). On a benchmark of 20 million instances this function achieves a speed up factor of more than 100 with respect to perfcurve.

*independence
Works without needing to install the statistics toolbox.

Please send any questions, comments and/or suggestions by mail.

Cite As

Enric Junque de Fortuny (2024). Faster ROC-AUC (https://www.mathworks.com/matlabcentral/fileexchange/41258-faster-roc-auc), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on ROC - AUC in Help Center and MATLAB Answers
Acknowledgements

Inspired: RADIOMICS

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.6.0.0

Bugfix (abs).

1.5.0.0

Description

1.4.0.0

Updated install file.

1.0.0.0