All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::rp::ClassifierMAPStrategy::Parameters Class Reference

Classifier Parameters. More...

#include <ClassifierMAPStrategy.h>

Inheritance diagram for te::rp::ClassifierMAPStrategy::Parameters:
te::rp::StrategyParameters 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,
ClassSamplesContainerT
MClassesSamplesCT
 Multi-classes samples container type definition. More...
 
typedef boost::shared_ptr
< MClassesSamplesCT
MClassesSamplesCTPtr
 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 ( )

Definition at line 42 of file ClassifierMAPStrategy.cpp.

References reset().

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

Definition at line 47 of file ClassifierMAPStrategy.cpp.

Member Function Documentation

te::common::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.

Definition at line 69 of file ClassifierMAPStrategy.cpp.

const te::rp::ClassifierMAPStrategy::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.

Definition at line 62 of file ClassifierMAPStrategy.cpp.

Referenced by te::rp::ClassifierMAPStrategy::initialize(), and Parameters().

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.

Referenced by te::rp::ClassifierMAPStrategy::execute(), te::rp::ClassifierMAPStrategy::getPrioriProbabilities(), te::rp::ClassifierMAPStrategy::initialize(), and operator=().

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.

Referenced by te::rp::ClassifierMAPStrategy::execute(), te::rp::ClassifierMAPStrategy::initialize(), and operator=().

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.

Referenced by te::qt::widgets::ClassifierWizardPage::getInputParams(), te::rp::ClassifierMAPStrategy::initialize(), and operator=().


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