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

Function is_free

include/thundersvm/kernel/smo_kernel.h:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 }
20
21 __host__ __device__ inline bool is_free(float_type a, float_type y, float_type Cp, float_type Cn) {
22 return a > 0 && (y > 0 ? a < Cp : a < Cn);
23 }
24
25 void
26 c_smo_solve(const SyncArray<int> &y, SyncArray<float_type> &f_val, SyncArray<float_type> &alpha,

Callers 1

calculate_rhoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected