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

Method fit

ML/kernelmethods.py:28–40  ·  view source on GitHub ↗

For Kernel Methods, data is stored in memory and fitting is done at prediction time. Args: X (np.ndarray): Training data of shape[n_samples, n_features] y (np.ndarray): Target values of shape[n_samples, 1]

(self, X, y)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

test_kernelmethods_fitFunction · 0.95
test_nadarayaaverageFunction · 0.95

Calls

no outgoing calls

Tested by 5

test_kernelmethods_fitFunction · 0.76
test_nadarayaaverageFunction · 0.76