tslearn-team / tslearn-team/tslearn

Custom metric on clustering

Open
#380 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is your feature request related to a problem? Please describe.
I want to do some research by trying various custom metric on time series clustering. I already digging the docs and issues but can't find any tutorial on how to do that. This answer is partly answer the question.

Describe the solution you'd like
Maybe TimeSeriesKMeans could accept custom metric_type=custom and metric=funct? If it's already supported, how to do that?

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

Start with the TimeSeriesKMeans API documentation and the answer in issue #180, then trace how metric_type and metric are currently handled. Determine whether custom metrics are already supported or what API behavior is needed, and define the expected behavior in tests and documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.