1. Home
  2. Data Science
  3. Scikit-learn
  4. In scikit-learn, the fit() method of an estimator:

Added 30 Nov -0001

In scikit-learn, the fit() method of an estimator:

  1. generates predictions on new data points
  2. evaluates the model on the test data
  3. splits the data into training and test sets
  4. learns the model parameters from the training data Correct answer

Correct answer

D. learns the model parameters from the training data

11 views

MCQSEXAM

Explanation

fit() trains the estimator; predict() then produces outputs for new observations.

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