public class PredictionModelStatistics<U extends Bin> extends AbstractModelStatistics<U>
IModelStatistics.ModelStatus| Modifier and Type | Field and Description |
|---|---|
protected static int |
ALL |
protected String[] |
headings |
protected static int |
IGNORED |
protected static int |
LAST |
protected static int |
MAE |
protected static int |
RMSE |
double_nf, integer_nf, statsbdistance_histogram, status, title| Constructor and Description |
|---|
PredictionModelStatistics(String title) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(Comparable dataset,
Double observed,
Double predicted) |
protected double |
calculateError(Double observed,
Double predicted) |
protected double[] |
createStats() |
String |
toStatus(boolean verbose) |
clear, clear, getStatscreateBinaddValue, getDatasets, getHistogram, getStatus, getTitle, isPredicting, setStatus, setTitle, toStringprotected static final int MAE
protected static final int RMSE
protected static final int ALL
protected static final int IGNORED
protected static final int LAST
protected String[] headings
public PredictionModelStatistics(String title)
protected double calculateError(Double observed, Double predicted) throws Exception
Exceptionpublic void addPoint(Comparable dataset, Double observed, Double predicted)
addPoint in interface IModelStatistics<Double>addPoint in class ModelValuesHistogram<Double,U extends Bin>protected double[] createStats()
createStats in class AbstractModelStatistics<U extends Bin>public String toStatus(boolean verbose)
toStatus in interface IModelStatistics<Double>toStatus in class ModelValuesHistogram<Double,U extends Bin>Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.