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

Editorial revision #36

Merged
merged 3 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions libs/ccc/coef/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,8 @@ def get_parts(
) -> NDArray[np.int16]:
"""
Given a 1d data array, it computes a partition for each k value in the given
range of clusters. This function only supports numerical data, and it
always runs run_run_quantile_clustering with the different k values.
If partitions with only one cluster are returned (singletons), then the
returned array will have negative values.
range of clusters. If partitions with only one cluster are returned (singletons),
then the returned array will have negative values.

Args:
data: a 1d data vector. It is assumed that there are no nans.
Expand Down
Loading