CLibSVM Class Reference


Detailed Description

LibSVM.

Definition at line 21 of file LibSVM.h.

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 ()
virtual const char * get_name () const

Protected Attributes

svm_problem problem
svm_parameter param
struct svm_modelmodel

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.

virtual const char* CLibSVM::get_name (  )  const [virtual]
Returns:
object name

Reimplemented from CSVM.

Definition at line 46 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 54 of file LibSVM.h.

svm_parameter CLibSVM::param [protected]

SVM param

Definition at line 51 of file LibSVM.h.

svm_problem CLibSVM::problem [protected]

SVM problem

Definition at line 49 of file LibSVM.h.


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

SHOGUN Machine Learning Toolbox - Documentation