mlens.parallel.blend module

ML-ENSEMBLE

author:Sebastian Flennerhag
copyright:2017
licence:MIT

Estimation engine for parallel preprocessing of blend layer.

class mlens.parallel.blend.Blender(job, layer)[source]

Bases: mlens.parallel.estimation.BaseEstimator

Blended fit sub-process class.

Class for fitting a Layer using Blending.

run(parallel)[source]

Execute stacking.

mlens.parallel.blend.transform(inst, X, P, parallel)[source]

Predict X.

Since a blend ensemble does not use folds, transform coincides with predict, except that the prediction in fitting is only for a subset of X.