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

[ENH] Implement Mahalanobis Distance #1225

Open
aadya940 opened this issue Feb 23, 2024 · 0 comments · May be fixed by #1351
Open

[ENH] Implement Mahalanobis Distance #1225

aadya940 opened this issue Feb 23, 2024 · 0 comments · May be fixed by #1351
Labels
distances Distances package enhancement New feature, improvement request or other non-bug code enhancement

Comments

@aadya940
Copy link
Contributor

Describe the feature or idea you want to propose

Mahalanobis Distance is the distance distance that takes Covariance into account. Mahalanobis distance is widely used in cluster analysis and classification techniques. It is also used for multivariate statistical testing and Fisher's Linear Discriminant Anlaysis that is used for supervised classification. You can take a look at the following wikipedia:

https://en.wikipedia.org/wiki/Mahalanobis_distance

Its applications in Time Series Analysis are described in the following papers:

https://sites.cs.ucsb.edu/~yfwang/papers/IEEE_cybernetics_2015.pdf
https://link.springer.com/chapter/10.1007/978-3-319-13731-5_57

I think it would be a good idea to include this in aeon.distances

Describe your proposed solution

Implement it using numpy and numba (which is fairly simple) or wrap scipy.spatial.distance.mahalanobis.

Describe alternatives you've considered, if relevant

No response

Additional context

No response

@aadya940 aadya940 added the enhancement New feature, improvement request or other non-bug code enhancement label Feb 23, 2024
@MatthewMiddlehurst MatthewMiddlehurst added the distances Distances package label Feb 23, 2024
@krstopro krstopro linked a pull request Mar 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distances Distances package enhancement New feature, improvement request or other non-bug code enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants