aws / aws/aws-step-functions-data-science-sdk-python
Enhancement: Update the estimator hyperparameters with the placeholder hyperparameters passed to TrainingStep
- Vorherrschende Sprache
- Python
- Sterne
- 299
- Forks
- 84
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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'
}
Beitragsleitfaden
Rechercherichtung
Beginne mit der Lektüre der Verarbeitung von Placeholder und TrainingStep für das Zusammenführen von Estimator und Hyperparametern; der Issue nennt keine spezifischen Dateien oder Tests. Verfolge, wie ein Placeholder-Schema dargestellt wird, und überprüfe anschließend, dass das übersetzte JSONPath-Wörterbuch die gezeigten $$.Execution.Input-Pfade verwendet und mit Konstruktor-Hyperparametern zusammengeführt werden kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, python
- Bereich
- cloud, machine-learning
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100