Interview Q&A · questions with model answers

scikit-learn Interview Questions

Part of the study plan for: Machine Learning Engineer

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. What do fit, transform, fit_transform and predict do in scikit-learn?

    fit learns from data (a scaler learns means, a model learns weights). transform applies what was learned to data. fit_transform does both on the same data (training data only). predict (and…

Was this page helpful?

Report a mistake