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

Method smo_kernel

src/thundersvm/solver/nusmosolver.cpp:128–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void NuSMOSolver::smo_kernel(const SyncArray<int> &y, SyncArray<float_type> &f_val, SyncArray<float_type> &alpha,
129 SyncArray<float_type> &alpha_diff, const SyncArray<int> &working_set, float_type Cp,
130 float_type Cn,
131 const SyncArray<kernel_type> &k_mat_rows, const SyncArray<kernel_type> &k_mat_diag,
132 int row_len, float_type eps,
133 SyncArray<float_type> &diff, int max_iter) const {
134 //Cn is not used but for compatibility with c-svc
135 nu_smo_solve(y, f_val, alpha, alpha_diff, working_set, Cp, k_mat_rows, k_mat_diag, row_len, eps, diff, max_iter);
136}

Callers

nothing calls this directly

Calls 1

nu_smo_solveFunction · 0.85

Tested by

no test coverage detected