MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / call

Method call

JSAT/src/jsat/classifiers/svm/SVMnoBias.java:241–254  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239 future_Ea_changes.add(ex.submit(new Callable<Double>()
240 {
241 @Override
242 public Double call() throws Exception
243 {
244 double Ea_delta = 0;
245 int start = ParallelUtils.getStartBlock(N, ID, threads_to_use);
246 int end = ParallelUtils.getEndBlock(N, ID, threads_to_use);
247 for(int j = start; j < end; j++)
248 {
249 nabla_W[j] -= delta * label[i] * label[j] * kEval(i, j);
250 Ea_delta += weights.get(j)*C*min(max(0, nabla_W[j]), 2);
251 }
252
253 return Ea_delta;
254 }
255 }));
256 }
257 for(Future<Double> f : future_Ea_changes)

Callers

nothing calls this directly

Calls 9

getStartBlockMethod · 0.95
getEndBlockMethod · 0.95
kEvalMethod · 0.80
getCacheModeMethod · 0.80
kMethod · 0.65
getMethod · 0.45
minMethod · 0.45
maxMethod · 0.45
addAndGetMethod · 0.45

Tested by

no test coverage detected