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

Method kerneldensityestimate

ML/kernelmethods.py:203–225  ·  view source on GitHub ↗

Provides a gaussian kernel density at point given a sample. If the KDE of the entire sample space is required, this method can easily be augmented. Args: x (np.array): Test data of shape [n_features] gamma: gaussian width from which to sample

(self, x, gamma)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

kerneldensitypredictMethod · 0.95

Calls

no outgoing calls

Tested by 1