1. Home
  2. Data Science
  3. Scikit-learn
  4. What does cross_val_score return by default?

Added 30 Nov -0001

What does cross_val_score return by default?

  1. The mean score only
  2. The fitted estimators
  3. A confusion matrix per fold
  4. One score for each fold Correct answer

Correct answer

D. One score for each fold

15 views

MCQSEXAM

Explanation

With default settings cross_val_score returns an array holding the score obtained in each fold.

Reference

Asked in: NTS, PPSC IT, Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? 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