NVIDIA Clara Train 3.1
3.1

automl.components.executors package

class Executor

Bases: abc.ABC

This class defines the abstract behavior required of an Executor.

Executor executes a recommendation, and produces a score.

abort(ctx: automl.defs.Context)

This method is called to abort execution immediately. This method is called from the Main Thread.

Parameters

ctx – the context that enables cross-component data sharing

Returns:

abstract determine_search_space(ctx: automl.defs.Context) → automl.defs.SearchSpace

This method is called by the AutoML engine to determine the AutoML search space. This method is called from the Main Thread.

Parameters

ctx – the context that enables cross-component data sharing

Returns: a search space

abstract execute(recommendation: automl.defs.Recommendation, ctx: automl.defs.Context) → object

Execute the specified recommendation and return a score.

This method is called from the Job Thread.

Parameters
  • recommendation – the recommendation to be executed

  • ctx – the context that enables cross-component data sharing

Returns: an object that represents the score

shutdown(ctx: automl.defs.Context)

This method is called to shutdown the executor. This is called at the end of the AutoML workflow.

This method is called from the Main Thread.

Parameters

ctx – the context that enables cross-component data sharing

Returns:

© Copyright 2020, NVIDIA. Last updated on Feb 2, 2023.