WarmStartConfig | R Documentation |
Warm Start Configuration which defines the nature of the warm start “HyperparameterTuner“, with type and parents for warm start. Examples: >>> warm_start_config = WarmStartConfig( >>> type=WarmStartTypes.TransferLearning, parents="p1","p2") >>> warm_start_config.type "TransferLearning" >>> warm_start_config.parents "p1","p2"
type
Supported warm start types
parents
Set of parent tuning jobs
new()
Initializes the “WarmStartConfig“ with the provided “WarmStartTypes“ and parents.
WarmStartConfig$new( warm_start_type = c("IdenticalDataAndAlgorithm", "TransferLearning"), parents = NULL )
warm_start_type
(str): This should be one of the supported warm start types “'("IdenticalDataAndAlgorithm", "TransferLearning")“'
parents
(str/list): Set of parent tuning jobs which will be used to warm start the new tuning job.
from_job_desc()
Creates an instance of “WarmStartConfig“ class, from warm start configuration response from DescribeTrainingJob. Examples: >>> warm_start_config = WarmStartConfig$new()$from_job_desc(warm_start_config=list( >>> "WarmStartType"="TransferLearning", >>> "ParentHyperParameterTuningJobs"= list( >>> list('HyperParameterTuningJobName'= "p1"), >>> list('HyperParameterTuningJobName'= "p2") >>> ) >>>)) >>> warm_start_config.type "TransferLearning" >>> warm_start_config.parents ["p1","p2"]
WarmStartConfig$from_job_desc(warm_start_config)
warm_start_config
(dict): The expected format of the “warm_start_config“ contains two first-class
sagemaker.tuner.WarmStartConfig: De-serialized instance of WarmStartConfig containing the type and parents provided as part of “warm_start_config“.
to_input_req()
Converts the “self“ instance to the desired input request format. Examples: >>> warm_start_config = WarmStartConfig$new("TransferLearning",parents="p1,p2") >>> warm_start_config$to_input_req() list( "WarmStartType"="TransferLearning", "ParentHyperParameterTuningJobs"= list( list('HyperParameterTuningJobName': "p1"), list('HyperParameterTuningJobName': "p2") ) )
WarmStartConfig$to_input_req()
list: Containing the "WarmStartType" and "ParentHyperParameterTuningJobs" as the first class fields.
format()
format class
WarmStartConfig$format()
clone()
The objects of this class are cloneable with this method.
WarmStartConfig$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.