MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / predict

Method predict

python/thundersvm/thundersvm.py:286–289  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

284 return X
285
286 def predict(self, X):
287 X = self._validate_for_predict(X)
288 predict = self._sparse_predict if self._sparse else self._dense_predict
289 return predict(X)
290
291 def predict_proba(self, X):
292 n_classes = (c_int * 1)()

Callers

nothing calls this directly

Calls 1

_validate_for_predictMethod · 0.95

Tested by

no test coverage detected