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

Method classify

JSAT/src/jsat/classifiers/linear/kernelized/BOGD.java:368–373  ·  view source on GitHub ↗
(DataPoint data)

Source from the content-addressed store, hash-verified

366 }
367
368 @Override
369 public CategoricalResults classify(DataPoint data)
370 {
371 Vec x = data.getNumericalValues();
372 return lossC.getClassification(score(x, k.getQueryInfo(x)));
373 }
374
375 @Override
376 public boolean supportsWeightedData()

Callers 1

testCloneMethod · 0.95

Calls 4

scoreMethod · 0.95
getNumericalValuesMethod · 0.80
getClassificationMethod · 0.65
getQueryInfoMethod · 0.65

Tested by 1

testCloneMethod · 0.76