ensemble_base#


class EnsembleVectorModel(models: Sequence[VectorModel], num_processes=1)[source]#

Bases: VectorModel, ABC

Parameters:
  • models

  • num_processes

compute_all_predictions(x: DataFrame)[source]#
abstract aggregate_predictions(predictions_data_frames: List[DataFrame]) DataFrame[source]#
class EnsembleRegressionVectorModel(models: Sequence[VectorModel], num_processes=1)[source]#

Bases: EnsembleVectorModel, ABC

Parameters:
  • models

  • num_processes

is_regression_model()[source]#
class EnsembleClassificationVectorModel(models: Sequence[VectorModel], num_processes=1)[source]#

Bases: EnsembleVectorModel, ABC

Parameters:
  • models

  • num_processes

is_regression_model()[source]#