| 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); |
nothing calls this directly
no outgoing calls
no test coverage detected