clusizes¶
Determine cluster sizes, i.e., the number of points in each cluster, using the
normal distribution (μ=num_points/num_clusters, σ=μ/3), and then assuring
that the final cluster sizes add up to num_points via the
fix_num_points() function.
Arguments¶
num_clusters: Number of clusters.num_points: Total number of points.allow_empty: Allow empty clusters?
Return values¶
clu_num_points: Number of points in each cluster (num_clustersx 1 vector).
Note¶
This function is stochastic. For reproducibility set the PRNG seed with
cluseed() as discussed in the Reference.