Sleipnir
|
Data Structures | |
struct | SortResults |
Public Member Functions | |
void | SetLossFunction (size_t loss_f) |
void | SetTradeoff (double tradeoff) |
void | SetLearningAlgorithm (int alg) |
void | SetKernel (int K) |
void | SetPolyD (int D) |
void | UseSlackRescaling () |
void | UseMarginRescaling () |
void | ReadModel (char *model_file) |
void | WriteModel (char *model_file) |
void | WriteWeights (ostream &osm) |
void | FreeModel () |
void | SetVerbosity (size_t V) |
vector< SVMLabel > | ReadLabels (ifstream &ifsm) |
SAMPLE * | CreateSample (Sleipnir::CPCL &PCL, vector< SVMLabel > SVMLabels) |
vector< Result > | Classify (Sleipnir::CPCL &PCL, vector< SVMLabel > SVMLabels) |
void | Learn (SAMPLE &sample) |
size_t | PrintResults (vector< Result > vecResults, ofstream &ofsm) |
bool | parms_check () |
bool | initialize () |
STRUCTMODEL | read_struct_model_w_linear (char *file, STRUCT_LEARN_PARM *sparm) |
Static Public Member Functions | |
static void | FreePattern (pattern x) |
static void | FreeLabel (label y) |
static void | FreeSample (sample s) |
static void | FreeDoc (DOC *pDoc) |
static DOC * | CreateDoc (Sleipnir::CPCL &PCL, size_t iGene, size_t iDoc) |
static void | FreeSample_leave_Doc (SAMPLE s) |
Data Fields | |
LEARN_PARM | learn_parm |
KERNEL_PARM | kernel_parm |
STRUCT_LEARN_PARM | struct_parm |
STRUCTMODEL | structmodel |
int | Alg |
Definition at line 207 of file svmstruct.h.