public class PrecisionRecall extends ErrorDistribution
Modifier and Type | Field and Description |
---|---|
protected static double[] |
xRange
The
x -axis range. |
datasets, dataStyles, dataTitles
Constructor and Description |
---|
PrecisionRecall(double[][] confidencesArray,
boolean[][] outcomesArray)
Default constructor.
|
PrecisionRecall(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
public PrecisionRecall(double[][] confidencesArray, boolean[][] outcomesArray)
public PrecisionRecall(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