Scoring in Hyperparameter tuning fails because of variables with inconsistent number of samples I’m doing a hyperparameter tuning using sklearn’s GridSearchCV.