Skip to content

Commit

Permalink
impl: update function docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
miltondp committed Aug 12, 2024
1 parent b325188 commit b58268f
Showing 1 changed file with 2 additions and 4 deletions.
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

0 comments on commit b58268f

Please sign in to comment.