This design can help guide how to create all other dependent codes, e.g.,
data = get_dataset("dataset_name")
model = class_imbalance_learner(train = dataset.train, val = dataset.val, approach = 1) //we can try various approaches
metrics = model.evaluate(dataset.test) // evaluate for both fairness and class imbalance
With this we can loop over several datasets and approaches.
random seeds, class imbalance ratios (if we simulate), dataset should have private attributes and the column/key (for both private attributes and main class) has to be mentioned for evaluation.
This design can help guide how to create all other dependent codes, e.g.,
data = get_dataset("dataset_name") model = class_imbalance_learner(train = dataset.train, val = dataset.val, approach = 1) //we can try various approaches metrics = model.evaluate(dataset.test) // evaluate for both fairness and class imbalance
With this we can loop over several datasets and approaches.