Public Member Functions | Protected Attributes

CLDA Class Reference

Detailed Description

Definition at line 53 of file LDA.h.

Inheritance diagram for CLDA:
Inheritance graph

List of all members.

Public Member Functions

 CLDA (float64_t gamma=0)
 CLDA (float64_t gamma, CSimpleFeatures< float64_t > *traindat, CLabels *trainlab)
virtual ~CLDA ()
void set_gamma (float64_t gamma)
float64_t get_gamma ()
virtual bool train (CFeatures *data=NULL)
virtual EClassifierType get_classifier_type ()
virtual void set_features (CDotFeatures *feat)
virtual const char * get_name () const

Protected Attributes

float64_t m_gamma

Constructor & Destructor Documentation

CLDA ( float64_t  gamma = 0  ) 


gamma gamma

Definition at line 23 of file LDA.cpp.

CLDA ( float64_t  gamma,
CSimpleFeatures< float64_t > *  traindat,
CLabels trainlab 


gamma gamma
traindat training features
trainlab labels for training features

Definition at line 28 of file LDA.cpp.

~CLDA (  )  [virtual]

Definition at line 36 of file LDA.cpp.

Member Function Documentation

virtual EClassifierType get_classifier_type (  )  [virtual]

get classifier type

classifier type LDA

Reimplemented from CClassifier.

Definition at line 103 of file LDA.h.

float64_t get_gamma (  ) 

get gamma


Definition at line 84 of file LDA.h.

virtual const char* get_name ( void   )  const [virtual]
object name

Reimplemented from CLinearClassifier.

Definition at line 122 of file LDA.h.

virtual void set_features ( CDotFeatures feat  )  [virtual]

set features

feat features to set

Reimplemented from CLinearClassifier.

Definition at line 112 of file LDA.h.

void set_gamma ( float64_t  gamma  ) 

set gamme

gamma the new gamma

Definition at line 75 of file LDA.h.

bool train ( CFeatures data = NULL  )  [virtual]

train LDA classifier

data training data (parameter can be avoided if distance or kernel-based classifiers are used and distance/kernels are initialized with train data)
whether training was successful

Reimplemented from CClassifier.

Definition at line 40 of file LDA.cpp.

Member Data Documentation

float64_t m_gamma [protected]


Definition at line 126 of file LDA.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation