Closed algattik closed 4 years ago
Yes, this is done for demo purposes to display something interesting on the metrics visuals. Real customer code would of course not do this.
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?
sure. PRs welcome.
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.