MCPcopy Create free account
hub / github.com/christopherjenness/ML-lib / predict

Method predict

ML/prototypemethods.py:331–356  ·  view source on GitHub ↗

Note: currenly only works on single vector (one data instance) and not matrices Args: x (np.array): sample data of shape[n_features] Returns: predicted class of sample Raises: ValueError if model has not been fit

(self, x)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_LVQ_predictionFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_LVQ_predictionFunction · 0.76