sequential_engine¶
Module Contents¶
Classes Summary¶
A Future-like api for jobs created by the SequentialEngine, an Engine that sequentially computes the submitted jobs. |
|
The default engine for the AutoML search. Trains and scores pipelines locally and sequentially. |
Contents¶
-
class
evalml.automl.engine.sequential_engine.
SequentialComputation
(work, **kwargs)[source]¶ A Future-like api for jobs created by the SequentialEngine, an Engine that sequentially computes the submitted jobs.
In order to separate the engine from the AutoMLSearch loop, we need the sequential computations to behave the same way as concurrent computations from AutoMLSearch’s point-of-view. One way to do this is by delaying the computation in the sequential engine until get_result is called. Since AutoMLSearch will call get_result only when the computation is “done”, by always returning True in done() we make sure that get_result is called in the order that the jobs are submitted. So the computations happen sequentially!
- Parameters
work (callable) – Computation that should be done by the engine.
Methods
Cancel the current computation.
Whether the computation is done.
Gets the computation result.
-
class
evalml.automl.engine.sequential_engine.
SequentialEngine
[source]¶ The default engine for the AutoML search. Trains and scores pipelines locally and sequentially.
Methods
Submit job for pipeline evaluation during AutoMLSearch.
Submit job for pipeline scoring.
Submit job for pipeline training.
-
static
setup_job_log
()¶
-
submit_evaluation_job
(self, automl_config, pipeline, X, y)[source]¶ Submit job for pipeline evaluation during AutoMLSearch.
-
static