CLibSVM Class Reference

Inheritance diagram for CLibSVM:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 CLibSVM ()
 CLibSVM (float64_t C, CKernel *k, CLabels *lab)
virtual ~CLibSVM ()
virtual bool train ()
virtual EClassifierType get_classifier_type ()

Protected Attributes

svm_problem problem
svm_parameter param
struct svm_modelmodel


Detailed Description

LibSVM

Definition at line 21 of file LibSVM.h.


Constructor & Destructor Documentation

CLibSVM::CLibSVM (  ) 

constructor

Definition at line 14 of file LibSVM.cpp.

CLibSVM::CLibSVM ( float64_t  C,
CKernel k,
CLabels lab 
)

constructor

Parameters:
C constant C
k kernel
lab labels

Definition at line 19 of file LibSVM.cpp.

CLibSVM::~CLibSVM (  )  [virtual]

Definition at line 24 of file LibSVM.cpp.


Member Function Documentation

virtual EClassifierType CLibSVM::get_classifier_type (  )  [virtual]

get classifier type

Returns:
classifier type LIBSVM

Reimplemented from CClassifier.

Definition at line 43 of file LibSVM.h.

bool CLibSVM::train (  )  [virtual]

train SVM

Reimplemented from CClassifier.

Definition at line 29 of file LibSVM.cpp.


Member Data Documentation

struct svm_model* CLibSVM::model [read, protected]

SVM model

Definition at line 52 of file LibSVM.h.

SVM param

Definition at line 49 of file LibSVM.h.

SVM problem

Definition at line 47 of file LibSVM.h.


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

SHOGUN Machine Learning Toolbox - Documentation