Skip to content

Instantly share code, notes, and snippets.

@gidutz
Created June 6, 2019 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gidutz/5408bb93d0e6ab7fe9fc5cb4a82447cc to your computer and use it in GitHub Desktop.
Save gidutz/5408bb93d0e6ab7fe9fc5cb4a82447cc to your computer and use it in GitHub Desktop.
chicago taxi hypertune
{
"scaleTier": "CUSTOM",
"masterType": "standard_gpu",
"args": [
"--preprocess",
"--validation_split=0.2",
"--model_type=regression",
"--hidden_units=120,60,60",
"--batch_size=128",
"--eval_frequency_secs=128",
"--optimizer_type=ftrl",
"--use_wide",
"--embed_categories",
"--dnn_learning_rate=0.001",
"--dnn_optimizer_type=ftrl"
],
"hyperparameters": {
"goal": "MINIMIZE",
"params": [
{
"parameterName": "max_steps",
"minValue": 100,
"maxValue": 60000,
"type": "INTEGER",
"scaleType": "UNIT_LINEAR_SCALE"
},
{
"parameterName": "learning_rate",
"minValue": 0.0001,
"maxValue": 0.5,
"type": "DOUBLE",
"scaleType": "UNIT_LINEAR_SCALE"
},
{
"parameterName": "l1_regularization_strength",
"maxValue": 1,
"type": "DOUBLE",
"scaleType": "UNIT_LINEAR_SCALE"
},
{
"parameterName": "l2_regularization_strength",
"maxValue": 1,
"type": "DOUBLE",
"scaleType": "UNIT_LINEAR_SCALE"
},
{
"parameterName": "l2_shrinkage_regularization_strength",
"maxValue": 1,
"type": "DOUBLE",
"scaleType": "UNIT_LINEAR_SCALE"
}
],
"maxTrials": 50,
"maxParallelTrials": 10,
"hyperparameterMetricTag": "loss",
"enableTrialEarlyStopping": True
},
"region": "us-central1",
"jobDir": "{JOB_DIR}",
"masterConfig": {
"imageUri": "gcr.io/cloud-ml-algos/wide_deep_learner_gpu:latest"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment