Example usage for Java weka.classifiers.evaluation ThresholdCurve fields, constructors, methods, implement or subclass
The text is from its open source code.
String | FP_RATE_NAME attribute name: False Positive Rate" |
String | TP_RATE_NAME attribute name: True Positive Rate |
String | PRECISION_NAME attribute name: Precision |
String | RECALL_NAME attribute name: Recall |
Instances | getCurve(ArrayList Calculates the performance stats for the default class and return results as a set of Instances. |
Instances | getCurve(ArrayList Calculates the performance stats for the desired class and return results as a set of Instances. |
double | getNPointPrecision(Instances tcurve, int n) Calculates the n point precision result, which is the precision averaged over n evenly spaced (w.r.t recall) samples of the curve. |
double | getPRCArea(Instances tcurve) Calculates the area under the precision-recall curve (AUPRC). |
double | getROCArea(Instances tcurve) Calculates the area under the ROC curve as the Wilcoxon-Mann-Whitney statistic. |
int | getThresholdInstance(Instances tcurve, double threshold) Gets the index of the instance with the closest threshold value to the desired target |