![]() |
GURLS++
2.0.00
C++ Implementation of GURLS Matlab Toolbox
|
Confidence is the class that computes a confidence score for the predicted labels.
#include <confidence.h>
Public Member Functions | |
virtual GurlsOptionsList * | execute (const gMat2D< T > &X, const gMat2D< T > &Y, const GurlsOptionsList &opt)=0 |
Computes a confidence score for the predicted labels specified in the field pred of opt. | |
Static Public Member Functions | |
static Confidence< T > * | factory (const std::string &id) throw (BadConfidenceCreation) |
Factory function returning a pointer to the newly created object. |
Definition at line 83 of file confidence.h.
virtual GurlsOptionsList* gurls::Confidence< T >::execute | ( | const gMat2D< T > & | X, |
const gMat2D< T > & | Y, | ||
const GurlsOptionsList & | opt | ||
) | [pure virtual] |
X | not used |
Y | not used |
opt | options with the following:
|
Implemented in gurls::ConfBoltzman< T >, gurls::ConfBoltzmanGap< T >, gurls::ConfMaxScore< T >, and gurls::ConfGap< T >.
static Confidence<T>* gurls::Confidence< T >::factory | ( | const std::string & | id | ) | throw (BadConfidenceCreation) [inline, static] |
Definition at line 105 of file confidence.h.
{ if(id == "boltzman") return new ConfBoltzman<T>; if(id == "boltzmangap") return new ConfBoltzmanGap<T>; if(id == "gap") return new ConfGap<T>; if(id == "maxscore") return new ConfMaxScore<T>; throw BadConfidenceCreation(id); }