Zurück zu den Modellen
Transformer (Pairwise Panel)

GAKernel

Global Alignment Kernel, from tslearn.

Direct interface to tslearn.metrics.cdist_gak.

Implements the fast GAK from [1].

Schnellstart

python
from sktime.dists_kernels.gak import GAKernel

estimator = GAKernel(sigma=1.0, n_jobs=None, verbose=0)

Tags

Eigenschaften

Paarweiser Typpwtrafo_type
kernel
Symmetrischsymmetric
Ja

Parameter(3)

sigmafloat, default 1.
Bandwidth of the internal gaussian kernel used for GAK
n_jobsint or None, optional, default=None

The number of jobs to run in parallel. None means 1 unless in a joblib.parallel_backend context. -1 means using all processors. See scikit-learns’ Glossary for more details.

verboseint, optional, default=0
The verbosity level: if non zero, progress messages are printed. Above 50, the output is sent to stdout. The frequency of the messages increases with the verbosity level. If it more than 10, all iterations are reported.

Referenzen

[1]
  1. Cuturi, “Fast global alignment kernels,” ICML 2011.