te::rp::ClassifierMAPStrategy::Parameters Class Reference

Classifier Parameters. More...

#include <ClassifierMAPStrategy.h>

Inheritance diagram for te::rp::ClassifierMAPStrategy::Parameters:
te::rp::ClassifierStrategyParameters te::common::AbstractParameters

Public Types

typedef unsigned int ClassIDT
 Class ID type definition (zero means invalid ID). More...
 
typedef std::vector< ClassSampleTClassSamplesContainerT
 Class samples container type definition. More...
 
typedef std::vector< double > ClassSampleT
 Class sample type definition. More...
 
typedef std::map< ClassIDT, ClassSamplesContainerTMClassesSamplesCT
 Multi-classes samples container type definition. More...
 
typedef boost::shared_ptr< MClassesSamplesCTMClassesSamplesCTPtr
 A shared pointer to a multi classes samples container type definition. More...
 

Public Member Functions

AbstractParametersclone () const
 Create a clone copy of this instance. More...
 
const Parametersoperator= (const Parameters &params)
 
 Parameters ()
 
void reset () throw ( te::rp::Exception )
 Clear all internal allocated resources and reset the parameters instance to its initial state. More...
 
 ~Parameters ()
 

Public Attributes

unsigned int m_prioriCalcSampleStep
 A positive non-zero sample step used when calculating piori probabilities (default:2 - half of samples will be used);. More...
 
std::vector< double > m_prioriProbs
 Priori probabilities, one for each class. Values from 0 to 1 (use an empty vector to allow internal calcule of priori probabilities). More...
 
MClassesSamplesCTPtr m_trainSamplesPtr
 A shared pointer to a always-valid structure where trainning samples are stored. More...
 

Detailed Description

Classifier Parameters.

Definition at line 59 of file ClassifierMAPStrategy.h.

Member Typedef Documentation

Class ID type definition (zero means invalid ID).

Definition at line 63 of file ClassifierMAPStrategy.h.

Class samples container type definition.

Definition at line 67 of file ClassifierMAPStrategy.h.

Class sample type definition.

Definition at line 65 of file ClassifierMAPStrategy.h.

Multi-classes samples container type definition.

Definition at line 69 of file ClassifierMAPStrategy.h.

A shared pointer to a multi classes samples container type definition.

Definition at line 71 of file ClassifierMAPStrategy.h.

Constructor & Destructor Documentation

te::rp::ClassifierMAPStrategy::Parameters::Parameters ( )
te::rp::ClassifierMAPStrategy::Parameters::~Parameters ( )

Member Function Documentation

AbstractParameters* te::rp::ClassifierMAPStrategy::Parameters::clone ( ) const
virtual

Create a clone copy of this instance.

Returns
A clone copy of this instance.
Note
The caller will take the ownership of the returned pointer.

Implements te::common::AbstractParameters.

const Parameters& te::rp::ClassifierMAPStrategy::Parameters::operator= ( const Parameters params)
void te::rp::ClassifierMAPStrategy::Parameters::reset ( )
throw (te::rp::Exception
)
virtual

Clear all internal allocated resources and reset the parameters instance to its initial state.

Implements te::common::AbstractParameters.

Member Data Documentation

unsigned int te::rp::ClassifierMAPStrategy::Parameters::m_prioriCalcSampleStep

A positive non-zero sample step used when calculating piori probabilities (default:2 - half of samples will be used);.

Definition at line 77 of file ClassifierMAPStrategy.h.

std::vector< double > te::rp::ClassifierMAPStrategy::Parameters::m_prioriProbs

Priori probabilities, one for each class. Values from 0 to 1 (use an empty vector to allow internal calcule of priori probabilities).

Definition at line 75 of file ClassifierMAPStrategy.h.

MClassesSamplesCTPtr te::rp::ClassifierMAPStrategy::Parameters::m_trainSamplesPtr

A shared pointer to a always-valid structure where trainning samples are stored.

Definition at line 73 of file ClassifierMAPStrategy.h.


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