Skip to content

genClusteredData: allow n_clusters = 0 (no latent/clustered features) #141

Description

@gregfaletto

checkGenClusteredDataInputsPre() requires n_clusters >= 1. Consider relaxing to allow n_clusters = 0 so one can generate data with no latent/clustered features (pure unclustered design).

Scope: require cluster_size >= 1 only when n_clusters >= 1; in makeCovarianceMatrix() require block_size >= 1 rather than >= 2; audit the other generators (genClusteredDataWeighted/Random) and their characterization snapshots for the n_clusters = 0 path.


Surfaced from an in-source TODO(gregfaletto) note in index.Rmd; filed and stripped as part of #96.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions