11

Even if I don't define the scoring parameter, it scores and makes a decision for best estimator, but documentation says the default value for scoring is "None", so what is it using to score when I don't define a metric or list of metrics?

TwoPointNo
  • 111
  • 1
  • 3

1 Answers1

8

From the User Guide:

By default, parameter search uses the score function of the estimator to evaluate a parameter setting. These are the sklearn.metrics.accuracy_score for classification and sklearn.metrics.r2_score for regression...

Ben Reiniger
  • 12,855
  • 3
  • 20
  • 63