Ejemplo n.º 1
0
def test_ascending_nested():
    exp, run0, run1 = create_nested_runs()
    best = get_best_run(exp.experiment_id,
                        "m1",
                        ascending=True,
                        ignore_nested_runs=True)
    assert run0.info.run_id == best[0]
Ejemplo n.º 2
0
def test_descending():
    exp, run0, run1 = create_runs()
    best = get_best_run(exp.experiment_id, "m1", ascending=False)
    assert run1.info.run_id == best[0]