There's more...
Google's Cloud Machine Learning (CloudML) Engine also provides an automated tool for model hyperparameter tuning. It allows us to test different hyperparameter configurations when training a model. To submit a hyperparameter tuning job, we need to pass a CloudML training configuration file to the cloudml_train() function. We discussed hyperparameter tuning using Keras in the There's more... section of the Training your first deep neural network recipe in Chapter 1, Understanding Neural Networks and Deep Neural Networks, where we showcased how to tune model parameters. We first defined flags for parameters that we want to optimize and then used these flags in the definition of our model.
In the same way, we define the flags ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access