|
X-Boost
2.3.8
|
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 | |
SVM trainer.
1.8.7