liveBook · Manning

Vertex AI endpoint

As explained in Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

A Vertex AI endpoint is a managed serving interface that accepts requests and returns predictions from a deployed model in Vertex AI.

A Vertex AI endpoint is a managed serving interface that exposes a deployed model through a URL for prediction requests. It replaces loading a model file directly from a local web server and supports cloud-based application deployment. section 10.0 section 10.4.3

Deploying and integrating an endpoint involves these practical steps:

  • Select an imported model version, name the endpoint, choose sufficient machine resources, and deploy it until its status becomes Active. section 10.4.3
  • Test the endpoint with valid JSON whose feature values are one-element arrays and whose feature names exactly match the model input. section 10.4.4 section 10.5.2
  • Call the endpoint from Flask through the Vertex AI SDK, passing the project, endpoint identifier, location, and prepared instances. section 10.5 section 10.5.2

Testing a Kuala Lumpur property prediction

A property request supplies categorical and numeric features such as location, rooms, property type, bathrooms, car parks, and size. The endpoint returns the model output; applying the sigmoid function converts that output into a 17.9 percent probability of a price above the median, matching the local-model result. section 10.4.4

Endpoints support scaling, multiple models with adjustable traffic proportions, separate resource settings for environments, and monitoring for skew and drift. Choose machine resources appropriate to the workload to control cloud costs. section 10.4.3 section 10.5.3

Figure 10.30 Confirmation that the model has been deployed

Use the deployment confirmation figure to recognize the Active endpoint state after deployment. section 10.4.3

How Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI covers it

How deep it goes
Explains console deployment, request formatting, Flask integration, scaling, traffic allocation, and monitoring without detailing service internals.
Examples
Uses Kuala Lumpur property-price prediction, console JSON testing, sigmoid conversion, and a Flask application calling the endpoint.
What it assumes
Assumes a trained model has been imported into Vertex AI; teaches endpoint deployment and prediction-request formatting.
What you can do after
Operate/configure a deployed model, test its JSON prediction interface, and connect it to a Flask application.
How it connects
Connects model deployment with Model Registry, Flask, the Vertex AI SDK, model monitoring, and traffic allocation.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI. The section links point to the parts of the book it draws on.