Public Member Functions | Protected Attributes

CLibSVMOneClass Class Reference

Detailed Description

class LibSVMOneClass

Definition at line 23 of file LibSVMOneClass.h.

Inheritance diagram for CLibSVMOneClass:
Inheritance graph

List of all members.

Public Member Functions

 CLibSVMOneClass ()
 CLibSVMOneClass (float64_t C, CKernel *k)
virtual ~CLibSVMOneClass ()
virtual bool train (CFeatures *data=NULL)
virtual EClassifierType get_classifier_type ()
virtual const char * get_name () const

Protected Attributes

svm_problem problem
svm_parameter param
struct svm_model * model

Constructor & Destructor Documentation

CLibSVMOneClass (  ) 

default constructor

Definition at line 17 of file LibSVMOneClass.cpp.

CLibSVMOneClass ( float64_t  C,
CKernel k 


C constant C
k kernel

Definition at line 22 of file LibSVMOneClass.cpp.

~CLibSVMOneClass (  )  [virtual]

Definition at line 27 of file LibSVMOneClass.cpp.

Member Function Documentation

virtual EClassifierType get_classifier_type (  )  [virtual]

get classifier type

classifier type LIBSVMONECLASS

Reimplemented from CClassifier.

Definition at line 51 of file LibSVMOneClass.h.

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

Reimplemented from CSVM.

Definition at line 54 of file LibSVMOneClass.h.

bool train ( CFeatures data = NULL  )  [virtual]

train SVM

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 32 of file LibSVMOneClass.cpp.

Member Data Documentation

struct svm_model* model [protected]

SVM model

Definition at line 63 of file LibSVMOneClass.h.

svm_parameter param [protected]

SVM parameter

Definition at line 60 of file LibSVMOneClass.h.

svm_problem problem [protected]

SVM problem

Definition at line 58 of file LibSVMOneClass.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