MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / __call__

Method __call__

numpy_ml/utils/kernels.py:17–19  ·  view source on GitHub ↗

Refer to documentation for the `_kernel` method

(self, X, Y=None)

Source from the content-addressed store, hash-verified

15 raise NotImplementedError
16
17 def __call__(self, X, Y=None):
18 """Refer to documentation for the `_kernel` method"""
19 return self._kernel(X, Y)
20
21 def __str__(self):
22 P, H = self.parameters, self.hyperparameters

Callers

nothing calls this directly

Calls 1

_kernelMethod · 0.95

Tested by

no test coverage detected