--

For each param combination on the grid,

- it will train a 5 fold cross validated model

- the best_score is calculated for each cv run (i.e average of each 5 fold cv)

- estimator with best param combination which produces best_score will be chosen

Anyhow the model might overfit when your dataset is heavily imbalanced, it is better to check it.

--

--

Mathanraj Sharma
Mathanraj Sharma

Written by Mathanraj Sharma

Machine Learning Engineer at H2O.ai | Maker | Developer | Dev Blogger | Like my stories? Buy me a ☕ https://ko-fi.com/mathanraj_sharma

No responses yet