@Deprecated public class ROCAUC extends Object implements Metric<Double>
The calculation of AUC is based on Mann-Whitney U test (https://en.wikipedia.org/wiki/Mann-Whitney_U_test).
| Constructor and Description |
|---|
ROCAUC()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
calculateROCAUC(PriorityQueue<org.apache.commons.math3.util.Pair<Double,Double>> queue,
long pos,
long neg,
double positiveClsLb)
Deprecated.
Calculates the ROC AUC value based on queue of pairs,
amount of positive/negative cases and label of positive class.
|
String |
name()
Deprecated.
Returns the metric's name.
|
double |
negativeClsLb()
Deprecated.
Get the negative label.
|
double |
positiveClsLb()
Deprecated.
Get the positive label.
|
double |
score(Iterator<LabelPair<Double>> iter)
Deprecated.
Calculates score.
|
ROCAUC |
withNegativeClsLb(double negativeClsLb)
Deprecated.
Set the negative label.
|
ROCAUC |
withPositiveClsLb(double positiveClsLb)
Deprecated.
Set the positive label.
|
public static double calculateROCAUC(PriorityQueue<org.apache.commons.math3.util.Pair<Double,Double>> queue, long pos, long neg, double positiveClsLb)
public double positiveClsLb()
public ROCAUC withPositiveClsLb(double positiveClsLb)
public double negativeClsLb()
public ROCAUC withNegativeClsLb(double negativeClsLb)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.38 Release Date : September 22 2026