tslearn-team / tslearn-team/tslearn

Can we use GPU and PySpark to improve on clustering time for TimeSeriesKMeans.

Open
#414 3 comments 2 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

Dear Dev Team,

@ecederstrand @rth @rflamary @apachaves @felixdivo

Can we use GPU and PySpark to improve on clustering time for TimeSeriesKMeans. I currently tried using n_jobs for parallel processing in Databricks but the time taken for clustering is same for 8 CPU and 32CPU machine. It clearly doesn't help.

Can you please suggest what can be the best approach to reduce the time matrix.

Thanks,
Ishwar Sukheja

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 names TimeSeriesKMeans, n_jobs, Databricks, GPU and PySpark, but no repository file or test. Start by locating the TimeSeriesKMeans implementation and examining how n_jobs is handled, then profile clustering before evaluating a GPU or PySpark approach. Done would require a clearly reproducible performance improvement and documented usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, spark
Domain
machine-learning, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.