| 214 | } |
| 215 | |
| 216 | void |
| 217 | CSMOSolver::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 | |
| 227 | float_type CSMOSolver::calculate_obj(const SyncArray<float_type> &f_val, const SyncArray<float_type> &alpha, |
| 228 | const SyncArray<int> &y) const { |
nothing calls this directly
no test coverage detected