Frog
Public Member Functions | List of all members
timbl_result Class Reference

this class stores a triple of Timbl results More...

#include <csidp.h>

Public Member Functions

 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
 

Detailed Description

this class stores a triple of Timbl results

  1. the assigned class
  2. the Confidence value for the class
  3. the class distribution as a vector of class/double values

Constructor & Destructor Documentation

◆ 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 
)

Member Function Documentation

◆ cls()

std::string timbl_result::cls ( ) const
inline

return the cls value

◆ 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: