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

Method getPreScore

JSAT/src/jsat/classifiers/linear/kernelized/CSKLR.java:386–389  ·  view source on GitHub ↗

Computes the margin score for the given data point @param x the input vector @return the margin score

(Vec x)

Source from the content-addressed store, hash-verified

384 * @return the margin score
385 */
386 private double getPreScore(Vec x)
387 {
388 return k.evalSum(vecs, accelCache, alpha.getBackingArray(), x, 0, alpha.size());
389 }
390
391 /**
392 * Returns the binary logistic regression score

Callers 2

updateMethod · 0.95
classifyMethod · 0.95

Calls 3

getBackingArrayMethod · 0.80
evalSumMethod · 0.65
sizeMethod · 0.65

Tested by

no test coverage detected