Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Impala::Core::Training::Svm Class Reference

SVM is a well known Classifier, see internet for details. More...

#include <Svm.h>

Inheritance diagram for Impala::Core::Training::Svm:

Inheritance graph
[legend]
Collaboration diagram for Impala::Core::Training::Svm:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Svm ()
 Svm (String s)
virtual ~Svm ()
virtual void Train (Util::PropertySet *properties, TrainDataSrc *data)
 Trains a model.
virtual Table::ScoreTablePredict (TrainDataSrc *data)
virtual void PredictForActiveLearn (Matrix::DistributedAccess *da, Table::QuidTable *columnQuids, Core::Table::SimilarityTableSet::SimTableType *result)
void SetModel (svm_model *model)
virtual void OverrideModelOptions (Util::PropertySet *properties)
const svm_model * GetModel ()
bool Equals (const Svm *other) const
int ReferenceDiff (const Svm *other) const
int Diff (const Svm *other) const

Private Member Functions

void CheckTestMode (svm_problem *problem)
double PredictSingle (const svm_node *problem)

Private Attributes

svm_model * mModel
bool mIsProbabilityModel
int mProbilityIndex
 ILOG_VAR_DEC

Detailed Description

SVM is a well known Classifier, see internet for details.

Todo:
Fix the machanism to set gamma to 1/vectorlength. See OverrideModelOptions(), Train() and MakeSvmParams().
parameters for the model: {w1, w2, C, gamma, cache, degree, coef0, nu, eps, p, shrinking, probability}

Note:
Warning about libsvm! (Just in case other people ever want to change this part of Impala) Things I (Michiel) learned the hard way:

Definition at line 50 of file Svm.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 13 09:21:20 2011 for ImpalaSrc by  doxygen 1.5.1