Closed k-jerbi closed 2 years ago
Yes, you can pass any kind cross-validation to the pipeline with the cross_validation argument. Stratified k-fold would look something like this:
cross_validation
from sklearn.model_selection import StratifiedKFold Pipeline(x, y, groups, cross_validation=StratifiedKFold(n_splits=10), ...)
Yes, you can pass any kind cross-validation to the pipeline with the
cross_validation
argument. Stratified k-fold would look something like this: