cv : int, cross-validation generator or Iterable, optional (default=None)
Determines the cross-validation splitting strategy. One of:
- ``None``, to use the default 5-fold cross-validation,
- ``int``, to specify the number of folds.
- ``Iterable`` yielding (train, test) splits as arrays of indices.
For integer/``None`` inputs, :class:`KFold` is used
It appears that it is not possible to feed custom folds into the GeneralizedLinearRegressorCV? Am I reading this correctly or am I misunderstanding?
Hi @seanlewis08! You can feed custom folds by implementing them as an iterable in accordance with scikit-learn's splitter API. You might find PredefinedSplit particularly helpful.
It appears that it is not possible to feed custom folds into the GeneralizedLinearRegressorCV? Am I reading this correctly or am I misunderstanding?