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

Method nadarayaaverage

ML/kernelmethods.py:64–85  ·  view source on GitHub ↗

Regression estimate of the target value by weighted averaging of nearby training examples Args: x (np.array): Training data of shape[n_features,] kernel (function): {epanechinokovkernel, tricubekernel} kernel used to weight training e

(self, x, kernel, gamma)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_nadarayaaverageFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_nadarayaaverageFunction · 0.76