Public Member Functions | Protected Member Functions

CGNPPSVM Class Reference


Detailed Description

class GNPPSVM

Definition at line 20 of file GNPPSVM.h.

Inheritance diagram for CGNPPSVM:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CGNPPSVM ()
 CGNPPSVM (float64_t C, CKernel *k, CLabels *lab)
virtual ~CGNPPSVM ()
virtual EClassifierType get_classifier_type ()
virtual const char * get_name () const

Protected Member Functions

virtual bool train_machine (CFeatures *data=NULL)

Constructor & Destructor Documentation

CGNPPSVM (  ) 

default constructor

Definition at line 18 of file GNPPSVM.cpp.

CGNPPSVM ( float64_t  C,
CKernel k,
CLabels lab 
)

constructor

Parameters:
C constant C
k kernel
lab labels

Definition at line 23 of file GNPPSVM.cpp.

~CGNPPSVM (  )  [virtual]

Definition at line 28 of file GNPPSVM.cpp.


Member Function Documentation

virtual EClassifierType get_classifier_type (  )  [virtual]

get classifier type

Returns:
classifier type GNPPSVM

Reimplemented from CMachine.

Definition at line 40 of file GNPPSVM.h.

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

Reimplemented from CSVM.

Definition at line 43 of file GNPPSVM.h.

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

train SVM classifier

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

Reimplemented from CMachine.

Definition at line 32 of file GNPPSVM.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