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

EAC doesn't support n_clusters=2 #18

Open
originalnicodr opened this issue May 22, 2024 · 0 comments
Open

EAC doesn't support n_clusters=2 #18

originalnicodr opened this issue May 22, 2024 · 0 comments

Comments

@originalnicodr
Copy link

Hey there! When trying to use the Evidence Accumulation Clustering class I get an error stating that the number of clusters passed to the class is not supported, and it only supports values within (2, 2147483647) (notice the usage of parenthesis instead of brackets).

It seems that the error comes from doing check_parameter(n_clusters, low=2, param_name='n_clusters') on here. The thing is, by default, check_parameter doesn't include the limits passed as parameters, as seen in its documentation. So to get this working we should instead pass include_left=True or low=1.

Is this project still being maintained? If so I would be more than happy to create a PR for this if you need me to, but figured I would ask first.

Thank you so much for working on the project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant