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

Method dist

JSAT/src/jsat/distributions/kernels/KernelPoint.java:341–344  ·  view source on GitHub ↗

Computes the Euclidean distance between this kernel point and the given input in the kernel space @param x the input vector to work with @return the Euclidean distance between this point and x in the kernel space

(Vec x)

Source from the content-addressed store, hash-verified

339 * kernel space
340 */
341 public double dist(Vec x)
342 {
343 return dist(x, k.getQueryInfo(x));
344 }
345
346 /**
347 * Computes the Euclidean distance between this kernel point and the given

Callers 2

testDistance_VecMethod · 0.95

Calls 5

getSqrdNormMethod · 0.95
dotMethod · 0.95
getQueryInfoMethod · 0.65
evalMethod · 0.65
maxMethod · 0.45

Tested by 2

testDistance_VecMethod · 0.76