[scikit-learn] How to not recalculate transformer in a Pipeline?

Gael Varoquaux gael.varoquaux at normalesup.org
Mon Nov 28 13:51:21 EST 2016


On Mon, Nov 28, 2016 at 01:46:08PM -0500, Andreas Mueller wrote:
> I guess so. You'd handle parameters using an estimator_params dict in init
> and pass that to the caching function?

I'd try to set on the estimator, before passing them to the function, as we
do in standard scikit-learn, and joblib is clever enough to take that in
account when given the estimator as a function of the function that is
memoized.

G


More information about the scikit-learn mailing list