mirror of
https://github.com/wassname/ray.git
synced 2026-08-13 12:30:18 +08:00
Enforce quoting style in Travis. (#4589)
This commit is contained in:
committed by
Robert Nishihara
parent
6697407ec4
commit
e88e706fcc
@@ -84,11 +84,11 @@ class AutoMLSearcher(SearchAlgorithm):
|
||||
|
||||
for exp in self.experiment_list:
|
||||
for param_config, extra_arg in zip(raw_param_list, extra_arg_list):
|
||||
tag = ''
|
||||
tag = ""
|
||||
new_spec = copy.deepcopy(exp.spec)
|
||||
for path, value in param_config.items():
|
||||
tag += '%s=%s-' % (path.split('.')[-1], value)
|
||||
deep_insert(path.split('.'), value, new_spec['config'])
|
||||
tag += "%s=%s-" % (path.split(".")[-1], value)
|
||||
deep_insert(path.split("."), value, new_spec["config"])
|
||||
|
||||
trial = create_trial_from_spec(
|
||||
new_spec, exp.name, self._parser, experiment_tag=tag)
|
||||
|
||||
@@ -67,7 +67,7 @@ class ContinuousSpace(ParameterSpace):
|
||||
certain distribution such as linear.
|
||||
"""
|
||||
|
||||
LINEAR = 'linear'
|
||||
LINEAR = "linear"
|
||||
|
||||
# TODO: logspace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user