public class Roc extends ErrorDistribution
Modifier and Type | Field and Description |
---|---|
protected static double[] |
xRange
The
x -axis range. |
protected static double[] |
yRange
The
y -axis range. |
datasets, dataStyles, dataTitles
Constructor and Description |
---|
Roc(double[][] confidencesArray,
boolean[][] outcomesArray)
Default constructor.
|
Roc(double[] confidences,
boolean[] outcomes)
Alternate constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getTitle()
Gets the title.
|
protected double[] |
getXAxisRange()
Gets the
x -axis range. |
protected String |
getXAxisTitle()
Gets the
x -axis title. |
protected double[] |
getYAxisRange()
Gets the
y -axis range. |
protected String |
getYAxisTitle()
Gets the
y -axis title. |
protected void |
initDataset(RealArray dataset,
boolean[] outcomes)
Initializes the given dataset.
|
getAucs, getAxisRange, getAxisTitle, getDatasets, getDataStyles, getDataTitles, isPropertyEnabled
protected static final double[] xRange
x
-axis range.protected static final double[] yRange
y
-axis range.public Roc(double[][] confidencesArray, boolean[][] outcomesArray)
public Roc(double[] confidences, boolean[] outcomes)
protected void initDataset(RealArray dataset, boolean[] outcomes)
ErrorDistribution
initDataset
in class ErrorDistribution
dataset
- the dataset.outcomes
- the prediction outcomes.protected double[] getXAxisRange()
ErrorDistribution
x
-axis range.getXAxisRange
in class ErrorDistribution
protected double[] getYAxisRange()
ErrorDistribution
y
-axis range.getYAxisRange
in class ErrorDistribution
protected String getXAxisTitle()
ErrorDistribution
x
-axis title.getXAxisTitle
in class ErrorDistribution
protected String getYAxisTitle()
ErrorDistribution
y
-axis title.getYAxisTitle
in class ErrorDistribution