1. Home
  2. Data Science
  3. Scikit-learn
  4. With refit=True, what does GridSearchCV do after…

Added 30 Nov -0001

With refit=True, what does GridSearchCV do after evaluating every candidate?

  1. Recomputes the metric on the grid mean
  2. Refits the best estimator on all data Correct answer
  3. Repeats the search over a wider grid
  4. Keeps every fold model for later use

Correct answer

B. Refits the best estimator on all data

14 views

MCQSEXAM

Explanation

refit=True retrains the winning configuration on the full dataset and exposes it as best_estimator_.

Reference

Asked in: NTS, PPSC IT, Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Scikit-learn MCQs

Practise all Scikit-learn MCQs

Similar MCQs