Public Member Functions |
void | SetBalance (int bal) |
void | SetSVMType (int type) |
void | SetTradeoff (double tradeoff) |
void | SetKernel (int K) |
void | SetPolyD (int D) |
void | SetRBFGamma (double g) |
void | SetNu (double nu) |
void | ReadModel (char *model_file) |
void | FreeModel () |
void | WriteModel (char *model_file) |
vector< Result > | Classify (Sleipnir::CPCL &PCL, vector< SVMLabel > SVMLabels) |
void | Learn (SAMPLE &sample) |
bool | parms_check () |
bool | initialize () |
Static Public Member Functions |
static void | SetXSpace (Sleipnir::CPCL &PCL) |
static SAMPLE * | CreateSample (Sleipnir::CPCL &PCL, vector< SVMLabel > SVMLabels) |
static SAMPLE * | CreateSample (Sleipnir::CDat &CDat, vector< SVMLabel > SMVLabels) |
static void | PrintSample (SAMPLE s) |
static void | PrintProblem (svm_problem *prob) |
static void | PrintNode (svm_node node) |
Data Fields |
struct svm_model * | model |
struct svm_parameter | parm |
int | balance |
Static Public Attributes |
static struct svm_node * | x_space |
Detailed Description
Definition at line 128 of file libsvm.h.
The documentation for this class was generated from the following file: