X-Boost  2.3.8
Public Member Functions | Public Attributes | List of all members
svm_train< Functor > Struct Template Reference

SVM trainer. More...

#include <SVM.h>

Inherits Functor.

Public Member Functions

 svm_train (int _m)
 
void insert (int y, double *x)
 
void train ()
 

Public Attributes

int n
 number of samples
 
int m
 number of feature (space size)
 
std::vector< double * > x
 input patterns
 
std::vector< double > alpha
 alpha weights
 
std::vector< int > y
 train category {-1,+1}
 
double * w
 hyperplane vector [out]
 
double bias
 hyperplane bias [out]
 
double C
 C constant SVM.
 
double epsilon
 epsilon
 
double tol
 tollerance
 

Detailed Description

template<class Functor>
struct svm_train< Functor >

SVM trainer.


The documentation for this struct was generated from the following file: