29 #ifndef GRT_CLASSIFICATION_RESULT_HEADER
30 #define GRT_CLASSIFICATION_RESULT_HEADER
31 #include "GRTCommon.h"
50 this->classLabel = classLabel;
51 this->predictedClassLabel = predictedClassLabel;
52 this->unprocessedPredictedClassLabel = unprocessedPredictedClassLabel;
53 this->maximumLikelihood = maximumLikelihood;
54 this->classLikelihoods = classLikelihoods;
55 this->classDistances = classDistances;
66 this->classLabel = rhs.classLabel;
67 this->predictedClassLabel = rhs.predictedClassLabel;
68 this->unprocessedPredictedClassLabel = rhs.unprocessedPredictedClassLabel;
69 this->maximumLikelihood = rhs.maximumLikelihood;
70 this->classLikelihoods = rhs.classLikelihoods;
71 this->classDistances = rhs.classDistances;
89 this->classLabel = rhs.classLabel;
90 this->predictedClassLabel = rhs.predictedClassLabel;
91 this->unprocessedPredictedClassLabel = rhs.unprocessedPredictedClassLabel;
92 this->maximumLikelihood = rhs.maximumLikelihood;
93 this->classLikelihoods = rhs.classLikelihoods;
94 this->classDistances = rhs.classDistances;
105 return( classLabel == predictedClassLabel);
124 return predictedClassLabel;
134 return unprocessedPredictedClassLabel;
143 return maximumLikelihood;
152 return classLikelihoods;
161 return classDistances;
165 UINT predictedClassLabel;
166 UINT unprocessedPredictedClassLabel;
167 Float maximumLikelihood;
174 #endif //GRT_CLASSIFICATION_RESULT_HEADER
ClassificationResult(UINT classLabel=0, UINT predictedClassLabel=0, UINT unprocessedPredictedClassLabel=0, Float maximumLikelihood=0, VectorFloat classLikelihoods=VectorDouble(), VectorFloat classDistances=VectorFloat())
VectorFloat getClassDistances() const
Float getMaximumLikelihood() const
UINT getClassLabel() const
ClassificationResult(const ClassificationResult &rhs)
UINT getPredictedClassLabel() const
bool getCorrectPrediction() const
UINT getUnprocessedPredictedClassLabel() const
ClassificationResult operator=(const ClassificationResult &rhs)
VectorFloat getClassLikelihoods() const