KSquare Utilities
KKMLL::ClassProb Class Reference

Used to record probability for a specified class; and a list of classes. More...

#include <ClassProb.h>

Public Member Functions

 ClassProb (MLClassPtr _classLabel, double _probability, float _votes)
 
 ClassProb (const ClassProb &_pair)
 

Public Attributes

MLClassPtr classLabel
 
double probability
 
float votes
 

Detailed Description

Used to record probability for a specified class; and a list of classes.

Author
Kurt Kramer

Definition at line 25 of file ClassProb.h.

Constructor & Destructor Documentation

ClassProb::ClassProb ( MLClassPtr  _classLabel,
double  _probability,
float  _votes 
)
ClassProb::ClassProb ( const ClassProb _pair)

Definition at line 33 of file ClassProb.cpp.

References classLabel, probability, and votes.

33  :
34  classLabel (_pair.classLabel),
35  probability (_pair.probability),
36  votes (_pair.votes)
37 {
38 }
double probability
Definition: ClassProb.h:36
MLClassPtr classLabel
Definition: ClassProb.h:35

Member Data Documentation


The documentation for this class was generated from the following files: