this class stores a triple of Timbl results
More...
#include <csidp.h>
|
| timbl_result (const std::string &, double, const Timbl::ValueDistribution *) |
|
| timbl_result (const std::string &, double, const std::vector< std::pair< std::string, double >> &) |
|
std::string | cls () const |
|
double | confidence () const |
|
const std::vector< std::pair< std::string, double > > & | dist () const |
|
this class stores a triple of Timbl results
- the assigned class
- the Confidence value for the class
- the class distribution as a vector of class/double values
◆ timbl_result() [1/2]
timbl_result::timbl_result |
( |
const std::string & |
cls, |
|
|
double |
conf, |
|
|
const Timbl::ValueDistribution * |
vd |
|
) |
| |
◆ timbl_result() [2/2]
timbl_result::timbl_result |
( |
const std::string & |
cls, |
|
|
double |
conf, |
|
|
const std::vector< std::pair< std::string, double >> & |
vd |
|
) |
| |
◆ cls()
std::string timbl_result::cls |
( |
| ) |
const |
|
inline |
◆ confidence()
double timbl_result::confidence |
( |
| ) |
const |
|
inline |
return the confidence of the value
◆ dist()
const std::vector< std::pair<std::string,double> >& timbl_result::dist |
( |
| ) |
const |
|
inline |
return the distribution where the cls value is part of
The documentation for this class was generated from the following files: