palma.base.model_selection#

Classes#

ModelSelector

Wrapper to optimizers selecting the best model for a Project.

Module Contents#

class palma.base.model_selection.ModelSelector(engine: str | palma.base.engine.BaseOptimizer, engine_parameters: Dict)#

Wrapper to optimizers selecting the best model for a Project.

The optimization can be launched with the start method. Once the optimization is done, the best model can be accessed as the best_model_ attribute.

Parameters:
- engine (str): Currently accepted values are “FlamlOptimizer” or

“AutoSklearnOptimizer” (the latter is deprecatted).

- engine_parameters (dict): parameters passed to the engine.

Methods

- start(project: Project): look for best model

__date#
__run_id = ''#
__parameters#
start(project: palma.base.project.Project)#
property run_id: str#