def save_all_datasets()

in code/preprocessing.py [0:0]


def save_all_datasets(X, y):
    """ Saves the entire dataset as input for model selection process in 
    the cross validation training pipeline.

    Args:
        X : numpy array represents the features
        y : numpy array represetns the target
    """
    os.makedirs(f'{base_dir}/train/all', exist_ok=True)
    np.savetxt(f'{base_dir}/train/all/train_x.csv', X, delimiter=',')
    np.savetxt(f'{base_dir}/train/all/train_y.csv', y, delimiter=',')