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

Relax number of points required wrt regression spec #244

Merged
merged 4 commits into from
Mar 6, 2025
Merged

Conversation

relf
Copy link
Owner

@relf relf commented Mar 5, 2025

Number of points in clusters is now checked wrt regression spec. See check_number_of_points()

This PR refactors the type to specify clustering specification: either defined by the user or automatically computed. See NbClusters type. Now when determined automatically a max number of clusters can be specified to shorten execution time.
Python binding: The n_clusters argument can take negative values -n to specify that the number of clusters tested is in [1, n].

This PR relates to #243

@relf relf marked this pull request as ready for review March 6, 2025 10:35
@relf relf merged commit df91c07 into master Mar 6, 2025
14 checks passed
@relf relf deleted the nb-clusters branch March 6, 2025 10:35
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

Successfully merging this pull request may close these issues.

1 participant