svm_model Struct Reference

List of all members.


Detailed Description

svm_model

Definition at line 104 of file SVM_libsvm.h.


Public Attributes

svm_parameter param
int nr_class
int l
svm_node ** SV
double ** sv_coef
double * rho
int * label
int * nSV
int free_sv
double objective

Member Data Documentation

parameter

Definition at line 107 of file SVM_libsvm.h.

number of classes, = 2 in regression/one class svm

Definition at line 109 of file SVM_libsvm.h.

total SV

Definition at line 111 of file SVM_libsvm.h.

SVs (SV[l])

Definition at line 113 of file SVM_libsvm.h.

coefficients for SVs in decision functions (sv_coef[n-1][l])

Definition at line 115 of file SVM_libsvm.h.

double* svm_model::rho

constants in decision functions (rho[n*(n-1)/2])

Definition at line 117 of file SVM_libsvm.h.

label of each class (label[n])

Definition at line 122 of file SVM_libsvm.h.

number of SVs for each class (nSV[n]) nSV[0] + nSV[1] + ... + nSV[n-1] = l

Definition at line 126 of file SVM_libsvm.h.

1 if svm_model is created by svm_load_model 0 if svm_model is created by svm_train

Definition at line 131 of file SVM_libsvm.h.

objective

Definition at line 133 of file SVM_libsvm.h.


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

SHOGUN Machine Learning Toolbox - Documentation