MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / model_free

Function model_free

src/thundersvm/thundersvm-scikit.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 }
30
31 void model_free(SvmModel* model){
32 if(model){
33 delete model;
34 }
35 }
36
37 void init_model_param(char* kernel_type, int* degree, float* gamma, float* coef0, int* probability, SvmModel* model){
38 model->get_param(kernel_type, degree, gamma, coef0, probability);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected