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

Distance metric as a (hyper-)parameter #619

Closed
alexgcsa opened this issue Jul 31, 2020 · 4 comments
Closed

Distance metric as a (hyper-)parameter #619

alexgcsa opened this issue Jul 31, 2020 · 4 comments
Assignees
Labels
Enhancement Tasks related to enhancement and development Proposal Tasks that have been proposed by users

Comments

@alexgcsa
Copy link

Hi,

I have been using X-Means here...Is it possible to use the distance metric as a parameter of the algorithm?

If not, this would be a nice parameter to have. Depending on data, the Euclidean distance is not appropriate. Looking at the code of X-Means, it seems to use only the Euclidean distance, not being possible to directly use the others, such as Chebyshev, Canberra, Gower or Minkowski.

Thanks in advance.

Alex de Sá

@alexgcsa alexgcsa changed the title Distance metrics as a parameter Distance metrics as a (hyper-)parameter Jul 31, 2020
@alexgcsa alexgcsa changed the title Distance metrics as a (hyper-)parameter Distance metric as a (hyper-)parameter Jul 31, 2020
@annoviko annoviko added the Proposal Tasks that have been proposed by users label Aug 16, 2020
@annoviko
Copy link
Owner

Hi @alexgcsa ,

I have to check the current implementation and an article before I will introduce it just to be sure that there is no any contradictions.

@annoviko annoviko self-assigned this Aug 17, 2020
@alexgcsa
Copy link
Author

Thank you, @annoviko.

@annoviko annoviko added the Enhancement Tasks related to enhancement and development label Aug 18, 2020
annoviko added a commit that referenced this issue Aug 21, 2020
…ons for numpy metrics: Minkowski, Euclidean, Gower.
annoviko added a commit that referenced this issue Aug 21, 2020
@annoviko
Copy link
Owner

Changes are available on 0.10.dev branch (in case of using sources from github you have to build C++ library by yourself - https://github.com/annoviko/pyclustering/wiki/Cpp-PyClustering) and will be available in the next release 0.10.1.

@alexgcsa
Copy link
Author

Thank you again, @annoviko. I am going to try to use it this weekend.

Cheers,

Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Tasks related to enhancement and development Proposal Tasks that have been proposed by users
Projects
None yet
Development

No branches or pull requests

2 participants