You can host your trained machine learning models on AI Platform for predictions (inference) from new examples.
Currently, AI Platform can serve models generated by scikit-learn, xgboost, and TensorFlow.
To deploy a model on AI Platform to be served, there are two general steps that need be taken:
-
Create a model resource: A model resource is like a folder for all different versions of a model.
-
Create a model version: Once a model resource is created, the model object is uploaded to AI Platform, along with a version.
After a model version is created, it can be used to make predictions through a simple Python API.
We will show the details of all the required steps in the samples in this directory.
For further information on how the prediction on AI Platform works, please click here.