Data Tools · Module 4Module material
The scikit-learn API interview questions
9 questions interviewers ask on this module’s topics, from first principles to the follow-ups. Each comes with a model answer.
- What are the roles of
Xandy? - What do
fit,predictandscoredo? - Why start with a dummy estimator?
- What is learned during
StandardScaler.fit? - How is a hyperparameter different from a learned attribute?
- Why does scaling change k-NN's result?
- Why make scaling part of a pipeline?
- What does one CV score represent?
- Is the largest accuracy always the best business choice?