A scikit-learn Pipeline is useful because it:
-
A
plots learning curves after the training run completes
-
B
chains preprocessing steps and a final estimator as one object
Correct answer
-
C
automatically tunes every hyperparameter in the search space
-
D
stores the dataset in memory for repeated reuse later
Correct answer
B. chains preprocessing steps and a final estimator as one object
11 views
Explanation
A Pipeline applies each transformer in sequence before the estimator, preventing data leakage during cross-validation.
Reference
Asked in: NTS, PPSC IT, Interviews
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ