tslearn-team / tslearn-team/tslearn

SBD distance function

Open
#276 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue metrics new feature
Dominant language
Python
Stars
3.2k
Forks
384
Avg merge
3d 12h
Merged PRs (30d)
11

Description

Hi,

I was wondering if the SBD distance function (used in KShape) can be easily accessed?

For instance, in spite of the existence of cdist_dtw or k-mean clustering (with dtw metric) in tslearn package, the DTW distance itself function is available.

I was wondering if the same thing can be applied for the KShape method and its distance (SBD) can be easily used? I understand that DTW is more popular, but having access to new tools such as SBD function can help researchers on the application side to better investigate new methods for their own problems.

Best,
Nima

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue requests public access to the SBD distance used by KShape, analogous to cdist_dtw. Start by locating the KShape implementation and its SBD calculation, then inspect how cdist_dtw is exposed. Done means users can call SBD directly through a documented public interface.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.