d3196bee4759550bc2e944a945881013157669ef,examples/tensorboard_simple.py,,,#,35

Before Change


param_distributions = dict()  // type: Dict[str, Any]
param_distributions["NUM_UNITS"] = ("int_uniform", (16, 32))
param_distributions["DROPOUT_RATE"] = ("uniform", (0.1, 0.2))
param_distributions["OPTIMIZER"] = ("categorical", (["sgd", "adam"],))


def objective(trial: "optuna.trial.Trial") -> float:

After Change



tensorboard_callback = TensorBoardCallback("logs/", param_distributions, metric_name="accuracy")

study = optuna.create_study(direction="maximize")
study.optimize(objective, n_trials=10, timeout=600, callbacks=[tensorboard_callback])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pfnet/optuna
Commit Name: d3196bee4759550bc2e944a945881013157669ef
Time: 2020-06-25
Author: skripniuk.v@yandex.ru
File Name: examples/tensorboard_simple.py
Class Name:
Method Name:


Project Name: mil-tokyo/webdnn
Commit Name: 5cf5cd0fdb400b3d5bc603924e8461ab6c913977
Time: 2017-04-11
Author: hidaka@mi.t.u-tokyo.ac.jp
File Name: graph-builder/run.py
Class Name:
Method Name: main


Project Name: nipy/dipy
Commit Name: e8d6d7a218d13729f61eb6d1ef688bcfb9c81d88
Time: 2014-04-13
Author: garyfallidis@gmail.com
File Name: dipy/align/tests/test_streamwarp.py
Class Name:
Method Name: test_rigid_real_bundles