Java weka.classifiers.evaluation ThresholdCurve fields, constructors, methods, implement or subclass

Example usage for Java weka.classifiers.evaluation ThresholdCurve fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for weka.classifiers.evaluation ThresholdCurve.

The text is from its open source code.

Field

StringFP_RATE_NAME
attribute name: False Positive Rate"
StringTP_RATE_NAME
attribute name: True Positive Rate
StringPRECISION_NAME
attribute name: Precision
StringRECALL_NAME
attribute name: Recall

Constructor

Method

InstancesgetCurve(ArrayList predictions)
Calculates the performance stats for the default class and return results as a set of Instances.
InstancesgetCurve(ArrayList predictions, int classIndex)
Calculates the performance stats for the desired class and return results as a set of Instances.
doublegetNPointPrecision(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.
doublegetPRCArea(Instances tcurve)
Calculates the area under the precision-recall curve (AUPRC).
doublegetROCArea(Instances tcurve)
Calculates the area under the ROC curve as the Wilcoxon-Mann-Whitney statistic.
intgetThresholdInstance(Instances tcurve, double threshold)
Gets the index of the instance with the closest threshold value to the desired target