experiments.experiment_utils.prep_feat_labels_for_baseline¶
- prep_feat_labels_for_baseline(spec, results_dir, trial_i, data_frac, datagen_method, verbose)¶
Utility function for preparing features and labels for a given baseline trial.
- Parameters:
spec – A seldonian.spec.Spec object.
results_dir (str) – The directory in which results are saved for this trial
trial_i (int) – Trial index
data_frac (float) – data fraction
datagen_method – Method for generating the trial datasets.