Skip to content

[ENH] Port MSM (Move-Split-Merge) Centroids/Averages to Aeon #3191

@Adityakushwaha2006

Description

@Adityakushwaha2006

Describe the feature or idea you want to propose

I am opening this issue to track a feature request suggested by @TonyBagnall on Discord.

He proposed porting the MSM Mean (barycenter) implementation into aeon to expand our clustering capabilities. Currently, we support the MSM metric, but without a centroid/mean function, it cannot be effectively used in centroid-based clustering algorithms like K-Means.

Describe your proposed solution

I plan to execute this port based on the reference implementation Tony provided: JanaHolznigenkemper/msm_mean.

My implementation plan is:

Adapt the Logic: Port the core barycenter algorithm to fit aeon's clustering.averaging module structure.

Optimize: Ensure the iterative update steps utilize numba to meet aeon's performance standards.

Validate: Add tests to ensure the calculated mean is correct and consistent with the original implementation.

Describe alternatives you've considered, if relevant

No response

Additional context

Happy to have others on board and collaborate on this feature additon : )
Please ping me in the comments if any contributor wants to pitch in.

Metadata

Metadata

Assignees

Labels

enhancementNew feature, improvement request or other non-bug code enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions