Here we make a pipeline, run cross validation and get the score.
In this process, where exactly are we actually “fitting” the data?
Why aren’t we doing that step explicitly(with model.fit)?
The cross-validation is doing the fit + scoring for you on the different folds.
This function allows making a full evaluation given a model and some data.
1 Like