While performing KNN based on regression Machine Learning algorithm we need to split up the data in train and test sets. So, when using k-fold cross-validation we do splitting before making the model as shown in the link below right?
https://app.dataquest.io/m/154/cross-validation/5/function-for-training-models
But, if we are using the SciKit learn to perform k-fold cv then don’t we explicitly need to use the method model.fit() and model.predict() from KNeighborsRegressor class?