110653: Unable to create valid groups for k-fold cross-validation after 30 attempts.

Description

To properly train each training fold, the training data must be correctly specified. For example, all categorical levels must be represented in each training subset for any categorical variables whether dependent or explanatory.

Solution

Change the number of groups or include more samples for each category to ensure representation across folds.