Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve gak #514

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Improve gak documentation in kernel.rst
  • Loading branch information
YannCabanes committed Apr 23, 2024
commit 4f33f768b07cc1bdda45c28ccb5f8c284a88161e
2 changes: 1 addition & 1 deletion docs/user_guide/kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Note that the function ``gak`` is normalized in ``tslearn``: it corresponds to t

\text{gak}(\mathbf{x}, \mathbf{y}) = \frac{k(\mathbf{x}, \mathbf{y})}{\sqrt{k(\mathbf{x}, \mathbf{x})k(\mathbf{y}, \mathbf{y})}}

to ensure that :math:`\text{gak}(\mathbf{x}, \mathbf{x})=1` for all :math:`\mathbf{x}`
This normalization ensures that :math:`\text{gak}(\mathbf{x}, \mathbf{x})=1` for all :math:`\mathbf{x}`
and :math:`\text{gak}(\mathbf{x}, \mathbf{y}) \in [0, 1]` for all :math:`\mathbf{x}, \mathbf{y}`.

It is advised in [1]_ to set the bandwidth :math:`\sigma` as a multiple of a
Expand Down
Loading