biomedical_data_generator.meta.DatasetMeta

class biomedical_data_generator.meta.DatasetMeta(feature_names, informative_idx, noise_idx, corr_cluster_indices, anchor_idx, anchor_role, anchor_effect_size, anchor_class, cluster_label, n_classes, class_names, samples_per_class, class_sep, corr_between, batch_labels=None, batch_effects=None, batch_config=None, random_state=None, resolved_config=<factory>)[source]

Bases: object

Metadata 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, anchor_role, anchor_effect_size, anchor_class, cluster_label, n_classes, class_names, samples_per_class, class_sep, corr_between, batch_labels=None, batch_effects=None, batch_config=None, random_state=None, resolved_config=<factory>)
Parameters:
Return type:

None

Methods

__init__(feature_names, informative_idx, ...)

to_dict()

Convert to a plain dictionary (e.g., for JSON serialization).

Attributes

batch_config

batch_effects

batch_labels

random_state

feature_names

informative_idx

noise_idx

corr_cluster_indices

anchor_idx

anchor_role

anchor_effect_size

anchor_class

cluster_label

n_classes

class_names

samples_per_class

class_sep

corr_between

resolved_config

to_dict()[source]

Convert to a plain dictionary (e.g., for JSON serialization).

Return type:

dict[str, object]