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

Method smo_kernel

src/thundersvm/solver/csmosolver.cpp:216–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void
217CSMOSolver::smo_kernel(const SyncArray<int> &y, SyncArray<float_type> &f_val, SyncArray<float_type> &alpha,
218 SyncArray<float_type> &alpha_diff,
219 const SyncArray<int> &working_set, float_type Cp, float_type Cn,
220 const SyncArray<kernel_type> &k_mat_rows,
221 const SyncArray<kernel_type> &k_mat_diag, int row_len, float_type eps,
222 SyncArray<float_type> &diff,
223 int max_iter) const {
224 c_smo_solve(y, f_val, alpha, alpha_diff, working_set, Cp, Cn, k_mat_rows, k_mat_diag, row_len, eps, diff, max_iter);
225}
226
227float_type CSMOSolver::calculate_obj(const SyncArray<float_type> &f_val, const SyncArray<float_type> &alpha,
228 const SyncArray<int> &y) const {

Callers

nothing calls this directly

Calls 1

c_smo_solveFunction · 0.85

Tested by

no test coverage detected