ActionList: Debugger ActionList Action Class

Description Methods

Description

Higher level object to maintain a list of actions to be invoked when a rule is fired.

Methods

Public methods


Method new()

Offers higher level 'serialize' function to handle serialization of actions as a string list of dictionaries.

Usage
ActionList$new(...)
Arguments
...

: List of actions.


Method update_training_job_prefix_if_not_specified()

For any StopTraining actions in the action list, update the trainingjob prefix to be the training job name if the user has not already specified a custom training job prefix. This is meant to be called via the sagemaker SDK when 'estimator.fit' is called by the user. Validation is purposely excluded here so that any failures in validation of the training job name are intentionally caught in the sagemaker SDK and not here.

Usage
ActionList$update_training_job_prefix_if_not_specified(training_job_name)
Arguments
training_job_name

: Name of the training job, passed in when 'estimator.fit' is called.


Method serialize()

Serialize the action parameters as a string dictionary.

Usage
ActionList$serialize()
Returns

Action parameters serialized as a string dictionary.


Method format()

format class

Usage
ActionList$format()

Method clone()

The objects of this class are cloneable with this method.

Usage
ActionList$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


DyfanJones/sagemaker-r-debugger documentation built on Jan. 20, 2022, 5:49 p.m.