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

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

Ouverte
#163 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Python
Étoiles
299
Forks
84
Métriques de merge des PR
Aucune PR mergée en 30 j

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'
}

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par lire la gestion de Placeholder et TrainingStep pour la fusion de l’estimateur et des hyperparamètres ; l’issue n’indique aucun fichier ni test spécifique. Suivez la représentation d’un schéma de placeholder, puis vérifiez que le dictionnaire JSONPath traduit utilise les chemins $$.Execution.Input indiqués et peut être fusionné avec les hyperparamètres du constructeur.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
aws, python
Domaine
cloud, machine-learning
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.