org.android.activityminer.logic.classification
Class PredictionResult

Package class diagram package PredictionResult
java.lang.Object
  extended by 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
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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)

Constructor Detail

PredictionResult

public PredictionResult(long predictedCid,
                        double certainty)
Constructor

Parameters:
predictedCid - the predicted class (activity) identifier
certainty - the certainty