5d3c9c8861ee658b7931bb374603f86987c17433,python/ray/tune/examples/mlflow_example.py,,,#,33
Before Change
client = MlflowClient()
experiment_id = client.create_experiment("test")
trials = tune.run(
easy_objective,
name="mlflow",
num_samples=5,
loggers=DEFAULT_LOGGERS + (MLFLowLogger, ),
config={
"logger_config": {
"mlflow_experiment_id": experiment_id,
},
"width": tune.randint(10, 100),
"height": tune.randint(0, 100),
})
df = mlflow.search_runs([experiment_id])
print(df)
After Change
if __name__ == "__main__":
import argparse
parser = argparse.ArgumentParser()
parser.add_argument(
"--smoke-test", action="store_true", help="Finish quickly for testing")
args, _ = parser.parse_known_args()
if args.smoke_test:
mlflow_tracking_uri = os.path.join(tempfile.gettempdir(), "mlruns")
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 12
Instances
Project Name: ray-project/ray
Commit Name: 5d3c9c8861ee658b7931bb374603f86987c17433
Time: 2020-12-19
Author: amogkam@users.noreply.github.com
File Name: python/ray/tune/examples/mlflow_example.py
Class Name:
Method Name:
Project Name: dnouri/skorch
Commit Name: 98b18cadf44257fde77b36ada1729feaab3aed97
Time: 2017-07-25
Author: marian.tietz@ottogroup.com
File Name: examples/word_language_model/train.py
Class Name:
Method Name:
Project Name: bsmurphy/PyKrige
Commit Name: 3c1a7ef24205af6e243580e9ddc0bb2ec3299576
Time: 2015-10-23
Author: bscott.murphy@gmail.com
File Name: setup.py
Class Name:
Method Name: