Class Prediction
java.lang.Object
Prediction
public class Prediction
- extends java.lang.Object
Class Prediction
- Version:
- 1.0
- Author:
- Fabien Torre
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Prediction
public Prediction()
setPredictedClass
public void setPredictedClass(int k,
double c)
setNoPrediction
public void setNoPrediction()
isGoodClassification
public java.lang.Boolean isGoodClassification(int k)
isMisclassified
public java.lang.Boolean isMisclassified(int k)
noPrediction
public java.lang.Boolean noPrediction()
getPredictedClass
public int getPredictedClass()
getConfidence
public double getConfidence()
toString
public java.lang.String toString()
- Transforms a prediction into a String.
- Overrides:
toString
in class java.lang.Object