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

Function svm_get_labels

ml/src/svm.cpp:2824–2830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2822}
2823
2824void
2825svm_get_labels(const svm_model* model, int* label)
2826{
2827 if (model->label != nullptr)
2828 for (int i = 0; i < model->nr_class; i++)
2829 label[i] = model->label[i];
2830}
2831
2832double
2833svm_get_svr_probability(const svm_model* model)

Callers 2

getLabelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected