public final class NumericPrediction extends Prediction
CategoricalPrediction,
Serialized Form| Constructor and Description |
|---|
NumericPrediction(double prediction,
int initialCount) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
FeatureType |
getFeatureType() |
double |
getPrediction() |
int |
hashCode() |
String |
toString() |
void |
update(double newPrediction,
int newCount) |
void |
update(Example train) |
getCountpublic double getPrediction()
public FeatureType getFeatureType()
getFeatureType in class Predictionpublic void update(Example train)
update in class Predictionpublic void update(double newPrediction,
int newCount)
public String toString()
toString in class PredictionCopyright © 2014–2018. All rights reserved.