quantlab.model.predefined.double_ensemble.DoubleEnsembleBoosters#

class quantlab.model.predefined.double_ensemble.DoubleEnsembleBoosters(boosters=<factory>, features=<factory>, weights=<factory>)[source]#

Bases: object

The fitted sub-models, the feature columns of each and their weights.

Examples

>>> ensemble.predict(x).shape
(100,)
predict(x, num_threads=None)[source]#

The weighted mean of the sub-models’ predictions of [n, F] rows.