Compute cluster sizes from all samples in a boolean dataset.
Individually for each sample, in the input dataset, clusters of non-zero values will be determined after reverse-applying any transformation of the dataset’s mapper (if any).
Parameters : | ds : dataset or array
cluster_counter : list or None
|
---|---|
Returns : | list :
|