| 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); |
| 39 | } |
| 40 | |
| 41 | void sparse_model_scikit(int row_size, float* val, int* row_ptr, int* col_ptr, float* label, |
| 42 | int svm_type, int kernel_type, int degree, float gamma, float coef0, |