biomedical_data_generator.DatasetMeta
- class biomedical_data_generator.DatasetMeta(feature_names, informative_idx, noise_idx, corr_cluster_indices, anchor_idx, standalone_informative_groups, standalone_noise_range, mean_per_class_effect, covariance_per_class_correlation, baseline_correlation, cluster_label, cluster_structure, cluster_proxy_attenuation, n_classes, class_names, samples_per_class, class_sep, batch=None, random_state=None, resolved_config=<factory>)[source]
Bases:
objectMetadata about the generated dataset.
This captures the resolved ground-truth structure of the dataset (feature roles, cluster layout, anchor properties) plus a snapshot of the generator configuration.
- Parameters:
- __init__(feature_names, informative_idx, noise_idx, corr_cluster_indices, anchor_idx, standalone_informative_groups, standalone_noise_range, mean_per_class_effect, covariance_per_class_correlation, baseline_correlation, cluster_label, cluster_structure, cluster_proxy_attenuation, n_classes, class_names, samples_per_class, class_sep, batch=None, random_state=None, resolved_config=<factory>)
Methods
__init__(feature_names, informative_idx, ...)to_dict()Convert to a plain dictionary (e.g., for JSON serialization).
Attributes
batchPer-batch effect summary, or None if no batch effects were applied.
Per-sample batch assignments, or None if no batch effects were applied.
random_statefeature_namesinformative_idxnoise_idxcorr_cluster_indicesanchor_idxstandalone_informative_groupsstandalone_noise_rangemean_per_class_effectcovariance_per_class_correlationbaseline_correlationcluster_labelcluster_structurecluster_proxy_attenuationn_classesclass_namessamples_per_classclass_sepresolved_config- property batch_effects: ndarray | None
Per-batch effect summary, or None if no batch effects were applied.
Backward-compatibility accessor delegating to
batch.