#include <PlattProbModel.hh>
|
| PlattProbModel () |
|
bool | isModelAffectedByLeftOutVectors (const std::vector< char > &leaveOutFlagsByUID) const |
| check, if this model is affected by specified left out vectors, which means, that it needs to be retrained, if these vectors are left out from the training data set More...
|
|
template<typename STDATA > |
void | loadParameters (STDATA &stData, const std::string &prefix="") |
| load the model data from given structured data. More...
|
|
template<typename STDATA , typename FV > |
void | loadParametersWithUIDs (STDATA &stData, const std::vector< FV *> &fvsByUID, const std::string &prefix="") |
| (description) More...
|
|
double | probA () const |
|
double | probB () const |
|
template<typename STDATA > |
void | saveParameters (STDATA &stData, const std::string &prefix="") const |
| save the model data to given structured data. More...
|
|
template<typename STDATA > |
void | saveParametersWithUIDs (STDATA &stData, const std::string &prefix="") const |
| save the model data to string-string map. More...
|
|
void | setProbAB (double a, double b) |
|
template<typename WrappedModel>
class svt::PlattProbModel< WrappedModel >
Definition at line 57 of file PlattProbModel.hh.
◆ PlattProbModel()
template<typename WrappedModel >
◆ setProbAB()
template<typename WrappedModel >
◆ probA()
template<typename WrappedModel >
◆ probB()
template<typename WrappedModel >
◆ saveParameters()
template<typename WrappedModel >
template<typename STDATA >
void svt::PlattProbModel< WrappedModel >::saveParameters |
( |
STDATA & |
stData, |
|
|
const std::string & |
prefix = "" |
|
) |
| const |
|
inline |
save the model data to given structured data.
- Parameters
-
Definition at line 96 of file PlattProbModel.hh.
◆ loadParameters()
template<typename WrappedModel >
template<typename STDATA >
void svt::PlattProbModel< WrappedModel >::loadParameters |
( |
STDATA & |
stData, |
|
|
const std::string & |
prefix = "" |
|
) |
| |
|
inline |
load the model data from given structured data.
- Parameters
-
Definition at line 116 of file PlattProbModel.hh.
◆ saveParametersWithUIDs()
template<typename WrappedModel >
template<typename STDATA >
void svt::PlattProbModel< WrappedModel >::saveParametersWithUIDs |
( |
STDATA & |
stData, |
|
|
const std::string & |
prefix = "" |
|
) |
| const |
|
inline |
save the model data to string-string map.
only the uniqueID's of the support vectors are stored in "sv_uids"
- Parameters
-
Definition at line 137 of file PlattProbModel.hh.
◆ loadParametersWithUIDs()
template<typename WrappedModel >
template<typename STDATA , typename FV >
void svt::PlattProbModel< WrappedModel >::loadParametersWithUIDs |
( |
STDATA & |
stData, |
|
|
const std::vector< FV *> & |
fvsByUID, |
|
|
const std::string & |
prefix = "" |
|
) |
| |
|
inline |
◆ isModelAffectedByLeftOutVectors()
template<typename WrappedModel >
bool svt::PlattProbModel< WrappedModel >::isModelAffectedByLeftOutVectors |
( |
const std::vector< char > & |
leaveOutFlagsByUID | ) |
const |
|
inline |
check, if this model is affected by specified left out vectors, which means, that it needs to be retrained, if these vectors are left out from the training data set
- Parameters
-
leaveOutFlagsByUID | leave out flag for each feature vector, accessed via its uniqueID (1 means leave this vector out from training) |
- Returns
- true or false
Definition at line 179 of file PlattProbModel.hh.
The documentation for this class was generated from the following file: