mirror of
https://github.com/wassname/ray.git
synced 2026-09-11 12:43:20 +08:00
[tune] Fix up Ax Search and Examples (#4851)
* update Ax for cleaner API * docs update
This commit is contained in:
@@ -171,7 +171,9 @@ This algorithm requires specifying a search space and objective. You can use `Ax
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
tune.run(... , search_alg=AxSearch(parameter_dicts, ... ))
|
||||
client = AxClient(enforce_sequential_optimization=False)
|
||||
client.create_experiment( ... )
|
||||
tune.run(... , search_alg=AxSearch(client))
|
||||
|
||||
An example of this can be found in `ax_example.py <https://github.com/ray-project/ray/blob/master/python/ray/tune/examples/ax_example.py>`__.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user