aws / aws/aws-step-functions-data-science-sdk-python

Enhancement: Update the estimator hyperparameters with the placeholder hyperparameters passed to TrainingStep

Open
#163 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
299
Forks
84
PR merge metrics
No merged PRs in 30d

Description

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.
- ex: A Placeholder with schema
```
{
'TrainingInput': {
'B': str,
'C': str
}
}
```
will output the following:
```
{
'B.$': '$$.Execution.Input.B',
'C.$': '$$.Execution.Input.C'
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.