delayed
- sklearn.utils.parallel.delayed(function)
Decorator used to capture the arguments of a function.
This alternative to
joblib.delayedis meant to be used in conjunction withsklearn.utils.parallel.Parallel. The latter captures the scikit- learn configuration by callingsklearn.get_config()in the current thread, prior to dispatching the first task. The captured configuration is then propagated and enabled for the duration of the execution of the delayed function in the joblib workers.