GridSearchCV in KNN classifier
I’m a newbie currently working on my project in Data Science Intro. In my project, I was required to tune hyperparameters using GridSearchCV to find the best K value for the KNN model. However, an issue confused my peers and me regarding whether to use the entire dataset (X, y) or just the training subset (X_train, y_train) when performing that process.