Back to models
Transformer (Pairwise Panel)

KernelFromDist

Kernel function obtained from a distance function.

Quickstart

python
from sktime.dists_kernels.dist_to_kern import KernelFromDist

estimator = KernelFromDist(dist, dist_diag=None)

Parameters(2)

distpairwise transformer of BasePairwiseTransformer scitype, or
callable np.ndarray (n_samples, nd) x (n_samples, nd) -> (n_samples x n_samples)
dist_diagpairwise transformer of BasePairwiseTransformer scitype, or
series-to-panel transformer of Basetransformer scitype, or callable np.ndarray (n_samples, nd) -> (n_samples,)