sklearn.model_selection.check_cv(cv=3, y=None, classifier=False) [source]
Input checker utility for building a cross-validator Parameters:
cv : int, cross-validation generator or an iterable, optional Determines the cross-validation splitting strategy. Possible inputs for cv are: None, to use the default 3-fold cross-validation, integer, to specify the number of folds. An object to be used as a cross-validation generator. An iterable yielding train/test splits. For integer/None inputs, i