Skip to content

optuna_integration/optuna-search-cv-missing-groups

Pack Severity Fix Versions
Optuna Integration error none, edit by hand All versions

Group-aware splitters need a group label for each row. When OptunaSearchCV uses a group-aware splitter, pass those labels to fit(X, y, groups=groups). Alternatively, supply explicit folds computed with the groups.

OptunaSearchCV.fit omits the group labels its CV splitter needs. Pass groups= with the group of each row.

See all rules in the Optuna Integration pack.