ray/doc/source/ray-air/package-ref.rst
xwjiang2010 8d5c07b781
[air/train/docs] Add trainer user guide and update trainer docs (#27389)
This PR adds a user guide to AIR for using Ray Train. It provides a high level overview of the trainers and removes redundant sections.

The main file to review is here: doc/source/ray-air/trainer.rst.

Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>
Signed-off-by: Richard Liaw <rliaw@berkeley.edu>
Signed-off-by: Kai Fricke <kai@anyscale.com>

Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
Co-authored-by: Kai Fricke <kai@anyscale.com>
2022-08-04 13:59:50 +01:00

203 lines
2.9 KiB
ReStructuredText

.. _air-api-ref:
API Reference
=============
.. contents::
:local:
Components
----------
.. _air-preprocessor-ref:
Preprocessor
~~~~~~~~~~~~
.. autoclass:: ray.data.preprocessor.Preprocessor
:members:
Built-in Preprocessors
######################
.. automodule:: ray.data.preprocessors
:members:
:show-inheritance:
.. automethod:: ray.data.Dataset.train_test_split
:noindex:
.. _air-abstract-trainer-ref:
Trainer
~~~~~~~
.. autoclass:: ray.train.trainer.BaseTrainer
:members:
Abstract Classes
################
.. autoclass:: ray.train.data_parallel_trainer.DataParallelTrainer
:members:
:show-inheritance:
.. autoclass:: ray.train.gbdt_trainer.GBDTTrainer
:members:
:show-inheritance:
.. _air-results-ref:
Training Result
###############
.. automodule:: ray.air.result
:members:
Training Session
################
.. automodule:: ray.air.session
:members:
Trainer Configs
###############
.. automodule:: ray.air.config
:members:
Checkpoint
~~~~~~~~~~
.. _air-checkpoint-ref:
.. automodule:: ray.air.checkpoint
:members:
Predictor
~~~~~~~~~
.. autoclass:: ray.train.predictor.Predictor
:members:
Data Types
##########
.. autoclass:: ray.train.predictor.DataBatchType
Batch Predictor
###############
.. autoclass:: ray.train.batch_predictor.BatchPredictor
:members:
.. _air-tuner-ref:
Tuner
~~~~~
.. autoclass:: ray.tune.tuner.Tuner
:members:
TuneConfig
##########
.. automodule:: ray.tune.tune_config
:members:
Tuner Results
#############
.. automodule:: ray.tune.result_grid
:members:
.. _air-serve-integration:
Serving
~~~~~~~
.. autoclass:: ray.serve.air_integrations.PredictorDeployment
.. autoclass:: ray.serve.air_integrations.PredictorWrapper
.. _air-trainer-ref:
Trainer and Predictor Integrations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XGBoost
#######
.. automodule:: ray.train.xgboost
:members:
:show-inheritance:
LightGBM
########
.. automodule:: ray.train.lightgbm
:members:
:show-inheritance:
TensorFlow
##########
.. automodule:: ray.train.tensorflow
:members:
:show-inheritance:
PyTorch
#######
.. automodule:: ray.train.torch
:members:
:show-inheritance:
Horovod
#######
.. automodule:: ray.train.horovod
:members:
:show-inheritance:
HuggingFace
###########
.. automodule:: ray.train.huggingface
:members:
:show-inheritance:
Scikit-Learn
############
.. automodule:: ray.train.sklearn
:members:
:show-inheritance:
.. _air-builtin-callbacks:
Monitoring Integrations
~~~~~~~~~~~~~~~~~~~~~~~
Comet
#####
.. autoclass:: ray.air.callbacks.comet.CometLoggerCallback
Keras
#####
.. autoclass:: ray.air.callbacks.keras.Callback
:members:
MLflow
######
.. autoclass:: ray.air.callbacks.mlflow.MLflowLoggerCallback
Weights and Biases
##################
.. autoclass:: ray.air.callbacks.wandb.WandbLoggerCallback
.. _air-session-ref: