|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.math.ROCDataGenerator
public class ROCDataGenerator
Helper class containing some methods for ROC plots, threshold finding and area under curve calculation.
| Field Summary | |
|---|---|
static int |
MAX_ROC_POINTS
Defines the maximum amount of points which is plotted in the ROC curve. |
| Constructor Summary | |
|---|---|
ROCDataGenerator(double misclassificationCostsPositive,
double misclassificationCostsNegative)
Creates a new ROC data generator. |
|
| Method Summary | |
|---|---|
double |
calculateAUC(ROCData rocData)
Calculates the area under the curve for a given list of ROC data points. |
ROCData |
createROCData(ExampleSet exampleSet,
boolean useExampleWeights)
Creates a list of ROC data points from the given example set. |
void |
createROCPlotDialog(ROCData data)
Creates a dialog containing a plotter for a given list of ROC data points. |
void |
createROCPlotDialog(ROCData data,
boolean showSlope,
boolean showThresholds)
Creates a dialog containing a plotter for a given list of ROC data points. |
double |
getBestThreshold()
The best threshold will automatically be determined during the calculation of the ROC data list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_ROC_POINTS
| Constructor Detail |
|---|
public ROCDataGenerator(double misclassificationCostsPositive,
double misclassificationCostsNegative)
| Method Detail |
|---|
public double getBestThreshold()
public ROCData createROCData(ExampleSet exampleSet,
boolean useExampleWeights)
public void createROCPlotDialog(ROCData data,
boolean showSlope,
boolean showThresholds)
public void createROCPlotDialog(ROCData data)
public double calculateAUC(ROCData rocData)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||