Sleipnir
Data Structures | Public Member Functions | Static Public Member Functions | Data Fields
SVMArc::CSVMSTRUCTTREE Class Reference
Inheritance diagram for SVMArc::CSVMSTRUCTTREE:
SVMArc::CSVMSTRUCTBASE

Data Structures

struct  SortResults

Public Member Functions

void SetLossFunction (size_t loss_f)
void SetTradeoff (double tradeoff)
void SetLearningAlgorithm (int alg)
void SetEpsilon (float eps)
void UseSlackRescaling ()
void UseMarginRescaling ()
void SetNThreads (int n)
void ReadModel (char *model_file)
void WriteModel (char *model_file)
void WriteWeights (ostream &osm)
void FreeModel ()
void SetVerbosity (size_t V)
void ReadOntology (const char *treefile)
vector< SVMLabelReadLabels (ifstream &ifsm)
void vecsetZero (ONTONODE *node, vector< char > *ybar0, char zero)
void preprocessLabel (vector< char > *multilabels)
void InitializeLikAfterReadLabels ()
SAMPLE * CreateSample (Sleipnir::CPCL &PCL, vector< SVMLabel > SVMLabels)
vector< ResultClassify (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
map< string, int > onto_map
map< int, string > onto_map_rev
int Alg

Detailed Description

Definition at line 67 of file svmstructtree.h.


The documentation for this class was generated from the following files: