scikit-learn/scikit-learn — comment on commit af5037ad7b24bf6d4f1f3caad2c5015cfa3ffcce
File:  line 0
By ogrisel:

Using 2 Scaler for X and y would prevent using a pipeline for grid search. We could just make `Scaler` have extra constructor argument to explicitly scale the target or not (set to `False` by default to avoid fishy heuristics based on the integer distribution of the target variable).