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

Method kerneldensitypredict

ML/kernelmethods.py:227–252  ·  view source on GitHub ↗

Kernel density calssification prediction based on KDE of each class x (np.array): Test data of shape [n_features] gamma: gaussian width from which to sample in KDE Returns: float: Returns predicted class of test data x Raises: ValueError if mod

(self, x, gamma)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

kerneldensityestimateMethod · 0.95

Tested by 1