Public Member Functions | Protected Member Functions

CSVMLightOneClass Class Reference

Detailed Description

Trains a one class C SVM.

See also:

Definition at line 28 of file SVMLightOneClass.h.

Inheritance diagram for CSVMLightOneClass:
Inheritance graph

List of all members.

Public Member Functions

 CSVMLightOneClass ()
 CSVMLightOneClass (float64_t C, CKernel *k)
virtual ~CSVMLightOneClass ()
virtual EClassifierType get_classifier_type ()

Protected Member Functions

virtual bool train_machine (CFeatures *data=NULL)

Constructor & Destructor Documentation

default constructor

Definition at line 46 of file SVMLightOneClass.cpp.


C constant C
k kernel

Definition at line 39 of file SVMLightOneClass.cpp.

virtual ~CSVMLightOneClass (  )  [virtual]

default destructor

Definition at line 42 of file SVMLightOneClass.h.

Member Function Documentation

virtual EClassifierType get_classifier_type (  )  [virtual]

get classifier type

classifier type LIGHTONECLASS

Reimplemented from CSVMLight.

Definition at line 48 of file SVMLightOneClass.h.

bool train_machine ( CFeatures data = NULL  )  [protected, virtual]

train one class svm

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

Reimplemented from CSVMLight.

Definition at line 51 of file SVMLightOneClass.cpp.

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