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

Method locallinearregression

ML/kernelmethods.py:87–113  ·  view source on GitHub ↗

Local linear regression eliminates bias at boundries of domain. It uses weighted least squares, determining weights from the kernel. Args: x (np.array): Training data of shape[1, n_features] note: currently only single samples can be pre

(self, x, kernel, gamma)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by 1