MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / svm_check_probability_model

Function svm_check_probability_model

ml/src/svm.cpp:3565–3572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3563}
3564
3565int
3566svm_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
3574void
3575svm_set_print_string_function(void (*print_func)(const char*))

Callers 2

classificationTestMethod · 0.85
classificationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected