smile.validation
Class AUC
- java.lang.Object
-
- smile.validation.AUC
-
public class AUC extends java.lang.ObjectThe area under the curve (AUC). When using normalized units, the area under the curve is equal to the probability that a classifier will rank a randomly chosen positive instance higher than a randomly chosen negative one (assuming 'positive' ranks higher than 'negative').In statistics, a receiver operating characteristic (ROC), or ROC curve, is a graphical plot that illustrates the performance of a binary classifier system as its discrimination threshold is varied. The curve is created by plotting the true positive rate (TPR) against the false positive rate (FPR) at various threshold settings.
AUC is quite noisy as a classification measure and has some other significant problems in model comparison.
We calculate AUC based on Mann-Whitney U test (https://en.wikipedia.org/wiki/Mann-Whitney_U_test).
-
-
Constructor Summary
Constructors Constructor and Description AUC()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doublemeasure(int[] truth, double[] probability)Caulculate AUC for binary classifier.
-
DataMelt 3.0 © DataMelt by jWork.ORG