Skip to content

Instantly share code, notes, and snippets.

@yptheangel
Created February 4, 2021 04:24
Show Gist options
  • Save yptheangel/da080d4c50c4ed2dda1fdb00a7d479c5 to your computer and use it in GitHub Desktop.
Save yptheangel/da080d4c50c4ed2dda1fdb00a7d479c5 to your computer and use it in GitHub Desktop.
Grid search hptuning_config.yml for GCP AI platform hypertune, recommend to bayesian optimization instead,
trainingInput:
scaleTier: CUSTOM
masterType: n1-standard-4
hyperparameters:
goal: MAXIMIZE
maxTrials: 90
maxParallelTrials: 8
algorithm: GRID_SEARCH
hyperparameterMetricTag: val_accuracy
params:
- parameterName: neurons_num
type: DISCRETE
discreteValues: [50, 75, 100, 125, 150]
- parameterName: epochs
type: DISCRETE
discreteValues: [30, 40, 50]
- parameterName: batch_size
type: DISCRETE
discreteValues: [64, 128, 256]
- parameterName: optimizer
type: CATEGORICAL
categoricalValues: ["RMSprop" , "Adam"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment