MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / get_pro

Function get_pro

src/thundersvm/thundersvm-scikit.cpp:357–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 }
356
357 void get_pro(SvmModel *model, float* prob){
358 vector<float> prob_predict;
359 prob_predict = model->get_prob_predict();
360 for(int i = 0; i < prob_predict.size(); i++){
361 prob[i] = prob_predict[i];
362 }
363 }
364
365 void get_n_binary_models(SvmModel *model, int *n_model){
366 n_model[0] = model->get_n_binary_models();

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected