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
{{ message }}
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Hyperparameter a pipeline parameter, not random value #107
MLOpsPython/code/training/train.py picks a hyperparameter value randomly. This is an antipattern in 2 ways: (1) DevOps processes should yield reproducible outputs, (2) hyperparameters should be an AML pipeline parameter.
Activity
dtzar commentedon Nov 26, 2019
Yes, this is done for demo purposes to display something interesting on the metrics visuals. Real customer code would of course not do this.
algattik commentedon Nov 26, 2019
As this repo is a starting point for MLOps projects, it would be great to show best practice in code right away.
How about making the hyperparameter value a pipeline parameter, and generating a random value for it in the devops pipeline?
dtzar commentedon Nov 26, 2019
sure. PRs welcome.
Simplified build with Azure CLI; various bugfixes