You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it is not possible to update the estimator hyperparameters with the hyperparameters passed to TrainingStep if a Placeholder is used as input. The merging of hyperparameters can only be done if the hyperparameters passed to Training step is a dict.
Proposing to add a utility that translates a Placeholder to a usable jsonpath dict (with $). That translated placeholder_dict could be used as hyperparameters input to TrainingStep. With that, merging the constructor and estimator hyperparameters will be possible.
The description here is a bit confusing. It's not unique to TrainingStep. The same would apply anywhere there is a merging of properties. Another instance is with parameters in ProcessingStep. There will be others in the future.
Added some clarification on the previous issue with an example showing how it is possible today #152 (comment)
if the estimator sets hyperparameters={'A': a, 'B': b, 'C': c} and ExecutionInput sets hyperparameters={'B': bb, 'D': dd}
The utility is to expand all properties in execution_input['TrainingParameters']s schema (if there is one) into a dict without having to write all properties by hand.
ca-nguyen
changed the title
Enhancement: Update the estimator hyperparameters with the placeholder hyperparameters passed to TraininStep
Enhancement: Update the estimator hyperparameters with the placeholder hyperparameters passed to TrainingStep
Sep 13, 2021
Currently, it is not possible to update the estimator hyperparameters with the hyperparameters passed to TrainingStep if a Placeholder is used as input. The merging of hyperparameters can only be done if the hyperparameters passed to Training step is a
dict
.Proposing to add a utility that translates a Placeholder to a usable jsonpath dict (with $). That translated placeholder_dict could be used as hyperparameters input to TrainingStep. With that, merging the constructor and estimator hyperparameters will be possible.
will output the following:
The text was updated successfully, but these errors were encountered: