40428c9b05dca1c2a0eb38b5f9159bae5bf98e3b,python/ray/tune/examples/tf_distributed_keras_example.py,,,#,64

Before Change


        num_samples=1,
        config={
            "lr": tune.sample_from(lambda spec: np.random.uniform(0.001, 0.1)),
            "momentum": tune.sample_from(
                lambda spec: np.random.uniform(0.1, 0.9)),
            "hidden": tune.sample_from(
                lambda spec: np.random.randint(32, 512)),
        })
    print("Best hyperparameters found were: ", analysis.best_config)

After Change


            "use_mini": args.smoke_test,
            "lr": tune.uniform(0.001, 0.1),
            "momentum": tune.uniform(0.1, 0.9),
            "hidden": tune.randint(32, 512),
        })
    print("Best hyperparameters found were: ", analysis.best_config)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ray-project/ray
Commit Name: 40428c9b05dca1c2a0eb38b5f9159bae5bf98e3b
Time: 2020-11-23
Author: rliaw@berkeley.edu
File Name: python/ray/tune/examples/tf_distributed_keras_example.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 40428c9b05dca1c2a0eb38b5f9159bae5bf98e3b
Time: 2020-11-23
Author: rliaw@berkeley.edu
File Name: python/ray/tune/examples/tf_distributed_keras_example.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 8b3f79f3079834f00c7ec62d5decd6bc026c1bc8
Time: 2020-11-14
Author: rliaw@berkeley.edu
File Name: python/ray/tune/examples/tune_mnist_keras.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 3501ea396c3b08c9fc2c220134bb1a68b423122a
Time: 2020-09-09
Author: rliaw@berkeley.edu
File Name: python/ray/tune/examples/mlflow_example.py
Class Name:
Method Name: