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

Method classify

JSAT/src/jsat/classifiers/linear/kernelized/OSKL.java:390–395  ·  view source on GitHub ↗
(DataPoint data)

Source from the content-addressed store, hash-verified

388 }
389
390 @Override
391 public CategoricalResults classify(DataPoint data)
392 {
393 Vec x = data.getNumericalValues();
394 return lossC.getClassification(score(x, k.getQueryInfo(x)));
395 }
396
397 @Override
398 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