[tune] Fix up Ax Search and Examples (#4851)

* update Ax for cleaner API

* docs update
This commit is contained in:
Richard Liaw
2019-05-27 13:23:17 -07:00
committed by GitHub
parent 7a78e1e320
commit 574e1c7695
3 changed files with 24 additions and 29 deletions
+3 -1
View File
@@ -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>`__.