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

Function nu_smo_solve

src/thundersvm/kernel/smo_kernel.cpp:289–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287 }
288
289 void nu_smo_solve(const SyncArray<int> &y, SyncArray<float_type> &f_val, SyncArray<float_type> &alpha,
290 SyncArray<float_type> &alpha_diff,
291 const SyncArray<int> &working_set, float_type C, const SyncArray<kernel_type> &k_mat_rows,
292 const SyncArray<kernel_type> &k_mat_diag, int row_len, float_type eps,
293 SyncArray<float_type> &diff,
294 int max_iter) {
295 nu_smo_solve_kernel(y.host_data(), f_val.host_data(), alpha.host_data(), alpha_diff.host_data(),
296 working_set.host_data(), working_set.size(), C, k_mat_rows.host_data(),
297 k_mat_diag.host_data(), row_len, eps, diff.host_data(), max_iter);
298 }
299
300 void
301 update_f(SyncArray<float_type> &f, const SyncArray<float_type> &alpha_diff,

Callers 1

smo_kernelMethod · 0.85

Calls 3

nu_smo_solve_kernelFunction · 0.85
host_dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected