apply_cross_validation#

mlquantify.utils.apply_cross_validation(model, X: ndarray, y: ndarray, cv=5, function='predict_proba', stratified=True, random_state=None, shuffle=True)[source]#

Perform cross-validation and return predictions with true labels for each fold.