Is it possible to use GridSearchCV without cross validation? I am trying to optimize the number of clusters in KMeans clustering via grid search, and thus I don't need or want cross validation.
The documentation is also confusing me because under the fit() method, it has an option for unsupervised learning (says to use None for unsupervised learning). But if you want to do unsupervised learning, you need to do it without cross validation and there appears to be no option to get rid of cross validation.
forloop and then evaluating the silhouette metric through each iteration. Not sure if you saw this example but it should help you. :) - Scratch'N'Purrforloop. You can read about it in my blog post - Scratch'N'Purr