From 04a50aa9ae36db1726881e8e57eab6348e9ee0e8 Mon Sep 17 00:00:00 2001 From: Richard Liaw Date: Sun, 21 Jan 2018 12:07:15 -0800 Subject: [PATCH] [tune] Standardize Ray Tune on documentation (#1448) --- README.rst | 4 ++-- doc/source/example-hyperopt.rst | 2 +- doc/source/index.rst | 4 ++-- doc/source/rllib.rst | 6 +++--- doc/source/tune.rst | 18 +++++++++--------- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.rst b/README.rst index 626990db1..a9300e841 100644 --- a/README.rst +++ b/README.rst @@ -13,10 +13,10 @@ Ray is a flexible, high-performance distributed execution framework. Ray comes with libraries that accelerate deep learning and reinforcement learning development: -- `Ray.tune`_: Hyperparameter Optimization Framework +- `Ray Tune`_: Hyperparameter Optimization Framework - `Ray RLlib`_: A Scalable Reinforcement Learning Library -.. _`Ray.tune`: http://ray.readthedocs.io/en/latest/tune.html +.. _`Ray Tune`: http://ray.readthedocs.io/en/latest/tune.html .. _`Ray RLlib`: http://ray.readthedocs.io/en/latest/rllib.html diff --git a/doc/source/example-hyperopt.rst b/doc/source/example-hyperopt.rst index 89eafa162..ff32bffa0 100644 --- a/doc/source/example-hyperopt.rst +++ b/doc/source/example-hyperopt.rst @@ -5,7 +5,7 @@ This document provides a walkthrough of the hyperparameter optimization example. .. note:: - To learn about Ray's built-in hyperparameter optimization framework, see `Ray.tune `__. + To learn about Ray's built-in hyperparameter optimization framework, see `Ray Tune `__. To run the application, first install some dependencies. diff --git a/doc/source/index.rst b/doc/source/index.rst index f40dc6a91..faa13a79e 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -15,10 +15,10 @@ View the `codebase on GitHub`_. Ray comes with libraries that accelerate deep learning and reinforcement learning development: -- `Ray.tune`_: Hyperparameter Optimization Framework +- `Ray Tune`_: Hyperparameter Optimization Framework - `Ray RLlib`_: A Scalable Reinforcement Learning Library -.. _`Ray.tune`: tune.html +.. _`Ray Tune`: tune.html .. _`Ray RLlib`: rllib.html Example Program diff --git a/doc/source/rllib.rst b/doc/source/rllib.rst index 8a28146ee..e482a5739 100644 --- a/doc/source/rllib.rst +++ b/doc/source/rllib.rst @@ -8,7 +8,7 @@ Ray RLlib is a reinforcement learning library that aims to provide both performa - Pluggable distributed RL execution strategies - Composability - - Integration with the `Ray.tune `__ hyperparam tuning tool + - Integration with the `Ray Tune `__ hyperparam tuning tool - Support for multiple frameworks (TensorFlow, PyTorch) - Scalable primitives for developing new algorithms - Shared models between algorithms @@ -202,7 +202,7 @@ Custom Preprocessors and Models RLlib includes default preprocessors and models for common gym environments, but you can also specify your own as follows. At a high level, your neural network model needs to take an input tensor of the preprocessed observation shape and -output a vector of the size specified in the constructor. The interfaces for +output a vector of the size specified in the constructor. The interfaces for these custom classes can be found in the `RLlib Developer Guide `__. @@ -245,7 +245,7 @@ External Data API *coming soon!* -Using RLlib with Ray.tune +Using RLlib with Ray Tune ------------------------- All Agents implemented in RLlib support the diff --git a/doc/source/tune.rst b/doc/source/tune.rst index e8deee0ce..2dcfe7498 100644 --- a/doc/source/tune.rst +++ b/doc/source/tune.rst @@ -1,7 +1,7 @@ -Ray.tune: Hyperparameter Optimization Framework +Ray Tune: Hyperparameter Optimization Framework =============================================== -This document describes Ray.tune, a hyperparameter tuning framework for long-running tasks such as RL and deep learning training. It has the following features: +This document describes Ray Tune, a hyperparameter tuning framework for long-running tasks such as RL and deep learning training. It has the following features: - Early stopping algorithms such as `Median Stopping Rule `__ and `HyperBand `__. @@ -11,7 +11,7 @@ This document describes Ray.tune, a hyperparameter tuning framework for long-run - Resource-aware scheduling, including support for concurrent runs of algorithms that may themselves be parallel and distributed. -You can find the code for Ray.tune `here on GitHub `__. +You can find the code for Ray Tune `here on GitHub `__. Getting Started --------------- @@ -43,7 +43,7 @@ Getting Started }) -This script runs a small grid search over the ``my_func`` function using ray.tune, reporting status on the command line until the stopping condition of ``mean_accuracy >= 100`` is reached (for metrics like _loss_ that decrease over time, specify `neg_mean_loss `__ as a condition instead): +This script runs a small grid search over the ``my_func`` function using Ray Tune, reporting status on the command line until the stopping condition of ``mean_accuracy >= 100`` is reached (for metrics like _loss_ that decrease over time, specify `neg_mean_loss `__ as a condition instead): :: @@ -58,12 +58,12 @@ This script runs a small grid search over the ``my_func`` function using ray.tun - my_func_4_alpha=0.4,beta=2: RUNNING [pid=6800], 209 s, 41204 ts, 70.1 acc - my_func_5_alpha=0.6,beta=2: TERMINATED [pid=6809], 10 s, 2164 ts, 100 acc -In order to report incremental progress, ``my_func`` periodically calls the ``reporter`` function passed in by Ray.tune to return the current timestep and other metrics as defined in `ray.tune.result.TrainingResult `__. +In order to report incremental progress, ``my_func`` periodically calls the ``reporter`` function passed in by Ray Tune to return the current timestep and other metrics as defined in `ray.tune.result.TrainingResult `__. Visualizing Results ------------------- -Ray.tune logs trial results to a unique directory per experiment, e.g. ``~/ray_results/my_experiment`` in the above example. The log records are compatible with a number of visualization tools: +Ray Tune logs trial results to a unique directory per experiment, e.g. ``~/ray_results/my_experiment`` in the above example. The log records are compatible with a number of visualization tools: To visualize learning in tensorboard, run: @@ -93,7 +93,7 @@ Finally, to view the results with a `parallel coordinates visualization `__.