org.android.activityminer.logic.classification
Class PredictionResult
java.lang.Object
org.android.activityminer.logic.classification.PredictionResult
public class PredictionResult
- extends Object
Prediction result of classification.
Field Summary |
double |
certainty
The certainty measure in the range of 0.0 to 1.0 (-1.0 if not supported) |
long |
predictedCid
The predicted class (activity) identifier. |
Constructor Summary |
PredictionResult(long predictedCid,
double certainty)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
predictedCid
public final long predictedCid
- The predicted class (activity) identifier.
certainty
public final double certainty
- The certainty measure in the range of 0.0 to 1.0 (-1.0 if not supported)
PredictionResult
public PredictionResult(long predictedCid,
double certainty)
- Constructor
- Parameters:
predictedCid
- the predicted class (activity) identifiercertainty
- the certainty