Hi all,

I was trying to use scikit-learn LassoCV/RidgeCV while applying a 
'StandardScaler' on each fold set. I do not want to apply the scaler before the 
cross-validation to avoid leakage but I cannot figure out how I am supposed to 
do that with LassoCV/RidgeCV.

Is there a way to do this ? Or should I create a pipeline with Lasso/Ridge and 
'manually' search for the hyper-parameters (using GridSearchCV for instance) ?

Many thanks.

Yoann
_______________________________________________
scikit-learn mailing list
[email protected]
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to