Predictor
Contents
Predictor#
See also
See this user guide on performing model inference in AIR for usage examples.
Predictor Interface#
Constructor Options#
|
Predictors load models from checkpoints to perform inference. |
Create a specific predictor from a checkpoint. |
|
|
Create a Predictor from a Pandas UDF. |
Predictor Properties#
Get the preprocessor to use prior to executing predictions. |
|
Set the preprocessor to use prior to executing predictions. |
Prediction API#
|
Perform inference on a batch of data. |
Supported Data Formats#
Batch format hint for upstream producers to try yielding best block format. |
|
The central part of internal API. |
Batch Predictor#
Constructor Options#
|
Batch predictor class. |
Create a |
|
Create a Predictor from a Pandas UDF. |
Batch Prediction API#
Run batch scoring on a Dataset. |
|
Setup a prediction pipeline for batch scoring. |
Built-in Predictors for Library Integrations#
|
A predictor for XGBoost models. |
|
A predictor for LightGBM models. |
|
A predictor for TensorFlow models. |
|
A predictor for PyTorch models. |
|
A predictor for HuggingFace Transformers PyTorch models. |
|
A predictor for scikit-learn compatible estimators. |
|
A predictor for RLlib policies. |