public final class NumericPrediction extends Prediction
CategoricalPrediction
,
Serialized FormConstructor 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) |
getCount
public double getPrediction()
public FeatureType getFeatureType()
getFeatureType
in class Prediction
public void update(Example train)
update
in class Prediction
public void update(double newPrediction, int newCount)
public String toString()
toString
in class Prediction
Copyright © 2014–2018. All rights reserved.