plot gridsearch csv results how?

how can i plot my results from gridsearch csv?

clf = GridSearchCV(pipeline, parameters, cv=3,return_train_score=True)
clf.fit(x, y)
df = pd.DataFrame(clf.cv_results_)

i'm trying to get a similar plot to what is here: https://matthewbilyeu.com/blog/2019-02-05/validation-curve-plot-from-gridsearchcv-results , but this uses the grid search object and i have tried and failed at trying to get the same using just the gridsearch df (from above).

can anybody help in how i go about this?

Topic grid-search plotting cross-validation visualization python

Category Data Science


Pass your clf object to the function provided in the website. It should work.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.