Ray Tutorials and Examples
==========================


Machine Learning Examples
-------------------------

.. panels::
    :container: container pb-4
    :column: col-md-4 px-2 py-2
    :img-top-cls: pt-5 w-75 d-block mx-auto

    ---
    :img-top: images/param_actor.png

    +++
    .. link-button:: plot_parameter_server
        :type: ref
        :text: Build a Simple Parameter Server Using Ray
        :classes: btn-link btn-block stretched-link
    ---
    :img-top: images/hyperparameter.png

    +++
    .. link-button:: plot_hyperparameter
        :type: ref
        :text: Simple Parallel Model Selection
        :classes: btn-link btn-block stretched-link
    ---
    :img-top: /ray-overview/images/ray_svg_logo.svg

    +++
    .. link-button:: plot_example-lm
        :type: ref
        :text: Fault-Tolerant Fairseq Training
        :classes: btn-link btn-block stretched-link


Reinforcement Learning Examples
-------------------------------

These are simple examples that show you how to leverage Ray Core.
For Ray's production-grade reinforcement learning library, see `RLlib <http://docs.ray.io/en/latest/rllib.html>`__.


.. panels::
    :container: container pb-4
    :column: col-md-4 px-2 py-2
    :img-top-cls: pt-5 w-75 d-block mx-auto

    ---
    :img-top: images/pong.png

    +++
    .. link-button:: plot_pong_example
        :type: ref
        :text: Learning to Play Pong
        :classes: btn-link btn-block stretched-link

    ---
    :img-top: images/a3c.png

    +++
    .. link-button:: plot_example-a3c
        :type: ref
        :text: Asynchronous Advantage Actor Critic (A3C)
        :classes: btn-link btn-block stretched-link


Basic Examples
--------------

.. panels::
    :container: container pb-4
    :column: col-md-4 px-2 py-2
    :img-top-cls: pt-5 w-75 d-block mx-auto

    ---
    :img-top: /ray-overview/images/ray_svg_logo.svg

    +++
    .. link-button:: highly_parallel
        :type: ref
        :text: Using Ray for Highly Parallelizable Tasks
        :classes: btn-link btn-block stretched-link