-
Notifications
You must be signed in to change notification settings - Fork 26
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
Implementation for custom distances? #10
Comments
Currently it is not possible. It could be done, at least for the naive algorithm, propagating the distance function until the point where You have several options:
|
Thank you very much for your quick answer! I saw the Thanks also for the indication on how to implement it, I'll see if I can find time and if so will submit a PR. |
Before performing any work, I advise you to research if that is a sound procedure, that is, if the good properties of distance correlation are conserved if the distance is not Euclidean. I am not aware if that is the case, and I would prefer not to offer any option that can mislead the users of the package. |
Hi, very nice package!
Is it possible to use it with a distance correlation coming from a custom notion of distance between Xi/Xj or Yi/Yj (i.e. not necessarily an exponent of the Euclidean distance?). If not, would you know of an implementation available to do so?
Thank you!
The text was updated successfully, but these errors were encountered: