Jan 10, 2022
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.