LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::classifier::parameters Class Reference

the parameters for the class classifier More...

#include <ltiClassifier.h>

Inheritance diagram for lti::classifier::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::classifier::parameters:
Collaboration graph
[legend]

List of all members.

Public Types

enum  eDistanceMeasure { L1, L2 }

Public Member Functions

 parameters ()
 parameters (const parameters &other)
virtual ~parameters ()
const char * getTypeName () const
parameterscopy (const parameters &other)
parametersoperator= (const parameters &other)
virtual parametersclone () const
virtual bool write (ioHandler &handler, const bool complete=true) const
virtual bool read (ioHandler &handler, const bool complete=true)

Public Attributes

outputTemplate::eMultipleMode multipleMode

Detailed Description

the parameters for the class classifier


Member Enumeration Documentation

indicates the distance measure used for the classifier

Enumerator:
L1 

L1-norm (sum of the absolut values)

L2 

L2-norm (square root of the sum of the squares)


Constructor & Destructor Documentation

lti::classifier::parameters::parameters (  ) 
lti::classifier::parameters::parameters ( const parameters other  ) 

copy constructor

Parameters:
other the parameters object to be copied

Reimplemented in lti::adaptiveKMeans::parameters, and lti::bagging::parameters.

virtual lti::classifier::parameters::~parameters (  )  [virtual]

Member Function Documentation

virtual parameters* lti::classifier::parameters::clone (  )  const [virtual]
parameters& lti::classifier::parameters::copy ( const parameters other  ) 

copy the contents of a parameters object

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object

Reimplemented from lti::ioObject.

Reimplemented in lti::adaptiveKMeans::parameters, and lti::bagging::parameters.

Referenced by operator=().

const char* lti::classifier::parameters::getTypeName (  )  const [virtual]
parameters& lti::classifier::parameters::operator= ( const parameters other  )  [inline]

Alias for copy.

Reimplemented from lti::ioObject.

Reimplemented in lti::adaptiveKMeans::parameters, and lti::bagging::parameters.

References copy().

virtual bool lti::classifier::parameters::read ( ioHandler handler,
const bool  complete = true 
) [virtual]
virtual bool lti::classifier::parameters::write ( ioHandler handler,
const bool  complete = true 
) const [virtual]

Member Data Documentation

Sets the mode the outputTemplate of the classifier works in, if it uses multipleIds.

This option is usually fixed for all classifiers. unsupervised classifiers methods usually wont use multiple ids, whereas supervised classifiers will. The default is ObjProb.

Setting this parameters only makes sense before using classify, since all information is recorded during training anyway.


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

Generated on Sat Apr 10 15:26:46 2010 for LTI-Lib by Doxygen 1.6.1