| 3563 | } |
| 3564 | |
| 3565 | int |
| 3566 | svm_check_probability_model(const svm_model* model) |
| 3567 | { |
| 3568 | return ((model->param.svm_type == C_SVC || model->param.svm_type == NU_SVC) && |
| 3569 | model->probA != nullptr && model->probB != nullptr) || |
| 3570 | ((model->param.svm_type == EPSILON_SVR || model->param.svm_type == NU_SVR) && |
| 3571 | model->probA != nullptr); |
| 3572 | } |
| 3573 | |
| 3574 | void |
| 3575 | svm_set_print_string_function(void (*print_func)(const char*)) |
no outgoing calls
no test coverage detected