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

Method SVC_Q

ml/src/svm.cpp:1447–1456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1445
1446public:
1447 SVC_Q(const svm_problem& prob, const svm_parameter& param, const schar* y_)
1448 : Kernel(prob.l, prob.x, param)
1449 {
1450 clone(y, y_, prob.l);
1451 cache = new Cache(prob.l, static_cast<long int>(param.cache_size * (1 << 20)));
1452 QD = new double[prob.l];
1453
1454 for (int i = 0; i < prob.l; i++)
1455 QD[i] = (this->*kernel_function)(i, i);
1456 }
1457
1458 Qfloat*
1459 get_Q(int i, int len) const override

Callers

nothing calls this directly

Calls 1

cloneFunction · 0.85

Tested by

no test coverage detected