CINXE.COM
Get online predictions and explanations | Vertex AI | Google Cloud
<!doctype html> <html lang="en" dir="ltr"> <head> <meta name="google-signin-client-id" content="721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com"> <meta name="google-signin-scope" content="profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/webhistory"> <meta property="og:site_name" content="Google Cloud"> <meta property="og:type" content="website"><meta name="theme-color" content="#039be5"><meta charset="utf-8"> <meta content="IE=Edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="/_pwa/cloud/manifest.json" crossorigin="use-credentials"> <link rel="preconnect" href="//www.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.googleapis.com" crossorigin> <link rel="preconnect" href="//apis.google.com" crossorigin> <link rel="preconnect" href="//www.google-analytics.com" crossorigin><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Google+Sans:400,500,700|Google+Sans+Text:400,400italic,500,500italic,700,700italic|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"> <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=Material+Icons&family=Material+Symbols+Outlined&display=block"><link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/css/app.css"> <link rel="shortcut icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/favicon.ico"> <link rel="apple-touch-icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png"><link rel="canonical" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions"><link rel="search" type="application/opensearchdescription+xml" title="Google Cloud" href="https://cloud.google.com/s/opensearch.xml"> <link rel="alternate" hreflang="en" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions" /><link rel="alternate" hreflang="x-default" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions" /><link rel="alternate" hreflang="zh-Hans" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions?hl=zh-cn" /><link rel="alternate" hreflang="fr" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions?hl=fr" /><link rel="alternate" hreflang="de" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions?hl=de" /><link rel="alternate" hreflang="id" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions?hl=id" /><link rel="alternate" hreflang="it" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions?hl=it" /><link rel="alternate" hreflang="ja" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions?hl=ja" /><link rel="alternate" hreflang="ko" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions?hl=ko" /><link rel="alternate" hreflang="pt-BR" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions?hl=pt-br" /><link rel="alternate" hreflang="es-419" href="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions?hl=es-419" /><title>Get online predictions and explanations | Vertex AI | Google Cloud</title> <meta property="og:title" content="Get online predictions and explanations | Vertex AI | Google Cloud"><meta property="og:url" content="https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions"><meta property="og:image" content="https://cloud.google.com/_static/cloud/images/social-icon-google-cloud-1200-630.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="630"><meta property="og:locale" content="en"><meta name="twitter:card" content="summary_large_image"><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "headline": "Get online predictions and explanations" } </script><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Vertex AI", "item": "https://cloud.google.com/vertex-ai" },{ "@type": "ListItem", "position": 2, "name": "Documentation", "item": "https://cloud.google.com/vertex-ai/docs" },{ "@type": "ListItem", "position": 3, "name": "Get online predictions and explanations", "item": "https://cloud.google.com/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions" }] } </script> <link rel="stylesheet" href="/extras.css"></head> <body class="" template="page" theme="cloud-theme" type="article" layout="docs" free-trial display-toc pending> <devsite-progress type="indeterminate" id="app-progress"></devsite-progress> <section class="devsite-wrapper"> <devsite-cookie-notification-bar></devsite-cookie-notification-bar><cloudx-track userCountry="SG"></cloudx-track> <cloudx-utils-init></cloudx-utils-init> <devsite-header keep-tabs-visible> <div class="devsite-header--inner nocontent"> <div class="devsite-top-logo-row-wrapper-wrapper"> <div class="devsite-top-logo-row-wrapper"> <div class="devsite-top-logo-row"> <button type="button" id="devsite-hamburger-menu" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Navigation menu button" visually-hidden aria-label="Open menu"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="googleCloud" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg" class="devsite-site-logo" alt="Google Cloud"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> </li> </ul> </span> </div> <div class="devsite-top-logo-row-middle"> <div class="devsite-header-upper-tabs"> <cloudx-tabs-nav class="upper-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Upper tabs"> <tab class="devsite-active"> <a href="https://cloud.google.com/docs" track-metadata-eventdetail="https://cloud.google.com/docs" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - docs-home" track-metadata-module="primary nav" aria-label="Documentation, selected" data-category="Site-Wide Custom Events" data-label="Tab: Documentation" track-name="docs-home" track-link-column-type="single-column" > Documentation </a> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/docs/tech-area-overviews" track-metadata-eventdetail="https://cloud.google.com/docs/tech-area-overviews" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - technology-areas" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" > Technology areas </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Technology areas" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/tech-area-overviews" track-metadata-position="nav - technology-areas" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/ai-ml" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/ai-ml" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> AI and ML </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/application-development" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/application-development" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Application development </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/application-hosting" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/application-hosting" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Application hosting </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/compute-area" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/compute-area" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Compute </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/data" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/data" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Data analytics and pipelines </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/databases" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/databases" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Databases </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/dhm-cloud" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/dhm-cloud" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Distributed, hybrid, and multicloud </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/generative-ai" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/generative-ai" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Generative AI </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/industry" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/industry" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Industry solutions </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/networking" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/networking" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Networking </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/observability" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/observability" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Observability and monitoring </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/security" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/security" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Security </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/storage" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/storage" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Storage </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/docs/cross-product-overviews" track-metadata-eventdetail="https://cloud.google.com/docs/cross-product-overviews" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - crossproduct" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" > Cross-product tools </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Cross-product tools" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/cross-product-overviews" track-metadata-position="nav - crossproduct" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/access-resources" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/access-resources" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Access and resources management </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/costs-usage" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/costs-usage" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Costs and usage management </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/devtools" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/devtools" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud SDK, languages, frameworks, and tools </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/iac" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/iac" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Infrastructure as code </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/migration" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/migration" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Migration </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/" track-metadata-eventdetail="https://cloud.google.com/" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - related-sites" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" > Related sites </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Related sites" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Home </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/free" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/free" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Free Trial and Free Tier </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/architecture" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/architecture" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Architecture Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/blog" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/blog" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Blog </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/contact" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/contact" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Contact Sales </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/developers" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/developers" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Developer Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/" track-type="nav" track-metadata-eventdetail="https://developers.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Developer Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://console.cloud.google.com/marketplace" track-type="nav" track-metadata-eventdetail="https://console.cloud.google.com/marketplace" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Marketplace </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/marketplace/docs" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/marketplace/docs" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Marketplace Documentation </div> </a> </li> <li class="devsite-nav-item"> <a href="https://www.cloudskillsboost.google/paths" track-type="nav" track-metadata-eventdetail="https://www.cloudskillsboost.google/paths" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Skills Boost </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/solutions" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/solutions" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Solution Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/support-hub" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/support-hub" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Support </div> </a> </li> <li class="devsite-nav-item"> <a href="https://www.youtube.com/@googlecloudtech" track-type="nav" track-metadata-eventdetail="https://www.youtube.com/@googlecloudtech" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Tech Youtube Channel </div> </a> </li> </ul> </div> </div> </div> </tab> </nav> </cloudx-tabs-nav> </div> <devsite-search enable-signin enable-search enable-suggestions project-name="Vertex AI" tenant-name="Google Cloud" project-scope="/vertex-ai/docs" url-scoped="https://cloud.google.com/s/results/vertex-ai/docs" > <form class="devsite-search-form" action="https://cloud.google.com/s/results" method="GET"> <div class="devsite-search-container"> <button type="button" search-open class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Open search"></button> <div class="devsite-searchbox"> <input aria-activedescendant="" aria-autocomplete="list" aria-label="Search" aria-expanded="false" aria-haspopup="listbox" autocomplete="off" class="devsite-search-field devsite-search-query" name="q" placeholder="Search" role="combobox" type="text" value="" > <div class="devsite-search-image material-icons" aria-hidden="true"> </div> <div class="devsite-search-shortcut-icon-container" aria-hidden="true"> <kbd class="devsite-search-shortcut-icon">/</kbd> </div> </div> </div> </form> <button type="button" search-close class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Close search"></button> </devsite-search> </div> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> <devsite-user enable-profiles fp-auth id="devsite-user"> <span class="button devsite-top-button" aria-hidden="true" visually-hidden>Sign in</span> </devsite-user> </div> </div> </div> <div class="devsite-collapsible-section "> <div class="devsite-header-background"> <div class="devsite-product-id-row" hidden> <div class="devsite-product-description-row"> </div> </div> <div class="devsite-doc-set-nav-row"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> <a href="https://cloud.google.com/vertex-ai" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Lower Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Vertex AI" > Vertex AI </a> </li> </ul> <cloudx-tabs-nav class="lower-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Lower tabs"> <tab class="devsite-active"> <a href="https://cloud.google.com/vertex-ai/docs" track-metadata-eventdetail="https://cloud.google.com/vertex-ai/docs" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - guides" track-metadata-module="primary nav" aria-label="Guides, selected" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" > Guides </a> </tab> <tab > <a href="https://cloud.google.com/vertex-ai/docs/reference" track-metadata-eventdetail="https://cloud.google.com/vertex-ai/docs/reference" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - reference" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" > Reference </a> </tab> <tab > <a href="https://cloud.google.com/vertex-ai/docs/samples" track-metadata-eventdetail="https://cloud.google.com/vertex-ai/docs/samples" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - samples" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Samples" track-name="samples" > Samples </a> </tab> <tab > <a href="https://cloud.google.com/vertex-ai/docs/support/getting-support" track-metadata-eventdetail="https://cloud.google.com/vertex-ai/docs/support/getting-support" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - support" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Support" track-name="support" > Support </a> </tab> <tab > <a href="https://cloud.google.com/vertex-ai/docs/release-notes" track-metadata-eventdetail="https://cloud.google.com/vertex-ai/docs/release-notes" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - resources" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Resources" track-name="resources" > Resources </a> </tab> </nav> </cloudx-tabs-nav> <div class="devsite-product-button-row"> <a href="https://cloud.google.com/contact" class="cta-button-secondary button " track-metadata-position="nav" track-type="contact" track-metadata-eventDetail="nav" data-overflow-wrapper="tab" track-name="sales" data-overflow-container="left" data-overflow="devsite-tabs-wrapper" >Contact Us</a> <a href="//console.cloud.google.com/freetrial" class="cloud-free-trial-button cta-button-primary button-primary button cloud-button cloud-button--primary " track-type="freeTrial" track-metadata-position="nav" track-metadata-eventDetail="nav" track-name="gcpCta" data-overflow="devsite-top-logo-row" referrerpolicy="no-referrer-when-downgrade" data-overflow-container="right" data-overflow-class="devsite-header-link devsite-top-button button cloud-free-trial-button cloud-free-trial-enabled cloud-button cloud-button--primary" >Start free</a> </div> </div> </div> </div> </div> </devsite-header> <devsite-book-nav scrollbars > <div class="devsite-book-nav-filter" > <span class="filter-list-icon material-icons" aria-hidden="true"></span> <input type="text" placeholder="Filter" aria-label="Type to filter" role="searchbox"> <span class="filter-clear-button hidden" data-title="Clear filter" aria-label="Clear filter" role="button" tabindex="0"></span> </div> <nav class="devsite-book-nav devsite-nav nocontent" aria-label="Side menu"> <div class="devsite-mobile-header"> <button type="button" id="devsite-close-nav" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close navigation" aria-label="Close navigation"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="googleCloud" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg" class="devsite-site-logo" alt="Google Cloud"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> </li> </ul> </span> </div> </div> <div class="devsite-book-nav-wrapper"> <div class="devsite-mobile-nav-top"> <ul class="devsite-nav-list"> <li class="devsite-nav-item"> <a href="/docs" class="devsite-nav-title gc-analytics-event devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Documentation" track-name="docs-home" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Documentation" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Documentation </span> </a> <ul class="devsite-nav-responsive-tabs"> <li class="devsite-nav-item"> <a href="/vertex-ai/docs" class="devsite-nav-title gc-analytics-event devsite-nav-has-children devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Guides" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip menu="_book"> Guides </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="_book"> </span> </a> </li> <li class="devsite-nav-item"> <a href="/vertex-ai/docs/reference" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Reference" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Reference </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/vertex-ai/docs/samples" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Samples" track-name="samples" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Samples" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Samples </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/vertex-ai/docs/support/getting-support" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Support" track-name="support" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Support" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Support </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/vertex-ai/docs/release-notes" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Resources" track-name="resources" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Resources" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Resources </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/docs/tech-area-overviews" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Technology areas" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Technology areas </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Technology areas"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Technology areas"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/docs/cross-product-overviews" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Cross-product tools" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Cross-product tools </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Cross-product tools"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Cross-product tools"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Related sites" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Related sites </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Related sites"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Related sites"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="//console.cloud.google.com/" class="devsite-nav-title gc-analytics-event " track-type="globalNav" referrerpolicy="no-referrer-when-downgrade" track-metadata-eventDetail="nav" track-metadata-position="nav" track-name="console" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Console" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Console </span> </a> </li> <li class="devsite-nav-item"> <a href="/contact" class="cta-button-secondary button" track-metadata-position="nav" track-type="contact" track-metadata-eventDetail="nav" data-overflow-wrapper="tab" track-name="sales" data-overflow-container="left" data-overflow="devsite-tabs-wrapper" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Contact Us" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Contact Us </span> </a> </li> <li class="devsite-nav-item"> <a href="//console.cloud.google.com/freetrial" class="cloud-free-trial-button cta-button-primary button-primary button cloud-button cloud-button--primary" track-type="freeTrial" track-metadata-position="nav" track-metadata-eventDetail="nav" track-name="gcpCta" data-overflow="devsite-top-logo-row" referrerpolicy="no-referrer-when-downgrade" data-overflow-container="right" data-overflow-class="devsite-header-link devsite-top-button button cloud-free-trial-button cloud-free-trial-enabled cloud-button cloud-button--primary" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Start free" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Start free </span> </a> </li> </ul> </div> <div class="devsite-mobile-nav-bottom"> <ul class="devsite-nav-list" menu="_book"> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Discover</span> </div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs" ><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/introduction-unified-platform" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/introduction-unified-platform" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/introduction-unified-platform" ><span class="devsite-nav-text" tooltip>Introduction to Vertex AI</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/introduction-mlops" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/introduction-mlops" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/introduction-mlops" ><span class="devsite-nav-text" tooltip>MLOps on Vertex AI</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/introduction-interfaces" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/introduction-interfaces" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/introduction-interfaces" ><span class="devsite-nav-text" tooltip>Interfaces for Vertex AI</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Vertex AI beginner's guides</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/beginner/beginners-guide" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/beginner/beginners-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/beginner/beginners-guide" ><span class="devsite-nav-text" tooltip>Train an AutoML model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/start/training-guide" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/training-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/training-guide" ><span class="devsite-nav-text" tooltip>Train a custom model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/start/predictions-guide" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/predictions-guide" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/predictions-guide" ><span class="devsite-nav-text" tooltip>Get predictions from a custom model</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Train a model using Vertex AI and the Python SDK</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-bq-prediction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-bq-prediction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-bq-prediction" ><span class="devsite-nav-text" tooltip>Introduction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-bq-prediction/prerequisites" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-bq-prediction/prerequisites" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-bq-prediction/prerequisites" ><span class="devsite-nav-text" tooltip>Prerequisites</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-bq-prediction/create-notebook" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-bq-prediction/create-notebook" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-bq-prediction/create-notebook" ><span class="devsite-nav-text" tooltip>Create a notebook</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-bq-prediction/create-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-bq-prediction/create-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-bq-prediction/create-dataset" ><span class="devsite-nav-text" tooltip>Create a dataset</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-bq-prediction/create-training-script" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-bq-prediction/create-training-script" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-bq-prediction/create-training-script" ><span class="devsite-nav-text" tooltip>Create a training script</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-bq-prediction/train-and-deploy-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-bq-prediction/train-and-deploy-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-bq-prediction/train-and-deploy-model" ><span class="devsite-nav-text" tooltip>Train a model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-bq-prediction/make-prediction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-bq-prediction/make-prediction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-bq-prediction/make-prediction" ><span class="devsite-nav-text" tooltip>Make a prediction</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Integrated ML frameworks</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/start/pytorch" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/pytorch" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/pytorch" ><span class="devsite-nav-text" tooltip>PyTorch</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/start/tensorflow" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/tensorflow" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/tensorflow" ><span class="devsite-nav-text" tooltip>TensorFlow</span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/beginner/bqml" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/beginner/bqml" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/beginner/bqml" ><span class="devsite-nav-text" tooltip>Vertex AI for BigQuery users</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/glossary" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/glossary" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/glossary" ><span class="devsite-nav-text" tooltip>Glossary</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Get started</span> </div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/cloud-environment" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/cloud-environment" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/cloud-environment" ><span class="devsite-nav-text" tooltip>Set up a project and a development environment</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/install-sdk" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/install-sdk" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/install-sdk" ><span class="devsite-nav-text" tooltip>Install the Vertex AI SDK for Python</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/training-methods" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/training-methods" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/training-methods" ><span class="devsite-nav-text" tooltip>Choose a training method</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Try a tutorial</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials" ><span class="devsite-nav-text" tooltip>Tutorials overview</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>AutoML tutorials</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Hello image data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-automl/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-automl/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-automl/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-automl" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-automl" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-automl" ><span class="devsite-nav-text" tooltip>Set up your project and environment</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-automl/dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-automl/dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-automl/dataset" ><span class="devsite-nav-text" tooltip>Create a dataset and import images</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-automl/training" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-automl/training" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-automl/training" ><span class="devsite-nav-text" tooltip>Train an AutoML image classification model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-automl/error-analysis" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-automl/error-analysis" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-automl/error-analysis" ><span class="devsite-nav-text" tooltip>Evaluate and analyze model performance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-automl/deploy-predict" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-automl/deploy-predict" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-automl/deploy-predict" ><span class="devsite-nav-text" tooltip>Deploy a model to an endpoint and make a prediction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-automl/cleanup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-automl/cleanup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-automl/cleanup" ><span class="devsite-nav-text" tooltip>Clean up your project</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Hello tabular data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-automl/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-automl/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-automl/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-automl/setup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-automl/setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-automl/setup" ><span class="devsite-nav-text" tooltip>Set up your project and environment</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-automl/dataset-train" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-automl/dataset-train" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-automl/dataset-train" ><span class="devsite-nav-text" tooltip>Create a dataset and train an AutoML classification model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-automl/deploy-predict" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-automl/deploy-predict" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-automl/deploy-predict" ><span class="devsite-nav-text" tooltip>Deploy a model and request a prediction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-automl/cleanup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-automl/cleanup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-automl/cleanup" ><span class="devsite-nav-text" tooltip>Clean up your project</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Hello text data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/text-classification-automl/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/text-classification-automl/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/text-classification-automl/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/text-classification-automl" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/text-classification-automl" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/text-classification-automl" ><span class="devsite-nav-text" tooltip>Set up your project and environment</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/text-classification-automl/dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/text-classification-automl/dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/text-classification-automl/dataset" ><span class="devsite-nav-text" tooltip>Create a dataset and import documents</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/text-classification-automl/training" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/text-classification-automl/training" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/text-classification-automl/training" ><span class="devsite-nav-text" tooltip>Train an AutoML text classification model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/text-classification-automl/deploy-predict" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/text-classification-automl/deploy-predict" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/text-classification-automl/deploy-predict" ><span class="devsite-nav-text" tooltip>Deploy a model to an endpoint and make a prediction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/text-classification-automl/cleanup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/text-classification-automl/cleanup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/text-classification-automl/cleanup" ><span class="devsite-nav-text" tooltip>Clean up your project</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Hello video data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/video-classification-automl/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/video-classification-automl/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/video-classification-automl/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/video-classification-automl" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/video-classification-automl" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/video-classification-automl" ><span class="devsite-nav-text" tooltip>Set up your project and environment</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/video-classification-automl/dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/video-classification-automl/dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/video-classification-automl/dataset" ><span class="devsite-nav-text" tooltip>Create a dataset and import videos</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/video-classification-automl/training" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/video-classification-automl/training" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/video-classification-automl/training" ><span class="devsite-nav-text" tooltip>Train an AutoML video classification model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/video-classification-automl/deploy-predict" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/video-classification-automl/deploy-predict" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/video-classification-automl/deploy-predict" ><span class="devsite-nav-text" tooltip>Deploy a model to make a batch prediction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/video-classification-automl/cleanup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/video-classification-automl/cleanup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/video-classification-automl/cleanup" ><span class="devsite-nav-text" tooltip>Clean up your project</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Custom training tutorials</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/custom-training-pipelines/tabular" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/custom-training-pipelines/tabular" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/custom-training-pipelines/tabular" ><span class="devsite-nav-text" tooltip>Train a custom tabular model</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Train a TensorFlow Keras image classification model</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-custom/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-custom/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-custom/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-custom" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-custom" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-custom" ><span class="devsite-nav-text" tooltip>Set up your project and environment</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-custom/training" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-custom/training" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-custom/training" ><span class="devsite-nav-text" tooltip>Train a custom image classification model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-custom/serving" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-custom/serving" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-custom/serving" ><span class="devsite-nav-text" tooltip>Serve predictions from a custom image classification model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/image-classification-custom/cleanup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/image-classification-custom/cleanup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/image-classification-custom/cleanup" ><span class="devsite-nav-text" tooltip>Clean up your project</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/custom-training-pipelines/image-classification" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/custom-training-pipelines/image-classification" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/custom-training-pipelines/image-classification" ><span class="devsite-nav-text" tooltip>Fine-tune an image classification model with custom data</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/custom-training-pipelines/custom-training-jupyter-notebooks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/custom-training-pipelines/custom-training-jupyter-notebooks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/custom-training-pipelines/custom-training-jupyter-notebooks" ><span class="devsite-nav-text" tooltip>Custom training Jupyter notebook tutorials</span></a></li><li class="devsite-nav-item devsite-nav-deprecated"><a href="/vertex-ai/docs/tutorials/terraform/terraform-create-user-managed-notebooks-instance" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/terraform/terraform-create-user-managed-notebooks-instance" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/terraform/terraform-create-user-managed-notebooks-instance" ><span class="devsite-nav-text" tooltip>Use Terraform to create a user-managed notebooks instance</span><span class="devsite-nav-icon material-icons" data-icon="deprecated" data-title="Deprecated" aria-hidden="true"></span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Use Generative AI and LLMs</span> </div></li> <li class="devsite-nav-item devsite-nav-external"><a href="/vertex-ai/generative-ai/docs/learn/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/generative-ai/docs/learn/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/generative-ai/docs/learn/overview" ><span class="devsite-nav-text" tooltip>About Generative AI</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/automl-gemini-comparison" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/automl-gemini-comparison" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/automl-gemini-comparison" ><span class="devsite-nav-text" tooltip>Gemini for AutoML text users</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/migrating-to-gemini" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/migrating-to-gemini" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/migrating-to-gemini" ><span class="devsite-nav-text" tooltip>Migrate from AutoML text to Gemini</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Use Vertex AI development tools</span> </div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/general/developer-tools-overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/developer-tools-overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/developer-tools-overview" ><span class="devsite-nav-text" tooltip>Development tools overview</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Use the Vertex AI SDK</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/python-sdk/use-vertex-ai-sdk" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/python-sdk/use-vertex-ai-sdk" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/python-sdk/use-vertex-ai-sdk" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/python-sdk/use-vertex-ai-python-sdk" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/python-sdk/use-vertex-ai-python-sdk" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/python-sdk/use-vertex-ai-python-sdk" ><span class="devsite-nav-text" tooltip>Introduction to the Vertex AI SDK for Python</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Vertex AI SDK for Python classes</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/python-sdk/python-sdk-class-overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/python-sdk/python-sdk-class-overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/python-sdk/python-sdk-class-overview" ><span class="devsite-nav-text" tooltip>Vertex AI SDK classes overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/python-sdk/data-classes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/python-sdk/data-classes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/python-sdk/data-classes" ><span class="devsite-nav-text" tooltip>Data classes</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/python-sdk/training-classes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/python-sdk/training-classes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/python-sdk/training-classes" ><span class="devsite-nav-text" tooltip>Training classes</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/python-sdk/model-classes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/python-sdk/model-classes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/python-sdk/model-classes" ><span class="devsite-nav-text" tooltip>Model classes</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/python-sdk/prediction-classes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/python-sdk/prediction-classes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/python-sdk/prediction-classes" ><span class="devsite-nav-text" tooltip>Prediction classes</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/python-sdk/tracking-classes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/python-sdk/tracking-classes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/python-sdk/tracking-classes" ><span class="devsite-nav-text" tooltip>Tracking classes</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Use Vertex AI in notebooks</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/notebook-solution" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/notebook-solution" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/notebook-solution" ><span class="devsite-nav-text" tooltip>Choose a notebook solution</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Colab Enterprise</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Get started</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/colab/create-console-quickstart" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/colab/create-console-quickstart" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/colab/create-console-quickstart" ><span class="devsite-nav-text" tooltip>Create a notebook by using the console</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Run code</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/colab/connect-to-runtime" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/colab/connect-to-runtime" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/colab/connect-to-runtime" ><span class="devsite-nav-text" tooltip>Connect to a runtime</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Manage runtimes and runtime templates</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/colab/create-runtime-template" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/colab/create-runtime-template" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/colab/create-runtime-template" ><span class="devsite-nav-text" tooltip>Create a runtime template</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/colab/create-runtime" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/colab/create-runtime" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/colab/create-runtime" ><span class="devsite-nav-text" tooltip>Create a runtime</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Vertex AI Workbench</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/introduction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/introduction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/introduction" ><span class="devsite-nav-text" tooltip>Introduction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/notebooks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/notebooks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/notebooks" ><span class="devsite-nav-text" tooltip>Vertex AI Workbench notebook tutorials</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Instances</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/introduction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/introduction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/introduction" ><span class="devsite-nav-text" tooltip>Introduction to instances</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Get started</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/create-console-quickstart" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/create-console-quickstart" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/create-console-quickstart" ><span class="devsite-nav-text" tooltip>Create an instance by using the Console</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/schedule-notebook-run-quickstart" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/schedule-notebook-run-quickstart" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/schedule-notebook-run-quickstart" ><span class="devsite-nav-text" tooltip>Schedule a notebook run</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Set up an instance</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/create" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/create" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/create" ><span class="devsite-nav-text" tooltip>Create an instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/create-specific-version" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/create-specific-version" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/create-specific-version" ><span class="devsite-nav-text" tooltip>Create a specific version of an instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/create-euc-instance" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/create-euc-instance" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/create-euc-instance" ><span class="devsite-nav-text" tooltip>Create an instance with user credential access</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/add-environment" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/add-environment" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/add-environment" ><span class="devsite-nav-text" tooltip>Add a conda environment</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/idle-shutdown" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/idle-shutdown" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/idle-shutdown" ><span class="devsite-nav-text" tooltip>Idle shutdown</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/create-custom-container" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/create-custom-container" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/create-custom-container" ><span class="devsite-nav-text" tooltip>Create an instance using a custom container</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/create-dataproc-enabled" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/create-dataproc-enabled" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/create-dataproc-enabled" ><span class="devsite-nav-text" tooltip>Create a Dataproc-enabled instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/create-third-party-instance" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/create-third-party-instance" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/create-third-party-instance" ><span class="devsite-nav-text" tooltip>Create an instance with third party credentials</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/manage-metadata" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/manage-metadata" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/manage-metadata" ><span class="devsite-nav-text" tooltip>Manage features through metadata</span></a></li><li class="devsite-nav-item devsite-nav-limited"><a href="/vertex-ai/docs/workbench/instances/reservations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/reservations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/reservations" ><span class="devsite-nav-text" tooltip>Use reservations</span><span class="devsite-nav-icon material-icons" data-icon="limited" data-title="Limited Access" aria-hidden="true"></span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Connect to data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/bigquery" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/bigquery" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/bigquery" ><span class="devsite-nav-text" tooltip>Query data in BigQuery from within JupyterLab</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/cloud-storage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/cloud-storage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/cloud-storage" ><span class="devsite-nav-text" tooltip>Access Cloud Storage buckets and files in JupyterLab</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Explore and visualize data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/visualize-data-bigquery" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/visualize-data-bigquery" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/visualize-data-bigquery" ><span class="devsite-nav-text" tooltip>Explore and visualize data in BigQuery</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Maintain</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/manage-environment" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/manage-environment" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/manage-environment" ><span class="devsite-nav-text" tooltip>Manage your conda environment</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/save-to-github" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/save-to-github" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/save-to-github" ><span class="devsite-nav-text" tooltip>Save a notebook to GitHub</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/workbench/instances/restore" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/restore" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/restore" ><span class="devsite-nav-text" tooltip>Back up and restore an instance</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/shut-down" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/shut-down" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/shut-down" ><span class="devsite-nav-text" tooltip>Shut down an instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/upgrade" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/upgrade" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/upgrade" ><span class="devsite-nav-text" tooltip>Upgrade the environment of an instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/ssh-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/ssh-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/ssh-access" ><span class="devsite-nav-text" tooltip>Access JupyterLab by using SSH</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/migrate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/migrate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/migrate" ><span class="devsite-nav-text" tooltip>Migrate data to a new instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/change-machine-type" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/change-machine-type" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/change-machine-type" ><span class="devsite-nav-text" tooltip>Change machine type and configure GPUs</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Monitor</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/monitor-health" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/monitor-health" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/monitor-health" ><span class="devsite-nav-text" tooltip>Monitor health status</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Control access</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/iam" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/iam" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/iam" ><span class="devsite-nav-text" tooltip>Access control</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/manage-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/manage-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/manage-access" ><span class="devsite-nav-text" tooltip>Manage access to an instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/manage-access-jupyterlab" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/manage-access-jupyterlab" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/manage-access-jupyterlab" ><span class="devsite-nav-text" tooltip>Manage access to an instance's JupyterLab interface</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/cmek" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/cmek" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/cmek" ><span class="devsite-nav-text" tooltip>Use customer-managed encryption keys</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/instances/service-perimeter" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/instances/service-perimeter" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/instances/service-perimeter" ><span class="devsite-nav-text" tooltip>Use an instance within a service perimeter</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/troubleshooting-workbench#instances" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/troubleshooting-workbench#instances" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/troubleshooting-workbench#instances" ><span class="devsite-nav-text" tooltip>Troubleshoot Vertex AI Workbench instances</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/release-notes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/release-notes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/release-notes" ><span class="devsite-nav-text" tooltip>Vertex AI Workbench release notes</span></a></li><li class="devsite-nav-item devsite-nav-heading devsite-nav-deprecated"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Managed notebooks</span><span class="devsite-nav-icon material-icons" data-icon="deprecated" data-title="Deprecated" aria-hidden="true"></span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/introduction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/introduction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/introduction" ><span class="devsite-nav-text" tooltip>Introduction to managed notebooks</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Get started</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/create-managed-notebooks-instance-console-quickstart" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/create-managed-notebooks-instance-console-quickstart" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/create-managed-notebooks-instance-console-quickstart" ><span class="devsite-nav-text" tooltip>Create a managed notebooks instance by using the Cloud console</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/schedule-managed-notebooks-run-quickstart" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/schedule-managed-notebooks-run-quickstart" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/schedule-managed-notebooks-run-quickstart" ><span class="devsite-nav-text" tooltip>Schedule a managed notebooks run</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Set up a managed notebooks instance</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/create-instance" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/create-instance" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/create-instance" ><span class="devsite-nav-text" tooltip>Create a managed notebooks instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/custom-container" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/custom-container" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/custom-container" ><span class="devsite-nav-text" tooltip>Create an instance with a custom container</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/dataproc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/dataproc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/dataproc" ><span class="devsite-nav-text" tooltip>Run a managed notebooks instance on a Dataproc cluster</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/serverless-spark" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/serverless-spark" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/serverless-spark" ><span class="devsite-nav-text" tooltip>Use Dataproc Serverless Spark with managed notebooks</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/idle-shutdown" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/idle-shutdown" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/idle-shutdown" ><span class="devsite-nav-text" tooltip>Idle shutdown</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/versions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/versions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/versions" ><span class="devsite-nav-text" tooltip>Managed notebooks versions</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Connect to data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/bigquery" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/bigquery" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/bigquery" ><span class="devsite-nav-text" tooltip>Query data in BigQuery from within JupyterLab</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/cloud-storage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/cloud-storage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/cloud-storage" ><span class="devsite-nav-text" tooltip>Access Cloud Storage buckets and files in JupyterLab</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Explore and visualize data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/visualize-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/visualize-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/visualize-data" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/visualize-data-bigquery" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/visualize-data-bigquery" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/visualize-data-bigquery" ><span class="devsite-nav-text" tooltip>Explore and visualize data in BigQuery</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Develop a model</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/develop" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/develop" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/develop" ><span class="devsite-nav-text" tooltip>Model development in a managed notebooks instance</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Deploy</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/executor" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/executor" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/executor" ><span class="devsite-nav-text" tooltip>Run notebook files with the executor</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/executor-parameters" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/executor-parameters" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/executor-parameters" ><span class="devsite-nav-text" tooltip>Run notebook executions with parameters</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Maintain</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/migrate-to-instances" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/migrate-to-instances" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/migrate-to-instances" ><span class="devsite-nav-text" tooltip>Migrate to a Vertex AI Workbench instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/save-to-github" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/save-to-github" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/save-to-github" ><span class="devsite-nav-text" tooltip>Save a notebook to GitHub</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/change-machine-type" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/change-machine-type" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/change-machine-type" ><span class="devsite-nav-text" tooltip>Change machine type and configure GPUs of a managed notebooks instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/upgrade" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/upgrade" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/upgrade" ><span class="devsite-nav-text" tooltip>Upgrade the environment of a managed notebooks instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/migrate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/migrate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/migrate" ><span class="devsite-nav-text" tooltip>Migrate data to a new managed notebooks instance</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Monitor</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/audit-logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/audit-logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/audit-logging" ><span class="devsite-nav-text" tooltip>Audit logging</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Control access</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/access-control" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/access-control" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/access-control" ><span class="devsite-nav-text" tooltip>Access control</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/manage-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/manage-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/manage-access" ><span class="devsite-nav-text" tooltip>Manage access to an instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/manage-access-jupyterlab" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/manage-access-jupyterlab" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/manage-access-jupyterlab" ><span class="devsite-nav-text" tooltip>Manage access to an instance's JupyterLab interface</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/cmek" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/cmek" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/cmek" ><span class="devsite-nav-text" tooltip>Use customer-managed encryption keys</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/networking" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/networking" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/networking" ><span class="devsite-nav-text" tooltip>Set up a network</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/managed/service-perimeter" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/managed/service-perimeter" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/managed/service-perimeter" ><span class="devsite-nav-text" tooltip>Use a managed notebooks instance within a service perimeter</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/troubleshooting-workbench#managed-notebooks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/troubleshooting-workbench#managed-notebooks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/troubleshooting-workbench#managed-notebooks" ><span class="devsite-nav-text" tooltip>Troubleshoot managed notebooks</span></a></li><li class="devsite-nav-item devsite-nav-heading devsite-nav-deprecated"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>User-managed notebooks</span><span class="devsite-nav-icon material-icons" data-icon="deprecated" data-title="Deprecated" aria-hidden="true"></span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/introduction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/introduction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/introduction" ><span class="devsite-nav-text" tooltip>Introduction to user-managed notebooks</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Get started</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/create-user-managed-notebooks-instance-console-quickstart" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/create-user-managed-notebooks-instance-console-quickstart" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/create-user-managed-notebooks-instance-console-quickstart" ><span class="devsite-nav-text" tooltip>Create a user-managed notebooks instance by using the Cloud console</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Set up a user-managed notebooks instance</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/create-new" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/create-new" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/create-new" ><span class="devsite-nav-text" tooltip>Create a user-managed notebooks instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/create-specific-version" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/create-specific-version" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/create-specific-version" ><span class="devsite-nav-text" tooltip>Create a specific version of an instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/create-after-end-of-support" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/create-after-end-of-support" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/create-after-end-of-support" ><span class="devsite-nav-text" tooltip>Create instance after end of patch and support date</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/dependencies" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/dependencies" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/dependencies" ><span class="devsite-nav-text" tooltip>Install dependencies</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/images" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/images" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/images" ><span class="devsite-nav-text" tooltip>Choose a virtual machine image</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/custom-container" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/custom-container" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/custom-container" ><span class="devsite-nav-text" tooltip>Create an instance with a custom container</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Explore data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-external"><a href="/architecture/data-science-with-r-on-gcp-eda" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /architecture/data-science-with-r-on-gcp-eda" track-type="bookNav" track-name="click" track-metadata-eventdetail="/architecture/data-science-with-r-on-gcp-eda" ><span class="devsite-nav-text" tooltip>Data science with R on Google Cloud: Exploratory data analysis tutorial</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Monitor</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/monitor-health" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/monitor-health" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/monitor-health" ><span class="devsite-nav-text" tooltip>Monitor health status</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/audit-logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/audit-logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/audit-logging" ><span class="devsite-nav-text" tooltip>Audit logging</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Control access</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/iam" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/iam" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/iam" ><span class="devsite-nav-text" tooltip>Access control</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/manage-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/manage-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/manage-access" ><span class="devsite-nav-text" tooltip>Manage access to an instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/manage-access-jupyterlab" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/manage-access-jupyterlab" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/manage-access-jupyterlab" ><span class="devsite-nav-text" tooltip>Manage access to an instance's JupyterLab interface</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/cmek" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/cmek" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/cmek" ><span class="devsite-nav-text" tooltip>Customer-managed encryption keys</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/service-perimeter" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/service-perimeter" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/service-perimeter" ><span class="devsite-nav-text" tooltip>Use a user-managed notebooks instance within a service perimeter</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/shielded-vm" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/shielded-vm" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/shielded-vm" ><span class="devsite-nav-text" tooltip>Use a shielded virtual machine with user-managed notebooks</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/vpc-standalone" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/vpc-standalone" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/vpc-standalone" ><span class="devsite-nav-text" tooltip>Tutorial: Create a notebooks instance in a VPC network</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Maintain</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/migrate-to-instances" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/migrate-to-instances" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/migrate-to-instances" ><span class="devsite-nav-text" tooltip>Migrate to a Vertex AI Workbench instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/save-to-github" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/save-to-github" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/save-to-github" ><span class="devsite-nav-text" tooltip>Save a notebook to GitHub</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/backup-snapshot" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/backup-snapshot" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/backup-snapshot" ><span class="devsite-nav-text" tooltip>Back up your data by using a snapshot</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/shut-down" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/shut-down" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/shut-down" ><span class="devsite-nav-text" tooltip>Shut down a user-managed notebooks instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/manage-hardware-accelerators" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/manage-hardware-accelerators" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/manage-hardware-accelerators" ><span class="devsite-nav-text" tooltip>Change machine type and configure GPUs of a user-managed notebooks instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/upgrade" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/upgrade" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/upgrade" ><span class="devsite-nav-text" tooltip>Upgrade the environment of a user-managed notebooks instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/migrate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/migrate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/migrate" ><span class="devsite-nav-text" tooltip>Migrate data to a new user-managed notebooks instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/registering-legacy-notebooks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/registering-legacy-notebooks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/registering-legacy-notebooks" ><span class="devsite-nav-text" tooltip>Register a legacy instance with Notebooks API</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/workbench/user-managed/ssh-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/workbench/user-managed/ssh-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/workbench/user-managed/ssh-access" ><span class="devsite-nav-text" tooltip>Access JupyterLab by using SSH</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/troubleshooting-workbench#user-managed-notebooks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/troubleshooting-workbench#user-managed-notebooks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/troubleshooting-workbench#user-managed-notebooks" ><span class="devsite-nav-text" tooltip>Troubleshoot user-managed notebooks</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/use-terraform-vertex-ai" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/use-terraform-vertex-ai" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/use-terraform-vertex-ai" ><span class="devsite-nav-text" tooltip>Terraform support for Vertex AI</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Develop and use ML models</span> </div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/training-overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training-overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training-overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Image data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Classification</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/classification/prepare-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/classification/prepare-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/classification/prepare-data" ><span class="devsite-nav-text" tooltip>Prepare data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/classification/create-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/classification/create-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/classification/create-dataset" ><span class="devsite-nav-text" tooltip>Create dataset</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/classification/train-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/classification/train-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/classification/train-model" ><span class="devsite-nav-text" tooltip>Train model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/classification/evaluate-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/classification/evaluate-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/classification/evaluate-model" ><span class="devsite-nav-text" tooltip>Evaluate model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/classification/get-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/classification/get-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/classification/get-predictions" ><span class="devsite-nav-text" tooltip>Get predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/classification/interpret-results" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/classification/interpret-results" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/classification/interpret-results" ><span class="devsite-nav-text" tooltip>Interpret results</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Object detection</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/object-detection/prepare-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/object-detection/prepare-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/object-detection/prepare-data" ><span class="devsite-nav-text" tooltip>Prepare data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/object-detection/create-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/object-detection/create-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/object-detection/create-dataset" ><span class="devsite-nav-text" tooltip>Create dataset</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/object-detection/train-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/object-detection/train-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/object-detection/train-model" ><span class="devsite-nav-text" tooltip>Train model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/object-detection/evaluate-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/object-detection/evaluate-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/object-detection/evaluate-model" ><span class="devsite-nav-text" tooltip>Evaluate model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/object-detection/get-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/object-detection/get-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/object-detection/get-predictions" ><span class="devsite-nav-text" tooltip>Get predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/image-data/object-detection/interpret-results" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/image-data/object-detection/interpret-results" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/image-data/object-detection/interpret-results" ><span class="devsite-nav-text" tooltip>Interpret results</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/base64" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/base64" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/base64" ><span class="devsite-nav-text" tooltip>Encode image data using Base64</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/export/export-edge-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/export/export-edge-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/export/export-edge-model" ><span class="devsite-nav-text" tooltip>Export an AutoML Edge model</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Tabular data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular101" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular101" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular101" ><span class="devsite-nav-text" tooltip>Introduction to tabular data</span></a></li><li class="devsite-nav-item devsite-nav-expandable devsite-nav-preview"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Tabular Workflows</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/feature-engineering" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/feature-engineering" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/feature-engineering" ><span class="devsite-nav-text" tooltip>Feature engineering</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>End-to-End AutoML</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl-train" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl-train" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl-train" ><span class="devsite-nav-text" tooltip>Train a model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl-online-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl-online-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl-online-predictions" ><span class="devsite-nav-text" tooltip>Get online predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl-batch-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl-batch-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/e2e-automl-batch-predictions" ><span class="devsite-nav-text" tooltip>Get batch predictions</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable devsite-nav-preview"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>TabNet</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/tabnet" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/tabnet" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/tabnet" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/tabnet-train" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/tabnet-train" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/tabnet-train" ><span class="devsite-nav-text" tooltip>Train a model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/tabnet-online-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/tabnet-online-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/tabnet-online-predictions" ><span class="devsite-nav-text" tooltip>Get online predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/tabnet-batch-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/tabnet-batch-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/tabnet-batch-predictions" ><span class="devsite-nav-text" tooltip>Get batch predictions</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable devsite-nav-preview"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Wide & Deep</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep-train" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep-train" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep-train" ><span class="devsite-nav-text" tooltip>Train a model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep-online-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep-online-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep-online-predictions" ><span class="devsite-nav-text" tooltip>Get online predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep-batch-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep-batch-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/wide-and-deep-batch-predictions" ><span class="devsite-nav-text" tooltip>Get batch predictions</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable devsite-nav-preview"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Forecasting</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/forecasting" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/forecasting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/forecasting" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/forecasting-train" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/forecasting-train" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/forecasting-train" ><span class="devsite-nav-text" tooltip>Train a model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/forecasting-online-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/forecasting-online-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/forecasting-online-predictions" ><span class="devsite-nav-text" tooltip>Get online predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/forecasting-batch-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/forecasting-batch-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/forecasting-batch-predictions" ><span class="devsite-nav-text" tooltip>Get batch predictions</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/pricing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/pricing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/pricing" ><span class="devsite-nav-text" tooltip>Pricing</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/service-accounts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/service-accounts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/service-accounts" ><span class="devsite-nav-text" tooltip>Service accounts</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/tabular-workflows/quotas" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/tabular-workflows/quotas" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/tabular-workflows/quotas" ><span class="devsite-nav-text" tooltip>Manage quotas</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Perform classification and regression with AutoML</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/classification-regression/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/classification-regression/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/classification-regression/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/tabular-automl/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/tabular-automl/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/tabular-automl/overview" ><span class="devsite-nav-text" tooltip>Quickstart: AutoML Classification (Cloud Console)</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/classification-regression/prepare-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/classification-regression/prepare-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/classification-regression/prepare-data" ><span class="devsite-nav-text" tooltip>Prepare training data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/classification-regression/create-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/classification-regression/create-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/classification-regression/create-dataset" ><span class="devsite-nav-text" tooltip>Create a dataset</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/classification-regression/train-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/classification-regression/train-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/classification-regression/train-model" ><span class="devsite-nav-text" tooltip>Train a model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/classification-regression/evaluate-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/classification-regression/evaluate-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/classification-regression/evaluate-model" ><span class="devsite-nav-text" tooltip>Evaluate model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/classification-regression/logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/classification-regression/logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/classification-regression/logging" ><span class="devsite-nav-text" tooltip>View model architecture</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/classification-regression/get-online-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions" ><span class="devsite-nav-text" tooltip>Get online predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/classification-regression/get-batch-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/classification-regression/get-batch-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/classification-regression/get-batch-predictions" ><span class="devsite-nav-text" tooltip>Get batch predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/export/export-model-tabular" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/export/export-model-tabular" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/export/export-model-tabular" ><span class="devsite-nav-text" tooltip>Export model</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Perform forecasting with AutoML</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/forecasting/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/forecasting/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/forecasting/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/forecasting/prepare-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/forecasting/prepare-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/forecasting/prepare-data" ><span class="devsite-nav-text" tooltip>Prepare training data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/forecasting/create-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/forecasting/create-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/forecasting/create-dataset" ><span class="devsite-nav-text" tooltip>Create a dataset</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/forecasting/train-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/forecasting/train-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/forecasting/train-model" ><span class="devsite-nav-text" tooltip>Train a model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/forecasting/evaluate-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/forecasting/evaluate-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/forecasting/evaluate-model" ><span class="devsite-nav-text" tooltip>Evaluate model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/forecasting/get-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/forecasting/get-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/forecasting/get-predictions" ><span class="devsite-nav-text" tooltip>Get predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/forecasting/hierarchical" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/forecasting/hierarchical" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/forecasting/hierarchical" ><span class="devsite-nav-text" tooltip>Hierarchical forecasting</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/forecasting-arima/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/forecasting-arima/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/forecasting-arima/overview" ><span class="devsite-nav-text" tooltip>Perform forecasting with ARIMA+</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/forecasting-prophet" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/forecasting-prophet" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/forecasting-prophet" ><span class="devsite-nav-text" tooltip>Perform forecasting with Prophet</span></a></li><li class="devsite-nav-item devsite-nav-external"><a href="/enterprise-knowledge-graph/docs/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /enterprise-knowledge-graph/docs/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/enterprise-knowledge-graph/docs/overview" ><span class="devsite-nav-text" tooltip>Perform entity reconciliation</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/classification-explanations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/classification-explanations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/classification-explanations" ><span class="devsite-nav-text" tooltip>Feature attributions for classification and regression</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/forecasting-explanations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/forecasting-explanations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/forecasting-explanations" ><span class="devsite-nav-text" tooltip>Feature attributions for forecasting</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/datasets/data-types-tabular" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/datasets/data-types-tabular" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/datasets/data-types-tabular" ><span class="devsite-nav-text" tooltip>Data types and transformations for tabular AutoML data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/forecasting-parameters" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/forecasting-parameters" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/forecasting-parameters" ><span class="devsite-nav-text" tooltip>Training parameters for forecasting</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/data-splits" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/data-splits" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/data-splits" ><span class="devsite-nav-text" tooltip>Data splits for tabular data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/tabular-data/bp-tabular" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tabular-data/bp-tabular" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tabular-data/bp-tabular" ><span class="devsite-nav-text" tooltip>Best practices for creating tabular training data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/timeseries-insights" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/timeseries-insights" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/timeseries-insights" ><span class="devsite-nav-text" tooltip>Forecast with Timeseries Insights</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Text data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Classification</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/classification/prepare-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/classification/prepare-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/classification/prepare-data" ><span class="devsite-nav-text" tooltip>Prepare data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/classification/create-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/classification/create-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/classification/create-dataset" ><span class="devsite-nav-text" tooltip>Create dataset</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/classification/train-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/classification/train-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/classification/train-model" ><span class="devsite-nav-text" tooltip>Train model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/classification/evaluate-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/classification/evaluate-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/classification/evaluate-model" ><span class="devsite-nav-text" tooltip>Evaluate model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/classification/get-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/classification/get-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/classification/get-predictions" ><span class="devsite-nav-text" tooltip>Get predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/classification/interpret-results" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/classification/interpret-results" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/classification/interpret-results" ><span class="devsite-nav-text" tooltip>Interpret results</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Entity extraction</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/entity-extraction/prepare-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/entity-extraction/prepare-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/entity-extraction/prepare-data" ><span class="devsite-nav-text" tooltip>Prepare data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/entity-extraction/create-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/entity-extraction/create-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/entity-extraction/create-dataset" ><span class="devsite-nav-text" tooltip>Create dataset</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/entity-extraction/train-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/entity-extraction/train-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/entity-extraction/train-model" ><span class="devsite-nav-text" tooltip>Train model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/entity-extraction/evaluate-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/entity-extraction/evaluate-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/entity-extraction/evaluate-model" ><span class="devsite-nav-text" tooltip>Evaluate model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/entity-extraction/get-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/entity-extraction/get-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/entity-extraction/get-predictions" ><span class="devsite-nav-text" tooltip>Get predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/entity-extraction/interpret-results" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/entity-extraction/interpret-results" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/entity-extraction/interpret-results" ><span class="devsite-nav-text" tooltip>Interpret results</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Sentiment analysis</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/sentiment-analysis/prepare-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/sentiment-analysis/prepare-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/sentiment-analysis/prepare-data" ><span class="devsite-nav-text" tooltip>Prepare data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/sentiment-analysis/create-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/sentiment-analysis/create-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/sentiment-analysis/create-dataset" ><span class="devsite-nav-text" tooltip>Create dataset</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/sentiment-analysis/train-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/sentiment-analysis/train-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/sentiment-analysis/train-model" ><span class="devsite-nav-text" tooltip>Train model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/sentiment-analysis/evaluate-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/sentiment-analysis/evaluate-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/sentiment-analysis/evaluate-model" ><span class="devsite-nav-text" tooltip>Evaluate model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/sentiment-analysis/get-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/sentiment-analysis/get-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/sentiment-analysis/get-predictions" ><span class="devsite-nav-text" tooltip>Get predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/text-data/sentiment-analysis/interpret-results" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/text-data/sentiment-analysis/interpret-results" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/text-data/sentiment-analysis/interpret-results" ><span class="devsite-nav-text" tooltip>Interpret results</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Video data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Action recognition</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/action-recognition/prepare-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/action-recognition/prepare-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/action-recognition/prepare-data" ><span class="devsite-nav-text" tooltip>Prepare data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/action-recognition/create-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/action-recognition/create-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/action-recognition/create-dataset" ><span class="devsite-nav-text" tooltip>Create dataset</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/action-recognition/train-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/action-recognition/train-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/action-recognition/train-model" ><span class="devsite-nav-text" tooltip>Train model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/action-recognition/evaluate-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/action-recognition/evaluate-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/action-recognition/evaluate-model" ><span class="devsite-nav-text" tooltip>Evaluate model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/action-recognition/get-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/action-recognition/get-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/action-recognition/get-predictions" ><span class="devsite-nav-text" tooltip>Get predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/action-recognition/interpret-results" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/action-recognition/interpret-results" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/action-recognition/interpret-results" ><span class="devsite-nav-text" tooltip>Interpret results</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Classification</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/classification/prepare-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/classification/prepare-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/classification/prepare-data" ><span class="devsite-nav-text" tooltip>Prepare data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/classification/create-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/classification/create-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/classification/create-dataset" ><span class="devsite-nav-text" tooltip>Create dataset</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/classification/train-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/classification/train-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/classification/train-model" ><span class="devsite-nav-text" tooltip>Train model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/classification/evaluate-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/classification/evaluate-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/classification/evaluate-model" ><span class="devsite-nav-text" tooltip>Evaluate model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/classification/get-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/classification/get-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/classification/get-predictions" ><span class="devsite-nav-text" tooltip>Get predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/classification/interpret-results" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/classification/interpret-results" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/classification/interpret-results" ><span class="devsite-nav-text" tooltip>Interpret results</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Object tracking</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/object-tracking/prepare-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/object-tracking/prepare-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/object-tracking/prepare-data" ><span class="devsite-nav-text" tooltip>Prepare data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/object-tracking/create-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/object-tracking/create-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/object-tracking/create-dataset" ><span class="devsite-nav-text" tooltip>Create dataset</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/object-tracking/train-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/object-tracking/train-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/object-tracking/train-model" ><span class="devsite-nav-text" tooltip>Train model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/object-tracking/evaluate-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/object-tracking/evaluate-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/object-tracking/evaluate-model" ><span class="devsite-nav-text" tooltip>Evaluate model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/object-tracking/get-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/object-tracking/get-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/object-tracking/get-predictions" ><span class="devsite-nav-text" tooltip>Get predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/video-data/object-tracking/interpret-results" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/video-data/object-tracking/interpret-results" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/video-data/object-tracking/interpret-results" ><span class="devsite-nav-text" tooltip>Interpret results</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Train an AutoML Edge model</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/automl-edge-console" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/automl-edge-console" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/automl-edge-console" ><span class="devsite-nav-text" tooltip>Using the Console</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/automl-edge-api" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/automl-edge-api" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/automl-edge-api" ><span class="devsite-nav-text" tooltip>Using the API</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Custom training</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/overview" ><span class="devsite-nav-text" tooltip>Overview of custom training</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Load and prepare data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/cloud-storage-file-system" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/cloud-storage-file-system" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/cloud-storage-file-system" ><span class="devsite-nav-text" tooltip>Use Cloud Storage as a mounted file system</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/train-nfs-share" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/train-nfs-share" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/train-nfs-share" ><span class="devsite-nav-text" tooltip>Mount an NFS share for custom training</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/using-managed-datasets" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/using-managed-datasets" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/using-managed-datasets" ><span class="devsite-nav-text" tooltip>Use managed datasets</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Prepare training application</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/understanding-training-service" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/understanding-training-service" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/understanding-training-service" ><span class="devsite-nav-text" tooltip>Understand the custom training service</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/code-requirements" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/code-requirements" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/code-requirements" ><span class="devsite-nav-text" tooltip>Prepare training code</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Use prebuilt containers</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/create-python-pre-built-container" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/create-python-pre-built-container" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/create-python-pre-built-container" ><span class="devsite-nav-text" tooltip>Create a Python training application for a prebuilt container</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/pre-built-containers" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/pre-built-containers" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/pre-built-containers" ><span class="devsite-nav-text" tooltip>Prebuilt containers for custom training</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Use custom containers</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/containers-overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/containers-overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/containers-overview" ><span class="devsite-nav-text" tooltip>Custom containers for training</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/create-custom-container" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/create-custom-container" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/create-custom-container" ><span class="devsite-nav-text" tooltip>Create a custom container</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/containerize-run-code-local" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/containerize-run-code-local" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/containerize-run-code-local" ><span class="devsite-nav-text" tooltip>Containerize and run training code locally</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/deep-learning" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/deep-learning" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/deep-learning" ><span class="devsite-nav-text" tooltip>Use Deep Learning VM Images and Containers</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Train on a persistent resource</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/persistent-resource-overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/persistent-resource-overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/persistent-resource-overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/persistent-resource-create" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/persistent-resource-create" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/persistent-resource-create" ><span class="devsite-nav-text" tooltip>Create persistent resource</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/persistent-resource-train" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/persistent-resource-train" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/persistent-resource-train" ><span class="devsite-nav-text" tooltip>Run training jobs on a persistent resource</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/persistent-resource-get" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/persistent-resource-get" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/persistent-resource-get" ><span class="devsite-nav-text" tooltip>Get persistent resource information</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/persistent-resource-reboot" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/persistent-resource-reboot" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/persistent-resource-reboot" ><span class="devsite-nav-text" tooltip>Reboot a persistent resource</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/persistent-resource-delete" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/persistent-resource-delete" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/persistent-resource-delete" ><span class="devsite-nav-text" tooltip>Delete a persistent resource</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Configure training job</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/custom-training-methods" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/custom-training-methods" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/custom-training-methods" ><span class="devsite-nav-text" tooltip>Choose a custom training method</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/configure-container-settings" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/configure-container-settings" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/configure-container-settings" ><span class="devsite-nav-text" tooltip>Configure container settings for training</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/configure-compute" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/configure-compute" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/configure-compute" ><span class="devsite-nav-text" tooltip>Configure compute resources for training</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/training/use-reservations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/use-reservations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/use-reservations" ><span class="devsite-nav-text" tooltip>Use reservations with training</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/training/use-spot-vms" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/use-spot-vms" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/use-spot-vms" ><span class="devsite-nav-text" tooltip>Use Spot VMs with training</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Submit training job</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/create-custom-job" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/create-custom-job" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/create-custom-job" ><span class="devsite-nav-text" tooltip>Create custom jobs</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Hyperparameter tuning</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/hyperparameter-tuning-overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/hyperparameter-tuning-overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/hyperparameter-tuning-overview" ><span class="devsite-nav-text" tooltip>Hyperparameter tuning overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/using-hyperparameter-tuning" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/using-hyperparameter-tuning" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/using-hyperparameter-tuning" ><span class="devsite-nav-text" tooltip>Use hyperparameter tuning</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/create-training-pipeline" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/create-training-pipeline" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/create-training-pipeline" ><span class="devsite-nav-text" tooltip>Create training pipelines</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/schedule-jobs-dws" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/schedule-jobs-dws" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/schedule-jobs-dws" ><span class="devsite-nav-text" tooltip>Schedule jobs based on resource availability</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/distributed-training" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/distributed-training" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/distributed-training" ><span class="devsite-nav-text" tooltip>Use distributed training</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/training-with-tpu-vm" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/training-with-tpu-vm" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/training-with-tpu-vm" ><span class="devsite-nav-text" tooltip>Training with Cloud TPU VMs</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/using-private-ip" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/using-private-ip" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/using-private-ip" ><span class="devsite-nav-text" tooltip>Use private IP for custom training</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/psc-i-egress" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/psc-i-egress" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/psc-i-egress" ><span class="devsite-nav-text" tooltip>Use Private Service Connect interface for training</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Perform Neural Architecture Search</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/neural-architecture-search/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/neural-architecture-search/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/neural-architecture-search/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/neural-architecture-search/environment-setup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/neural-architecture-search/environment-setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/neural-architecture-search/environment-setup" ><span class="devsite-nav-text" tooltip>Set up environment</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/neural-architecture-search/nas-tutorials" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/neural-architecture-search/nas-tutorials" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/neural-architecture-search/nas-tutorials" ><span class="devsite-nav-text" tooltip>Beginner tutorials</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/neural-architecture-search/suggested-workflow" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/neural-architecture-search/suggested-workflow" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/neural-architecture-search/suggested-workflow" ><span class="devsite-nav-text" tooltip>Best practices and workflow</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/neural-architecture-search/proxy-task-design" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/neural-architecture-search/proxy-task-design" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/neural-architecture-search/proxy-task-design" ><span class="devsite-nav-text" tooltip>Proxy task design</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/neural-architecture-search/pytorch-efficient-training" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/neural-architecture-search/pytorch-efficient-training" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/neural-architecture-search/pytorch-efficient-training" ><span class="devsite-nav-text" tooltip>Optimize training speed for PyTorch</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/neural-architecture-search/pre-built-trainer" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/neural-architecture-search/pre-built-trainer" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/neural-architecture-search/pre-built-trainer" ><span class="devsite-nav-text" tooltip>Use prebuilt training containers and search spaces</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Monitor and debug</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/monitor-debug-interactive-shell" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/monitor-debug-interactive-shell" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/monitor-debug-interactive-shell" ><span class="devsite-nav-text" tooltip>Monitor and debug training using an interactive shell</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/tensorboard-profiler" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/tensorboard-profiler" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/tensorboard-profiler" ><span class="devsite-nav-text" tooltip>Profile model training performance</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Optimize using Vertex AI Vizier</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/vizier/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vizier/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vizier/overview" ><span class="devsite-nav-text" tooltip>Overview of Vertex AI Vizier</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/vizier/using-vizier" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vizier/using-vizier" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vizier/using-vizier" ><span class="devsite-nav-text" tooltip>Create Vertex AI Vizier studies</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/vizier/vizier-notebook-tutorials" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vizier/vizier-notebook-tutorials" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vizier/vizier-notebook-tutorials" ><span class="devsite-nav-text" tooltip>Vertex AI Vizier notebook tutorials</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/get-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/get-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/get-predictions" ><span class="devsite-nav-text" tooltip>Get predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/continuous-training-tutorial" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/continuous-training-tutorial" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/continuous-training-tutorial" ><span class="devsite-nav-text" tooltip>Tutorial: Build a pipeline for continuous training</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Migrate to Vertex AI</span> </div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/ai-platform-users" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/ai-platform-users" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/ai-platform-users" ><span class="devsite-nav-text" tooltip>Vertex AI for AI Platform users</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/automl-users" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/automl-users" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/automl-users" ><span class="devsite-nav-text" tooltip>Vertex AI for legacy AutoML users</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/migrating-to-vertex-ai" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/migrating-to-vertex-ai" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/migrating-to-vertex-ai" ><span class="devsite-nav-text" tooltip>Migrate from AI Platform and legacy AutoML</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/start/migrating-applications" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/start/migrating-applications" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/start/migrating-applications" ><span class="devsite-nav-text" tooltip>Migrate your applications to Vertex AI</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Create and manage datasets</span> </div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/datasets/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/datasets/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/datasets/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/general/ml-use" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/ml-use" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/ml-use" ><span class="devsite-nav-text" tooltip>Data splits for AutoML models</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/datasets/create-annotation-set" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/datasets/create-annotation-set" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/datasets/create-annotation-set" ><span class="devsite-nav-text" tooltip>Create an annotation set</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/datasets/delete-annotation-set" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/datasets/delete-annotation-set" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/datasets/delete-annotation-set" ><span class="devsite-nav-text" tooltip>Delete an annotation set</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/datasets/label-using-console" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/datasets/label-using-console" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/datasets/label-using-console" ><span class="devsite-nav-text" tooltip>Add labels (console)</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/datasets/export-metadata-annotations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/datasets/export-metadata-annotations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/datasets/export-metadata-annotations" ><span class="devsite-nav-text" tooltip>Export metadata and annotations from a dataset</span></a></li> <li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/datasets/manage-dataset-versions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/datasets/manage-dataset-versions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/datasets/manage-dataset-versions" ><span class="devsite-nav-text" tooltip>Manage dataset versions</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/model-registry/model-data-catalog" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-registry/model-data-catalog" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-registry/model-data-catalog" ><span class="devsite-nav-text" tooltip>Use Data Catalog to search for model and dataset resources</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Get predictions</span> </div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Configure models for prediction</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/training/exporting-model-artifacts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/training/exporting-model-artifacts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/training/exporting-model-artifacts" ><span class="devsite-nav-text" tooltip>Export model artifacts for prediction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/pre-built-containers" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/pre-built-containers" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/pre-built-containers" ><span class="devsite-nav-text" tooltip>Prebuilt containers for prediction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/custom-container-requirements" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/custom-container-requirements" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/custom-container-requirements" ><span class="devsite-nav-text" tooltip>Custom container requirements for prediction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/use-custom-container" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/use-custom-container" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/use-custom-container" ><span class="devsite-nav-text" tooltip>Use a custom container for prediction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/optimized-tensorflow-runtime" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/optimized-tensorflow-runtime" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/optimized-tensorflow-runtime" ><span class="devsite-nav-text" tooltip>Use the optimized TensorFlow runtime</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/using-nvidia-triton" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/using-nvidia-triton" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/using-nvidia-triton" ><span class="devsite-nav-text" tooltip>Serve predictions with NVIDIA Triton</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/custom-prediction-routines" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/custom-prediction-routines" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/custom-prediction-routines" ><span class="devsite-nav-text" tooltip>Custom Prediction Routines</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/predictions/migrate-cpr" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/migrate-cpr" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/migrate-cpr" ><span class="devsite-nav-text" tooltip>Migrate Custom Prediction Routines from AI Platform</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Get online predictions</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/deployment" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/deployment" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/deployment" ><span class="devsite-nav-text" tooltip>Deploy a model to an endpoint</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/get-online-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/get-online-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/get-online-predictions" ><span class="devsite-nav-text" tooltip>Get an online prediction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/use-tpu" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/use-tpu" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/use-tpu" ><span class="devsite-nav-text" tooltip>Use Cloud TPUs for online prediction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/using-private-endpoints" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/using-private-endpoints" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/using-private-endpoints" ><span class="devsite-nav-text" tooltip>Use private endpoints</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/predictions/private-service-connect" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/private-service-connect" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/private-service-connect" ><span class="devsite-nav-text" tooltip>Use Private Service Connect</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/model-co-hosting" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/model-co-hosting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/model-co-hosting" ><span class="devsite-nav-text" tooltip>Share resources across deployments</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/online-prediction-logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/online-prediction-logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/online-prediction-logging" ><span class="devsite-nav-text" tooltip>Use online prediction logging</span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/get-batch-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/get-batch-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/get-batch-predictions" ><span class="devsite-nav-text" tooltip>Get batch predictions</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Serve generative AI models</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/deploy-genai" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/deploy-genai" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/deploy-genai" ><span class="devsite-nav-text" tooltip>Deploy generative AI models</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/predictions/serve-gemma-with-saxml-tpu" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/serve-gemma-with-saxml-tpu" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/serve-gemma-with-saxml-tpu" ><span class="devsite-nav-text" tooltip>Serve Gemma open models using Cloud TPUs with Saxml</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/predictions/serve-llama3-with-saxml-tpu" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/serve-llama3-with-saxml-tpu" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/serve-llama3-with-saxml-tpu" ><span class="devsite-nav-text" tooltip>Serve Llama 3 open models using multi-host Cloud TPUs with Saxml</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/configure-compute" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/configure-compute" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/configure-compute" ><span class="devsite-nav-text" tooltip>Compute resources for prediction</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/predictions/vertex-ai-prediction-notebooks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/vertex-ai-prediction-notebooks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/vertex-ai-prediction-notebooks" ><span class="devsite-nav-text" tooltip>Vertex AI prediction notebook tutorials</span></a></li> <li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/predictions/use-reservations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/use-reservations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/use-reservations" ><span class="devsite-nav-text" tooltip>Use reservations with prediction</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li> <li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/predictions/use-spot-vms" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/predictions/use-spot-vms" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/predictions/use-spot-vms" ><span class="devsite-nav-text" tooltip>Use Spot VMs with prediction</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Perform vector similarity searches</span> </div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/overview" ><span class="devsite-nav-text" tooltip>Vector Search overview</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/quickstart" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/quickstart" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/quickstart" ><span class="devsite-nav-text" tooltip>Vector Search quickstart</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/setup/setup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/setup/setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/setup/setup" ><span class="devsite-nav-text" tooltip>Before you begin</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/about-hybrid-search" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/about-hybrid-search" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/about-hybrid-search" ><span class="devsite-nav-text" tooltip>About hybrid search</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Create and manage index</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/setup/format-structure" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/setup/format-structure" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/setup/format-structure" ><span class="devsite-nav-text" tooltip>Input data format and structure</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/create-manage-index" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/create-manage-index" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/create-manage-index" ><span class="devsite-nav-text" tooltip>Create and manage your index</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/configuring-indexes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/configuring-indexes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/configuring-indexes" ><span class="devsite-nav-text" tooltip>Index configuration parameters</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/update-rebuild-index" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/update-rebuild-index" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/update-rebuild-index" ><span class="devsite-nav-text" tooltip>Update and rebuild index</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/filtering" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/filtering" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/filtering" ><span class="devsite-nav-text" tooltip>Filter vector matches</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Deploy and query an index</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Public endpoint</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/deploy-index-public" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/deploy-index-public" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/deploy-index-public" ><span class="devsite-nav-text" tooltip>Deploy</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/query-index-public-endpoint" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/query-index-public-endpoint" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/query-index-public-endpoint" ><span class="devsite-nav-text" tooltip>Query</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Private services access (VPC peering)</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/setup/vpc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/setup/vpc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/setup/vpc" ><span class="devsite-nav-text" tooltip>Set up a VPC network peering connection</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/deploy-index-vpc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/deploy-index-vpc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/deploy-index-vpc" ><span class="devsite-nav-text" tooltip>Deploy</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/query-index-vpc" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/query-index-vpc" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/query-index-vpc" ><span class="devsite-nav-text" tooltip>Query</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/jwt-auth" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/jwt-auth" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/jwt-auth" ><span class="devsite-nav-text" tooltip>JSON Web Token authentication</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Private Service Connect (PSC)</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/setup/private-service-connect" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/setup/private-service-connect" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/setup/private-service-connect" ><span class="devsite-nav-text" tooltip>Set up Vector Search with Private Service Connect</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/jwt-auth?topic_type=authentication" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/jwt-auth?topic_type=authentication" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/jwt-auth?topic_type=authentication" ><span class="devsite-nav-text" tooltip>JSON Web Token authentication</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/notebooks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/notebooks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/notebooks" ><span class="devsite-nav-text" tooltip>Notebook tutorials</span></a></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/vector-search/support" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/vector-search/support" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/vector-search/support" ><span class="devsite-nav-text" tooltip>Get support</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Machine learning operations (MLOps)</span> </div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Manage features</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore" ><span class="devsite-nav-text" tooltip>Feature management in Vertex AI</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Vertex AI Feature Store</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/overview" ><span class="devsite-nav-text" tooltip>About Vertex AI Feature Store</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Set up features</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/prepare-data-source" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/prepare-data-source" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/prepare-data-source" ><span class="devsite-nav-text" tooltip>Prepare data source</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/create-featuregroup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/create-featuregroup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/create-featuregroup" ><span class="devsite-nav-text" tooltip>Create a feature group</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/create-feature" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/create-feature" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/create-feature" ><span class="devsite-nav-text" tooltip>Create a feature</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Set up online serving</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/online-serving-types" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/online-serving-types" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/online-serving-types" ><span class="devsite-nav-text" tooltip>Online serving types</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/create-onlinestore" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/create-onlinestore" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/create-onlinestore" ><span class="devsite-nav-text" tooltip>Create an online store instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/create-featureview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/create-featureview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/create-featureview" ><span class="devsite-nav-text" tooltip>Create a feature view instance</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/control-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/control-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/control-access" ><span class="devsite-nav-text" tooltip>Control access to online store resources</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Sync online store</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/sync-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/sync-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/sync-data" ><span class="devsite-nav-text" tooltip>Start a data sync</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/list-data-syncs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/list-data-syncs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/list-data-syncs" ><span class="devsite-nav-text" tooltip>List sync operations</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Serve features</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/serve-feature-values" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/serve-feature-values" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/serve-feature-values" ><span class="devsite-nav-text" tooltip>Serve features from online store</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/featurestore/latest/serve-historical-features" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/serve-historical-features" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/serve-historical-features" ><span class="devsite-nav-text" tooltip>Serve historical feature values</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Manage feature resources</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/list-featuregroups" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/list-featuregroups" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/list-featuregroups" ><span class="devsite-nav-text" tooltip>List feature groups</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/list-features" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/list-features" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/list-features" ><span class="devsite-nav-text" tooltip>List features</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/update-featuregroup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/update-featuregroup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/update-featuregroup" ><span class="devsite-nav-text" tooltip>Update a feature group</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/update-feature" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/update-feature" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/update-feature" ><span class="devsite-nav-text" tooltip>Update a feature</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/delete-featuregroup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/delete-featuregroup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/delete-featuregroup" ><span class="devsite-nav-text" tooltip>Delete a feature group</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/delete-feature" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/delete-feature" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/delete-feature" ><span class="devsite-nav-text" tooltip>Delete a feature</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Manage online store resources</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/list-onlinestores" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/list-onlinestores" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/list-onlinestores" ><span class="devsite-nav-text" tooltip>List online stores</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/list-featureviews" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/list-featureviews" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/list-featureviews" ><span class="devsite-nav-text" tooltip>List feature views</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/update-onlinestore" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/update-onlinestore" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/update-onlinestore" ><span class="devsite-nav-text" tooltip>Update an online store</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/update-featureview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/update-featureview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/update-featureview" ><span class="devsite-nav-text" tooltip>Update a feature view</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/delete-onlinestore" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/delete-onlinestore" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/delete-onlinestore" ><span class="devsite-nav-text" tooltip>Delete an online store</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/delete-featureview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/delete-featureview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/delete-featureview" ><span class="devsite-nav-text" tooltip>Delete a feature view</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Feature metadata</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/feature-labels" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/feature-labels" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/feature-labels" ><span class="devsite-nav-text" tooltip>Update labels</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Search for resources</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/search-resources" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/search-resources" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/search-resources" ><span class="devsite-nav-text" tooltip>Search for resources</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/search-feature-metadata" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/search-feature-metadata" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/search-feature-metadata" ><span class="devsite-nav-text" tooltip>Search for resource metadata in Data Catalog</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Manage embeddings</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/embeddings-search" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/embeddings-search" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/embeddings-search" ><span class="devsite-nav-text" tooltip>Search using embeddings</span></a></li><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Notebook tutorials</span> </div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/latest/notebooks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/latest/notebooks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/latest/notebooks" ><span class="devsite-nav-text" tooltip>Vertex AI Feature Store Jupyter notebooks</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Vertex AI Feature Store (Legacy)</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/overview" ><span class="devsite-nav-text" tooltip>About Vertex AI Feature Store (Legacy)</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/concepts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/concepts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/concepts" ><span class="devsite-nav-text" tooltip>Data model and resources</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/source-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/source-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/source-data" ><span class="devsite-nav-text" tooltip>Source data requirements</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/setup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/setup" ><span class="devsite-nav-text" tooltip>Setup</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/best-practices" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/best-practices" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/best-practices" ><span class="devsite-nav-text" tooltip>Best practices</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Use Vertex AI Feature Store (Legacy)</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/managing-featurestores" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/managing-featurestores" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/managing-featurestores" ><span class="devsite-nav-text" tooltip>Manage featurestores</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/managing-entity-types" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/managing-entity-types" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/managing-entity-types" ><span class="devsite-nav-text" tooltip>Manage entity types</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/managing-features" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/managing-features" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/managing-features" ><span class="devsite-nav-text" tooltip>Manage and find features</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/ingesting-batch" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/ingesting-batch" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/ingesting-batch" ><span class="devsite-nav-text" tooltip>Batch import</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/ingesting-stream" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/ingesting-stream" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/ingesting-stream" ><span class="devsite-nav-text" tooltip>Streaming import</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/serving-online" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/serving-online" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/serving-online" ><span class="devsite-nav-text" tooltip>Online serving</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/serving-batch" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/serving-batch" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/serving-batch" ><span class="devsite-nav-text" tooltip>Fetch training data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/export-features" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/export-features" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/export-features" ><span class="devsite-nav-text" tooltip>Export feature values</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/delete-feature-values" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/delete-feature-values" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/delete-feature-values" ><span class="devsite-nav-text" tooltip>Delete feature values</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/monitoring" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/monitoring" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/monitoring" ><span class="devsite-nav-text" tooltip>Monitoring</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/featurestore/resource-policy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/featurestore/resource-policy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/featurestore/resource-policy" ><span class="devsite-nav-text" tooltip>Control access to resources</span></a></li></ul></div></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Manage models</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-registry/introduction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-registry/introduction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-registry/introduction" ><span class="devsite-nav-text" tooltip>Introduction to Vertex AI Model Registry</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-registry/versioning" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-registry/versioning" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-registry/versioning" ><span class="devsite-nav-text" tooltip>Versioning in Model Registry</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-registry/import-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-registry/import-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-registry/import-model" ><span class="devsite-nav-text" tooltip>Import models to Model Registry</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-registry/copy-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-registry/copy-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-registry/copy-model" ><span class="devsite-nav-text" tooltip>Copy models in Model Registry</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-registry/delete-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-registry/delete-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-registry/delete-model" ><span class="devsite-nav-text" tooltip>Delete a model</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-registry/model-registry-bqml" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-registry/model-registry-bqml" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-registry/model-registry-bqml" ><span class="devsite-nav-text" tooltip>Integrate with BigQuery ML</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-registry/model-alias" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-registry/model-alias" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-registry/model-alias" ><span class="devsite-nav-text" tooltip>Use model aliases</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-registry/model-labels" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-registry/model-labels" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-registry/model-labels" ><span class="devsite-nav-text" tooltip>Use model labels</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-registry/model-data-catalog" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-registry/model-data-catalog" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-registry/model-data-catalog" ><span class="devsite-nav-text" tooltip>Use Data Catalog to search for model and dataset resources</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Evaluate models</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/evaluation/introduction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/evaluation/introduction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/evaluation/introduction" ><span class="devsite-nav-text" tooltip>Model evaluation in Vertex AI</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/evaluation/using-model-evaluation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/evaluation/using-model-evaluation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/evaluation/using-model-evaluation" ><span class="devsite-nav-text" tooltip>Perform model evaluation in Vertex AI</span></a></li><li class="devsite-nav-item devsite-nav-expandable devsite-nav-preview"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Model evaluation for fairness</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/evaluation/intro-evaluation-fairness" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/evaluation/intro-evaluation-fairness" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/evaluation/intro-evaluation-fairness" ><span class="devsite-nav-text" tooltip>Introduction to model evaluation for fairness</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/evaluation/data-bias-metrics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/evaluation/data-bias-metrics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/evaluation/data-bias-metrics" ><span class="devsite-nav-text" tooltip>Data bias metrics for Vertex AI</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/evaluation/model-bias-metrics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/evaluation/model-bias-metrics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/evaluation/model-bias-metrics" ><span class="devsite-nav-text" tooltip>Model bias metrics for Vertex AI</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/evaluation/model-evaluation-notebook-tutorials" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/evaluation/model-evaluation-notebook-tutorials" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/evaluation/model-evaluation-notebook-tutorials" ><span class="devsite-nav-text" tooltip>Model evaluation notebook tutorials</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Orchestrate ML workflows using pipelines</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/introduction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/introduction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/introduction" ><span class="devsite-nav-text" tooltip>Introduction</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/interfaces" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/interfaces" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/interfaces" ><span class="devsite-nav-text" tooltip>Interfaces</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/configure-project" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/configure-project" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/configure-project" ><span class="devsite-nav-text" tooltip>Configure your project</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/build-pipeline" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/build-pipeline" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/build-pipeline" ><span class="devsite-nav-text" tooltip>Build a pipeline</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/run-pipeline" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/run-pipeline" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/run-pipeline" ><span class="devsite-nav-text" tooltip>Run a pipeline</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Use pipeline templates</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/create-pipeline-template" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/create-pipeline-template" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/create-pipeline-template" ><span class="devsite-nav-text" tooltip>Create, upload, and use a pipeline template</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/use-template-gallery" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/use-template-gallery" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/use-template-gallery" ><span class="devsite-nav-text" tooltip>Use a prebuilt template from the Template Gallery</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Configure your pipeline</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/configure-caching" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/configure-caching" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/configure-caching" ><span class="devsite-nav-text" tooltip>Configure execution caching</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/configure-failure-policy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/configure-failure-policy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/configure-failure-policy" ><span class="devsite-nav-text" tooltip>Configure failure policy</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/configure-retries" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/configure-retries" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/configure-retries" ><span class="devsite-nav-text" tooltip>Configure retries for a pipeline task</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/machine-types" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/machine-types" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/machine-types" ><span class="devsite-nav-text" tooltip>Specify machine types for a pipeline step</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/request-gcp-machine-resources" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/request-gcp-machine-resources" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/request-gcp-machine-resources" ><span class="devsite-nav-text" tooltip>Request Google Cloud machine resources with Vertex AI Pipelines</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/pipelines/configure-private-service-connect" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/configure-private-service-connect" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/configure-private-service-connect" ><span class="devsite-nav-text" tooltip>Configure Private Service Connect interface</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/secret-manager" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/secret-manager" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/secret-manager" ><span class="devsite-nav-text" tooltip>Configure secrets with Secret Manager</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Schedule and trigger pipeline runs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/schedule-pipeline-run" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/schedule-pipeline-run" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/schedule-pipeline-run" ><span class="devsite-nav-text" tooltip>Schedule a pipeline run with scheduler API</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/trigger-pubsub" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/trigger-pubsub" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/trigger-pubsub" ><span class="devsite-nav-text" tooltip>Trigger a pipeline run with Pub/Sub</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Monitor pipeline execution</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/metrics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/metrics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/metrics" ><span class="devsite-nav-text" tooltip>View pipeline metrics</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/logging" ><span class="devsite-nav-text" tooltip>View pipeline job logs</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/route-pubsub" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/route-pubsub" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/route-pubsub" ><span class="devsite-nav-text" tooltip>Route logs to a Cloud Pub/Sub sink</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/email-notifications" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/email-notifications" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/email-notifications" ><span class="devsite-nav-text" tooltip>Configure email notifications</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Visualize results</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/visualize-pipeline" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/visualize-pipeline" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/visualize-pipeline" ><span class="devsite-nav-text" tooltip>Visualize and analyze pipeline results</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/lineage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/lineage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/lineage" ><span class="devsite-nav-text" tooltip>Track the lineage of pipeline artifacts</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/output-html-md" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/output-html-md" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/output-html-md" ><span class="devsite-nav-text" tooltip>Output HTML and Markdown</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/gcpc-label-propagation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/gcpc-label-propagation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/gcpc-label-propagation" ><span class="devsite-nav-text" tooltip>Resource labeling by Vertex AI Pipelines</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/understand-pipeline-cost-labels" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/understand-pipeline-cost-labels" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/understand-pipeline-cost-labels" ><span class="devsite-nav-text" tooltip>Understand pipeline run costs</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/migrate-kfp" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/migrate-kfp" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/migrate-kfp" ><span class="devsite-nav-text" tooltip>Migrate from Kubeflow Pipelines to Vertex AI Pipelines</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Google Cloud Pipeline Components</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/components-quickstart" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/components-quickstart" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/components-quickstart" ><span class="devsite-nav-text" tooltip>Quickstart</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/components-introduction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/components-introduction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/components-introduction" ><span class="devsite-nav-text" tooltip>Introduction to Google Cloud Pipeline Components</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/gcpc-list" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/gcpc-list" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/gcpc-list" ><span class="devsite-nav-text" tooltip>Google Cloud Pipeline Component list</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/use-components" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/use-components" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/use-components" ><span class="devsite-nav-text" tooltip>Use Google Cloud Pipeline Components</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/build-own-components" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/build-own-components" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/build-own-components" ><span class="devsite-nav-text" tooltip>Build your own pipeline components</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Vertex AI Pipelines tutorials</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/pipelines/notebooks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/pipelines/notebooks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/pipelines/notebooks" ><span class="devsite-nav-text" tooltip>Jupyter notebooks</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Track and analyze your ML metadata</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/ml-metadata/introduction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/ml-metadata/introduction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/ml-metadata/introduction" ><span class="devsite-nav-text" tooltip>Introduction to Vertex ML Metadata</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/ml-metadata/data-model" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/ml-metadata/data-model" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/ml-metadata/data-model" ><span class="devsite-nav-text" tooltip>Data model and resources</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/ml-metadata/configure" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/ml-metadata/configure" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/ml-metadata/configure" ><span class="devsite-nav-text" tooltip>Configure your project's metadata store</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Use Vertex ML Metadata</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/ml-metadata/tracking" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/ml-metadata/tracking" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/ml-metadata/tracking" ><span class="devsite-nav-text" tooltip>Track Vertex ML Metadata</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/ml-metadata/analyzing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/ml-metadata/analyzing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/ml-metadata/analyzing" ><span class="devsite-nav-text" tooltip>Analyze Vertex ML Metadata</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/ml-metadata/managing-metadata" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/ml-metadata/managing-metadata" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/ml-metadata/managing-metadata" ><span class="devsite-nav-text" tooltip>Manage Vertex ML Metadata</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/ml-metadata/system-schemas" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/ml-metadata/system-schemas" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/ml-metadata/system-schemas" ><span class="devsite-nav-text" tooltip>System schemas</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/ml-metadata/custom-schemas" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/ml-metadata/custom-schemas" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/ml-metadata/custom-schemas" ><span class="devsite-nav-text" tooltip>Create and use custom schemas</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/ml-metadata/ml-metadata-notebook-tutorials" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/ml-metadata/ml-metadata-notebook-tutorials" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/ml-metadata/ml-metadata-notebook-tutorials" ><span class="devsite-nav-text" tooltip>Vertex ML Metadata notebook tutorials</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Understand model behavior</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/explainable-ai/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/explainable-ai/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/explainable-ai/overview" ><span class="devsite-nav-text" tooltip>Introduction to Explainable AI</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/explainable-ai/configuring-explanations-example-based" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/explainable-ai/configuring-explanations-example-based" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/explainable-ai/configuring-explanations-example-based" ><span class="devsite-nav-text" tooltip>Configure example-based explanations for custom training</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Configure feature-based explanations for custom training</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/explainable-ai/configuring-explanations-feature-based" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/explainable-ai/configuring-explanations-feature-based" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/explainable-ai/configuring-explanations-feature-based" ><span class="devsite-nav-text" tooltip>Configure explanations</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/explainable-ai/visualization-settings" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/explainable-ai/visualization-settings" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/explainable-ai/visualization-settings" ><span class="devsite-nav-text" tooltip>Configure visualization settings</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/explainable-ai/improving-explanations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/explainable-ai/improving-explanations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/explainable-ai/improving-explanations" ><span class="devsite-nav-text" tooltip>Improve explanations</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable devsite-nav-preview"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Configure feature-based explanations for AutoML image classification</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/explainable-ai/visualization-settings-automl-icn" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/explainable-ai/visualization-settings-automl-icn" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/explainable-ai/visualization-settings-automl-icn" ><span class="devsite-nav-text" tooltip>Configure visualization settings</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/explainable-ai/improve-explanations-automl-icn" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/explainable-ai/improve-explanations-automl-icn" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/explainable-ai/improve-explanations-automl-icn" ><span class="devsite-nav-text" tooltip>Improve explanations</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/explainable-ai/tensorflow" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/explainable-ai/tensorflow" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/explainable-ai/tensorflow" ><span class="devsite-nav-text" tooltip>Use TensorFlow for explanations</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/explainable-ai/getting-explanations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/explainable-ai/getting-explanations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/explainable-ai/getting-explanations" ><span class="devsite-nav-text" tooltip>Get explanations</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/explainable-ai/limitations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/explainable-ai/limitations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/explainable-ai/limitations" ><span class="devsite-nav-text" tooltip>Limitations of Explainable AI</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/explainable-ai/explainable-ai-notebook-tutorials" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/explainable-ai/explainable-ai-notebook-tutorials" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/explainable-ai/explainable-ai-notebook-tutorials" ><span class="devsite-nav-text" tooltip>Explainable AI notebook tutorials</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Monitor model quality</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-monitoring/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-monitoring/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-monitoring/overview" ><span class="devsite-nav-text" tooltip>Introduction to Model Monitoring</span></a></li><li class="devsite-nav-item devsite-nav-expandable devsite-nav-preview"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Model Monitoring v2</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-monitoring/set-up-model-monitoring" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-monitoring/set-up-model-monitoring" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-monitoring/set-up-model-monitoring" ><span class="devsite-nav-text" tooltip>Set up model monitoring</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-monitoring/run-monitoring-job" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-monitoring/run-monitoring-job" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-monitoring/run-monitoring-job" ><span class="devsite-nav-text" tooltip>Run monitoring jobs</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-monitoring/manage-model-monitors" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-monitoring/manage-model-monitors" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-monitoring/manage-model-monitors" ><span class="devsite-nav-text" tooltip>Manage model monitors</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Model Monitoring v1</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-monitoring/schemas" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-monitoring/schemas" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-monitoring/schemas" ><span class="devsite-nav-text" tooltip>Provide schemas to Model Monitoring</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-monitoring/using-model-monitoring" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-monitoring/using-model-monitoring" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-monitoring/using-model-monitoring" ><span class="devsite-nav-text" tooltip>Monitor feature skew and drift</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/model-monitoring/monitor-explainable-ai" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-monitoring/monitor-explainable-ai" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-monitoring/monitor-explainable-ai" ><span class="devsite-nav-text" tooltip>Monitor feature attribution skew and drift</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/vertex-ai/docs/model-monitoring/model-monitoring-batch-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/model-monitoring/model-monitoring-batch-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/model-monitoring/model-monitoring-batch-predictions" ><span class="devsite-nav-text" tooltip>Model Monitoring for batch predictions</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Track Experiments</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/intro-vertex-ai-experiments" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/intro-vertex-ai-experiments" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/intro-vertex-ai-experiments" ><span class="devsite-nav-text" tooltip>Introduction to Vertex AI Experiments</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/setup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/setup" ><span class="devsite-nav-text" tooltip>Set up for Vertex AI Experiments</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/create-experiment" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/create-experiment" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/create-experiment" ><span class="devsite-nav-text" tooltip>Create an experiment</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/create-manage-exp-run" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/create-manage-exp-run" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/create-manage-exp-run" ><span class="devsite-nav-text" tooltip>Create and manage experiment runs</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Log data</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/autolog-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/autolog-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/autolog-data" ><span class="devsite-nav-text" tooltip>Autolog data to an experiment run</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/log-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/log-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/log-data" ><span class="devsite-nav-text" tooltip>Manually log data to an experiment run</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/log-models-exp-run" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/log-models-exp-run" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/log-models-exp-run" ><span class="devsite-nav-text" tooltip>Log models to an experiment run</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/track-executions-artifacts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/track-executions-artifacts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/track-executions-artifacts" ><span class="devsite-nav-text" tooltip>Track executions and artifacts</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/add-pipelinerun-experiment" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/add-pipelinerun-experiment" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/add-pipelinerun-experiment" ><span class="devsite-nav-text" tooltip>Add pipeline run to experiment</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/run-training-job-experiments" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/run-training-job-experiments" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/run-training-job-experiments" ><span class="devsite-nav-text" tooltip>Run training job with experiment tracking</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/compare-analyze-runs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/compare-analyze-runs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/compare-analyze-runs" ><span class="devsite-nav-text" tooltip>Compare and analyze runs</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Use Vertex AI TensorBoard</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/tensorboard-introduction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/tensorboard-introduction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/tensorboard-introduction" ><span class="devsite-nav-text" tooltip>Introduction to Vertex AI TensorBoard</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/tensorboard-setup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/tensorboard-setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/tensorboard-setup" ><span class="devsite-nav-text" tooltip>Set up Vertex AI TensorBoard</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/configure-training-script" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/configure-training-script" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/configure-training-script" ><span class="devsite-nav-text" tooltip>Configure training script</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/tensorboard-training" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/tensorboard-training" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/tensorboard-training" ><span class="devsite-nav-text" tooltip>Use Vertex AI TensorBoard with custom training</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/tensorboard-with-pipelines" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/tensorboard-with-pipelines" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/tensorboard-with-pipelines" ><span class="devsite-nav-text" tooltip>Use Vertex AI TensorBoard with Vertex AI Pipelines</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/tensorboard-manually-log-data" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/tensorboard-manually-log-data" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/tensorboard-manually-log-data" ><span class="devsite-nav-text" tooltip>Manually log TensorBoard data</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/tensorboard-upload-existing-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/tensorboard-upload-existing-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/tensorboard-upload-existing-logs" ><span class="devsite-nav-text" tooltip>Upload existing logs</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/tensorboard-view" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/tensorboard-view" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/tensorboard-view" ><span class="devsite-nav-text" tooltip>View Vertex AI TensorBoard</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Notebook tutorials</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-get-started-vertex-ai-experiments" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-get-started-vertex-ai-experiments" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-get-started-vertex-ai-experiments" ><span class="devsite-nav-text" tooltip>Get started with Vertex AI Experiments</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-compare-pipeline-runs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-compare-pipeline-runs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-compare-pipeline-runs" ><span class="devsite-nav-text" tooltip>Compare pipeline runs</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-model-training" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-model-training" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-model-training" ><span class="devsite-nav-text" tooltip>Model training</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-compare-models" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-compare-models" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-compare-models" ><span class="devsite-nav-text" tooltip>Compare models</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-autologging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-autologging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-autologging" ><span class="devsite-nav-text" tooltip>Autologging</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-custom-training-autologging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-custom-training-autologging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-custom-training-autologging" ><span class="devsite-nav-text" tooltip>Custom training autologging</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-track-params-metrics-custom-training" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-track-params-metrics-custom-training" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-track-params-metrics-custom-training" ><span class="devsite-nav-text" tooltip>Track parameters and metrics for custom training</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-delete-outdated-tb-experiments" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-delete-outdated-tb-experiments" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-delete-outdated-tb-experiments" ><span class="devsite-nav-text" tooltip>Delete outdated Vertex AI TensorBoard experiments</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-custom-training-custom-container" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-tensorboard-custom-training-custom-container" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-custom-training-custom-container" ><span class="devsite-nav-text" tooltip>Vertex AI TensorBoard custom training with custom container</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-custom-training-prebuilt-container" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-tensorboard-custom-training-prebuilt-container" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-custom-training-prebuilt-container" ><span class="devsite-nav-text" tooltip>Vertex AI TensorBoard custom training with prebuilt container</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-hyperparameter-tuning-hparam-dashboard" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-tensorboard-hyperparameter-tuning-hparam-dashboard" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-hyperparameter-tuning-hparam-dashboard" ><span class="devsite-nav-text" tooltip>Vertex AI TensorBoard hyperparameter tuning with HParams dashboard</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-profiler-training-performance" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-tensorboard-profiler-training-performance" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-profiler-training-performance" ><span class="devsite-nav-text" tooltip>Profile model training performance using Cloud Profiler</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-profiler-custom-training-prebuilt" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-tensorboard-profiler-custom-training-prebuilt" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-profiler-custom-training-prebuilt" ><span class="devsite-nav-text" tooltip>Profile model training performance using Cloud Profiler in custom training with prebuilt container</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-integration-pipelines" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/experiments/user-journey/uj-tensorboard-integration-pipelines" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/experiments/user-journey/uj-tensorboard-integration-pipelines" ><span class="devsite-nav-text" tooltip>Vertex AI TensorBoard integration with Vertex AI Pipelines</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Use managed open-source platforms</span> </div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Use Ray API to scale compute resources</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/open-source/ray-on-vertex-ai/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/open-source/ray-on-vertex-ai/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/open-source/ray-on-vertex-ai/overview" ><span class="devsite-nav-text" tooltip>Ray on Vertex AI overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/open-source/ray-on-vertex-ai/set-up" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/open-source/ray-on-vertex-ai/set-up" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/open-source/ray-on-vertex-ai/set-up" ><span class="devsite-nav-text" tooltip>Set up for Ray on Vertex AI</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/open-source/ray-on-vertex-ai/create-cluster" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/open-source/ray-on-vertex-ai/create-cluster" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/open-source/ray-on-vertex-ai/create-cluster" ><span class="devsite-nav-text" tooltip>Create a Ray cluster on Vertex AI</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/open-source/ray-on-vertex-ai/view-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/open-source/ray-on-vertex-ai/view-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/open-source/ray-on-vertex-ai/view-logs" ><span class="devsite-nav-text" tooltip>Monitor Ray clusters on Vertex AI</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/open-source/ray-on-vertex-ai/scale-clusters" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/open-source/ray-on-vertex-ai/scale-clusters" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/open-source/ray-on-vertex-ai/scale-clusters" ><span class="devsite-nav-text" tooltip>Scale a Ray cluster on Vertex AI</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/open-source/ray-on-vertex-ai/develop-application" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/open-source/ray-on-vertex-ai/develop-application" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/open-source/ray-on-vertex-ai/develop-application" ><span class="devsite-nav-text" tooltip>Develop a Ray application on Vertex AI</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/open-source/ray-on-vertex-ai/run-spark-on-ray" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/open-source/ray-on-vertex-ai/run-spark-on-ray" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/open-source/ray-on-vertex-ai/run-spark-on-ray" ><span class="devsite-nav-text" tooltip>Run Spark on Ray cluster on Vertex AI</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/open-source/ray-on-vertex-ai/bigquery-integration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/open-source/ray-on-vertex-ai/bigquery-integration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/open-source/ray-on-vertex-ai/bigquery-integration" ><span class="devsite-nav-text" tooltip>Use Ray on Vertex AI with BigQuery</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/open-source/ray-on-vertex-ai/deploy-predict" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/open-source/ray-on-vertex-ai/deploy-predict" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/open-source/ray-on-vertex-ai/deploy-predict" ><span class="devsite-nav-text" tooltip>Deploy a model and get predictions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/open-source/ray-on-vertex-ai/delete-cluster" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/open-source/ray-on-vertex-ai/delete-cluster" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/open-source/ray-on-vertex-ai/delete-cluster" ><span class="devsite-nav-text" tooltip>Delete a Ray cluster</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/open-source/ray-on-vertex-ai/tutorials/jupyter-notebooks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/open-source/ray-on-vertex-ai/tutorials/jupyter-notebooks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/open-source/ray-on-vertex-ai/tutorials/jupyter-notebooks" ><span class="devsite-nav-text" tooltip>Ray on Vertex AI notebook tutorials</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Administer</span> </div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Access control</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/access-control" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/access-control" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/access-control" ><span class="devsite-nav-text" tooltip>Access control with IAM</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/iam-permissions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/iam-permissions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/iam-permissions" ><span class="devsite-nav-text" tooltip>IAM permissions</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/set-up-project" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/set-up-project" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/set-up-project" ><span class="devsite-nav-text" tooltip>Set up a project for a team</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/endpoint-access-control" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/endpoint-access-control" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/endpoint-access-control" ><span class="devsite-nav-text" tooltip>Control access to Vertex AI endpoints</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/custom-service-account" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/custom-service-account" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/custom-service-account" ><span class="devsite-nav-text" tooltip>Use a custom service account</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/cmek" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/cmek" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/cmek" ><span class="devsite-nav-text" tooltip>Use customer-managed encryption keys</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/access-transparency" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/access-transparency" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/access-transparency" ><span class="devsite-nav-text" tooltip>Access Transparency</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Monitor Vertex AI resources</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/monitoring-metrics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/monitoring-metrics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/monitoring-metrics" ><span class="devsite-nav-text" tooltip>Cloud Monitoring metrics</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/audit-logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/audit-logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/audit-logging" ><span class="devsite-nav-text" tooltip>Audit logging information</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Networking</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/netsec-overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/netsec-overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/netsec-overview" ><span class="devsite-nav-text" tooltip>Networking access overview</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/googleapi-access-methods" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/googleapi-access-methods" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/googleapi-access-methods" ><span class="devsite-nav-text" tooltip>Accessing the Vertex AI API</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/private-services-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/private-services-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/private-services-access" ><span class="devsite-nav-text" tooltip>Accessing Vertex AI services through private services access</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/psc-endpoints" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/psc-endpoints" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/psc-endpoints" ><span class="devsite-nav-text" tooltip>Accessing Vertex AI services through PSC endpoints</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/vpc-service-controls" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/vpc-service-controls" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/vpc-service-controls" ><span class="devsite-nav-text" tooltip>VPC Service Controls</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/vpc-peering" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/vpc-peering" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/vpc-peering" ><span class="devsite-nav-text" tooltip>Set up VPC Network Peering</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/hybrid-connectivity" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/hybrid-connectivity" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/hybrid-connectivity" ><span class="devsite-nav-text" tooltip>Set up connectivity to other networks</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/vpc-psc-i-setup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/vpc-psc-i-setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/vpc-psc-i-setup" ><span class="devsite-nav-text" tooltip>Set up a Private Service Connect interface</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/vertex-psc-pipelines" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/vertex-psc-pipelines" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/vertex-psc-pipelines" ><span class="devsite-nav-text" tooltip>Tutorial: Access training pipelines privately from on-premises</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/vertex-psc-vector-search" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/vertex-psc-vector-search" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/vertex-psc-vector-search" ><span class="devsite-nav-text" tooltip>Tutorial: Access a Vector Search index privately from on-premises</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/vertex-psc-gen-ai" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/vertex-psc-gen-ai" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/vertex-psc-gen-ai" ><span class="devsite-nav-text" tooltip>Tutorial: Access the Generative AI API from on-premises</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/vertex-psc-googleapis" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/vertex-psc-googleapis" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/vertex-psc-googleapis" ><span class="devsite-nav-text" tooltip>Tutorial: Access online predictions privately from on-premises</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/vertex-psc-batch-predictions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/vertex-psc-batch-predictions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/vertex-psc-batch-predictions" ><span class="devsite-nav-text" tooltip>Tutorial: Access batch predictions privately from on-premises</span></a></li><li class="devsite-nav-item"><a href="/vertex-ai/docs/general/vpc-standalone" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/vpc-standalone" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/vpc-standalone" ><span class="devsite-nav-text" tooltip>Tutorial: Create a Vertex AI Workbench instance in a VPC network</span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/general/resource-naming" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/general/resource-naming" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/general/resource-naming" ><span class="devsite-nav-text" tooltip>Name resources</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Samples and tutorials</span> </div></li> <li class="devsite-nav-item"><a href="/vertex-ai/docs/tutorials/jupyter-notebooks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/tutorials/jupyter-notebooks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/tutorials/jupyter-notebooks" ><span class="devsite-nav-text" tooltip>Notebook tutorials</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Code samples</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/vertex-ai/docs/samples" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /vertex-ai/docs/samples" track-type="bookNav" track-name="click" track-metadata-eventdetail="/vertex-ai/docs/samples" ><span class="devsite-nav-text" tooltip>All Vertex AI code samples</span></a></li><li class="devsite-nav-item devsite-nav-external"><a href="/docs/samples" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /docs/samples" track-type="bookNav" track-name="click" track-metadata-eventdetail="/docs/samples" ><span class="devsite-nav-text" tooltip>Code samples for all products</span><span class="devsite-nav-icon material-icons" data-icon="external" data-title="External" aria-hidden="true"></span></a></li></ul></div></li> </ul> <ul class="devsite-nav-list" menu="Technology areas" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/docs/ai-ml" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: AI and ML" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > AI and ML </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/application-development" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Application development" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Application development </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/application-hosting" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Application hosting" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Application hosting </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/compute-area" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Compute" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Compute </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/data" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Data analytics and pipelines" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Data analytics and pipelines </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/databases" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Databases" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Databases </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/dhm-cloud" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Distributed, hybrid, and multicloud" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Distributed, hybrid, and multicloud </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/generative-ai" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Generative AI" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Generative AI </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/industry" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Industry solutions" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Industry solutions </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/networking" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Networking" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Networking </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/observability" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Observability and monitoring" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Observability and monitoring </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/security" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Security" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Security </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/storage" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Storage" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Storage </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Cross-product tools" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/docs/access-resources" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Access and resources management" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Access and resources management </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/costs-usage" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Costs and usage management" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Costs and usage management </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/devtools" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud SDK, languages, frameworks, and tools" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud SDK, languages, frameworks, and tools </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/iac" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Infrastructure as code" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Infrastructure as code </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/migration" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Migration" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Migration </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Related sites" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Home" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Home </span> </a> </li> <li class="devsite-nav-item"> <a href="/free" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Free Trial and Free Tier" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Free Trial and Free Tier </span> </a> </li> <li class="devsite-nav-item"> <a href="/architecture" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Architecture Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Architecture Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/blog" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Blog" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Blog </span> </a> </li> <li class="devsite-nav-item"> <a href="/contact" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Contact Sales" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Contact Sales </span> </a> </li> <li class="devsite-nav-item"> <a href="/developers" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Developer Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Developer Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Developer Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Developer Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://console.cloud.google.com/marketplace" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Marketplace" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Marketplace </span> </a> </li> <li class="devsite-nav-item"> <a href="/marketplace/docs" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Marketplace Documentation" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Marketplace Documentation </span> </a> </li> <li class="devsite-nav-item"> <a href="https://www.cloudskillsboost.google/paths" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Skills Boost" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Skills Boost </span> </a> </li> <li class="devsite-nav-item"> <a href="/solutions" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Solution Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Solution Center </span> </a> </li> <li class="devsite-nav-item"> <a href="/support-hub" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Support" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Support </span> </a> </li> <li class="devsite-nav-item"> <a href="https://www.youtube.com/@googlecloudtech" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Tech Youtube Channel" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Tech Youtube Channel </span> </a> </li> </ul> </div> </div> </nav> </devsite-book-nav> <section id="gc-wrapper"> <main role="main" class="devsite-main-content" has-book-nav has-sidebar > <div class="devsite-sidebar"> <div class="devsite-sidebar-content"> <devsite-toc class="devsite-nav" role="navigation" aria-label="On this page" depth="2" scrollbars ></devsite-toc> <devsite-recommendations-sidebar class="nocontent devsite-nav"> </devsite-recommendations-sidebar> </div> </div> <devsite-content> <article class="devsite-article"> <div class="devsite-article-meta nocontent" role="navigation"> <ul class="devsite-breadcrumb-list" aria-label="Breadcrumb"> <li class="devsite-breadcrumb-item "> <a href="https://cloud.google.com/" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Google Cloud" > Home </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/vertex-ai" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="Vertex AI" > Vertex AI </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/vertex-ai/docs" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="3" track-type="globalNav" track-name="breadcrumb" track-metadata-position="3" track-metadata-eventdetail="Vertex AI" > Documentation </a> </li> </ul> <devsite-thumb-rating position="header"> </devsite-thumb-rating> </div> <devsite-feedback position="header" project-name="Vertex AI" product-id="5164350" bucket="Documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="header" class="nocontent" project-feedback-url="https://issuetracker.google.com/issues/new?component=1130925" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" project-support-url="https://cloud.google.com/support-hub" > <button> Send feedback </button> </devsite-feedback> <h1 class="devsite-page-title" tabindex="-1"> Get online predictions and explanations </h1> <devsite-feature-tooltip ack-key="AckCollectionsBookmarkTooltipDismiss" analytics-category="Site-Wide Custom Events" analytics-action-show="Callout Profile displayed" analytics-action-close="Callout Profile dismissed" analytics-label="Create Collection Callout" class="devsite-page-bookmark-tooltip nocontent" dismiss-button="true" id="devsite-collections-dropdown" dismiss-button-text="Dismiss" close-button-text="Got it"> <devsite-bookmark></devsite-bookmark> <span slot="popout-heading"> Stay organized with collections </span> <span slot="popout-contents"> Save and categorize content based on your preferences. </span> </devsite-feature-tooltip> <div class="devsite-page-title-meta"><devsite-view-release-notes></devsite-view-release-notes></div> <devsite-toc class="devsite-nav" depth="2" devsite-toc-embedded > </devsite-toc> <div class="devsite-article-body clearfix "> <p>This page shows you how to get online (real-time) predictions and explanations from your tabular classification or regression models using the Google Cloud console or the Vertex AI API.</p> <p>An online prediction is a synchronous request as opposed to a <a href="/vertex-ai/docs/tabular-data/classification-regression/get-batch-predictions">batch prediction</a>, which is an asynchronous request. Use online predictions when you are making requests in response to application input or in other situations where you require timely inference.</p> <p>You must <a href="#deploy-model">deploy a model</a> to an endpoint before that model can be used to serve online predictions. Deploying a model associates physical resources with the model so it can serve online predictions with low latency.</p> <p>The topics covered are:</p> <ol> <li><a href="#deploy-model">Deploy a model</a> to an endpoint</li> <li>Get an <a href="#online-prediction">online prediction</a> using your deployed model</li> <li>Get an <a href="#online-explanation">online explanation</a> using your deployed model</li> </ol> <h2 id="before_you_begin" data-text="Before you begin" tabindex="-1">Before you begin</h2> <p>Before you can get online predictions, you must first <a href="/vertex-ai/docs/tabular-data/classification-regression/train-model">train</a> a classification or regression model and <a href="/vertex-ai/docs/tabular-data/classification-regression/evaluate-model">evaluate</a> it for accuracy.</p> <h2 id="deploy-model" data-text="Deploy a model to an endpoint" tabindex="-1">Deploy a model to an endpoint</h2> <p>You can deploy more than one model to an endpoint, and you can deploy a model to more than one endpoint. For more information about options and use cases for deploying models, see <a href="/vertex-ai/docs/general/deployment">About deploying models</a>.</p> <p>Use one of the following methods to deploy a model:</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="google-cloud-console" data-text=" Google Cloud console " tabindex="-1"> Google Cloud console </h3><p> <ol> <li><p>In the Google Cloud console, in the Vertex AI section, go to the <strong>Models</strong> page.</p> <p><a href="https://console.cloud.google.com/vertex-ai/models" class="button button-primary" target="console" track-name="consoleLink" track-type="task">Go to the Models page</a> </p></li> <li><p>Click the name of the model you want to deploy to open its details page.</p></li> <li><p>Select the <strong>Deploy & Test</strong> tab.</p> <p>If your model is already deployed to any endpoints, they are listed in the <strong>Deploy your model</strong> section.</p></li> <li><p>Click <strong>Deploy to endpoint</strong>.</p></li> <li><p>In the <strong>Define your endpoint</strong> page, configure as follows:</p> <ol> <li><p>You can choose to deploy your model to a new endpoint or an existing endpoint.</p> <ul> <li>To deploy your model to a new endpoint, select <span class="material-icons" aria-hidden="true" translate="no">radio_button_checked</span><b>Create new endpoint</b> and provide a name for the new endpoint.</li> <li>To deploy your model to an existing endpoint, select <span class="material-icons" aria-hidden="true" translate="no">radio_button_checked</span><b>Add to existing endpoint</b> and select the endpoint from the drop-down list.</li> <li>You can add more than one model to an endpoint, and you can add a model to more than one endpoint. <a href="/vertex-ai/docs/general/deployment">Learn more</a>.</li> </ul></li> <li><p>Click <strong>Continue</strong>.</p></li> </ol></li> <li><p>In the <strong>Model settings</strong> page, configure as follows:</p> <ol> <li> <p>If you're deploying your model to a new endpoint, accept 100 for the <b>Traffic split</b>. If you're deploying your model to an existing endpoint that has one or more models deployed to it, you must update the <b>Traffic split</b> percentage for the model you are deploying and the already deployed models so that all of the percentages add up to 100%.</p> </li> <li> <p>Enter the <strong>Minimum number of compute nodes</strong> you want to provide for your model. </p> <p>This is the number of nodes available to this model at all times. You are charged for the nodes used, whether to handle prediction load or for standby (minimum) nodes, even without prediction traffic. See the <a href="/vertex-ai/pricing">pricing page</a>. </p> </li> <li> <p>Select your <strong>Machine type</strong>.</p> <p>Larger machine resources will increase your prediction performance and increase costs. </p> </li> <li> <p> Learn how to <a href="/vertex-ai/docs/predictions/online-prediction-logging#enabling-and-disabling">change the default settings for prediction logging</a>. </p> </li> <li> <p>Click <b>Continue</b></p> </li> </ol></li> <li><p>In the <strong>Model monitoring</strong> page, click <strong>Continue</strong>.</p></li> <li><p>In the <strong>Monitoring objectives</strong> page, configure as follows:</p> <ol> <li>Enter the location of your training data.</li> <li>Enter the name of the target column.</li> </ol></li> <li><p> Click <b>Deploy</b> to deploy your model to the endpoint. </p></li> </ol> </p></section> <section><h3 id="api" data-text=" API " tabindex="-1"> API </h3><p>When you deploy a model using the Vertex AI API, you complete the following steps:</p> <ol> <li>Create an endpoint if needed.</li> <li>Get the endpoint ID.</li> <li>Deploy the model to the endpoint.</li> </ol> <h3 id="create-endpoint" data-text="Create an endpoint" tabindex="-1">Create an endpoint</h3> <p> <p>If you are deploying a model to an existing endpoint, you can skip this step.</p> <p></p> <p></p> <p> <p> </p> <p> <div><devsite-selector> <section> <h3 id="aiplatform_create_endpoint_sample-gcloud" track-metadata-position="aiplatform_create_endpoint_sample" track-metadata-region-tag="aiplatform_create_endpoint_sample" data-text="gcloud" tabindex="-1"><span class="notranslate">gcloud</span></h3> </p> <p>The following example uses the <a href="/sdk/gcloud/reference/ai/endpoints/create"><code translate="no" dir="ltr">gcloud ai endpoints create</code> command</a>:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash"><code translate="no" dir="ltr"><span class="devsite-syntax-w"> </span>gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>create<span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--display-name<span class="devsite-syntax-o">=</span><var translate="no">ENDPOINT_NAME</var> </code></pre></devsite-code> <p>Replace the following:</p> <ul> <li> <var translate="no">LOCATION_ID</var>: The region where you are using Vertex AI. </li> <li><p> <var translate="no">ENDPOINT_NAME</var>: The display name for the endpoint. </p> <p>The Google Cloud CLI tool might take a few seconds to create the endpoint.</p> </section> <section> <h3 id="aiplatform_create_endpoint_sample-drest" track-metadata-position="aiplatform_create_endpoint_sample" track-metadata-region-tag="aiplatform_create_endpoint_sample" data-text="REST" tabindex="-1">REST</h3> <p> Before using any of the request data, make the following replacements: </p> <ul> <li><var translate="no">LOCATION_ID</var>: Your region.</li> <li><var translate="no">PROJECT_ID</var>: Your <a href="/resource-manager/docs/creating-managing-projects#identifiers">project ID</a>.</li> <li> <var translate="no">ENDPOINT_NAME</var>: The display name for the endpoint. </li> </ul> <p> HTTP method and URL: </p> <section> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="HTTP method and URL" translate="no" dir="ltr" is-upgraded>POST https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints</pre></devsite-code> </section> <p> Request JSON body: </p> <section> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="request body" translate="no" dir="ltr" is-upgraded> { "display_name": "<var translate="no">ENDPOINT_NAME</var>" } </pre></devsite-code> </section> <p>To send your request, expand one of these options:</p> <section class="expandable" > <h4 class="showalways" id="curl-linux,-macos,-or-cloud-shell" data-text="curl (Linux, macOS, or Cloud Shell)" tabindex="-1">curl (Linux, macOS, or Cloud Shell)</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> , or by using <a href="/shell/docs">Cloud Shell</a>, which automatically logs you into the <code translate="no" dir="ltr">gcloud</code> CLI . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Save the request body in a file named <code translate="no" dir="ltr">request.json</code>, and execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label=" CURL command" translate="no" dir="ltr" is-upgraded>curl -X POST \<br> -H "Authorization: Bearer $(gcloud auth print-access-token)" \<br> -H "Content-Type: application/json; charset=utf-8" \<br> -d @request.json \<br> "https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints"</pre></devsite-code></section> </section> <section class="expandable" > <h4 class="showalways" id="powershell-windows" data-text="PowerShell (Windows)" tabindex="-1">PowerShell (Windows)</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Save the request body in a file named <code translate="no" dir="ltr">request.json</code>, and execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label="PowerShell command" translate="no" dir="ltr" is-upgraded>$cred = gcloud auth print-access-token<br>$headers = @{ "Authorization" = "Bearer $cred" }<br><br>Invoke-WebRequest `<br> -Method POST `<br> -Headers $headers `<br> -ContentType: "application/json; charset=utf-8" `<br> -InFile request.json `<br> -Uri "https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints" | Select-Object -Expand Content</pre></devsite-code></section> </section> <p>You should receive a JSON response similar to the following:</p> <section> <div></div><devsite-code><pre class="readonly" data-label="sample response" translate="no" dir="ltr" is-upgraded> { "name": "projects/<var translate="no">PROJECT_NUMBER</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints/<var translate="no">ENDPOINT_ID</var>/operations/<var translate="no">OPERATION_ID</var>", "metadata": { "@type": "type.googleapis.com/google.cloud.aiplatform.v1.CreateEndpointOperationMetadata", "genericMetadata": { "createTime": "2020-11-05T17:45:42.812656Z", "updateTime": "2020-11-05T17:45:42.812656Z" } } } </pre></devsite-code> </section> You can poll for the status of the operation until the response includes <code translate="no" dir="ltr">"done": true</code>. </section> <section> <h3 id="aiplatform_create_endpoint_sample-java" track-metadata-position="aiplatform_create_endpoint_sample" track-metadata-region-tag="aiplatform_create_endpoint_sample" data-text="Java" tabindex="-1"><span class="notranslate">Java</span></h3> <p> Before trying this sample, follow the <span class="notranslate">Java</span> setup instructions in the <a href="/vertex-ai/docs/start/client-libraries" track-type="clientLibrariesQuickstart" track-name="java" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/java-docs-samples/blob/HEAD/aiplatform/src/main/java/aiplatform/CreateEndpointSample.java" track-metadata-position="aiplatform_create_endpoint_sample">Vertex AI quickstart using client libraries</a>. For more information, see the <a href="/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="java" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/java-docs-samples/blob/HEAD/aiplatform/src/main/java/aiplatform/CreateEndpointSample.java" track-metadata-region-tag="aiplatform_create_endpoint_sample">Vertex AI <span class="notranslate">Java</span> API reference documentation</a>. </p> <p> To authenticate to Vertex AI, set up Application Default Credentials. For more information, see <a href="/docs/authentication/provide-credentials-adc#local-dev">Set up authentication for a local development environment</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="GoogleCloudPlatform/java-docs-samples/aiplatform/src/main/java/aiplatform/CreateEndpointSample.java/HEAD/aiplatform_create_endpoint_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/GoogleCloudPlatform/java-docs-samples/blob/HEAD/aiplatform/src/main/java/aiplatform/CreateEndpointSample.java" feedback-context="{"language": "java", "region_tag": "aiplatform_create_endpoint_sample", "snippet_file_url": "https://github.com/GoogleCloudPlatform/java-docs-samples/blob/HEAD/aiplatform/src/main/java/aiplatform/CreateEndpointSample.java"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="java" data-github-path="GoogleCloudPlatform/java-docs-samples/aiplatform/src/main/java/aiplatform/CreateEndpointSample.java" data-git-revision="HEAD" data-region-tag="aiplatform_create_endpoint_sample" dir="ltr" is-upgraded syntax="Java"><code translate="no" dir="ltr"> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.api.gax.longrunning.OperationFuture</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.CreateEndpointOperationMetadata</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.Endpoint</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.EndpointServiceClient</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.EndpointServiceSettings</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.LocationName</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.io.IOException</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.util.concurrent.ExecutionException</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.util.concurrent.TimeUnit</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.util.concurrent.TimeoutException</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kd">public</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">class</span> <span class="devsite-syntax-nc">CreateEndpointSample</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">public</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">static</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">void</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nf">main</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-o">[]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">args</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">throws</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">IOException</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">InterruptedException</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ExecutionException</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">TimeoutException</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// TODO(developer): Replace these variables before running the sample.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"YOUR_PROJECT_ID"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointDisplayName</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"YOUR_ENDPOINT_DISPLAY_NAME"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">createEndpointSample</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointDisplayName</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">static</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">void</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nf">createEndpointSample</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointDisplayName</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">throws</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">IOException</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">InterruptedException</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ExecutionException</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">TimeoutException</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointServiceSettings</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointServiceSettings</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointServiceSettings</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">()</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">setEndpoint</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"us-central1-aiplatform.googleapis.com:443"</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">build</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Initialize client that will be used to send requests. This client only needs to be created</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// once, and can be reused for multiple requests. After completing all of your requests, call</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// the "close" method on the client to safely clean up any remaining background resources.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">try</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">EndpointServiceClient</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointServiceClient</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointServiceClient</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">create</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">endpointServiceSettings</span><span class="devsite-syntax-p">))</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"us-central1"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">LocationName</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">locationName</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">LocationName</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">of</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Endpoint</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Endpoint</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">().</span><span class="devsite-syntax-na">setDisplayName</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">endpointDisplayName</span><span class="devsite-syntax-p">).</span><span class="devsite-syntax-na">build</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">OperationFuture<Endpoint</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">CreateEndpointOperationMetadata</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointFuture</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointServiceClient</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">createEndpointAsync</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">locationName</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">format</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Operation name: %s\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointFuture</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getInitialFuture</span><span class="devsite-syntax-p">().</span><span class="devsite-syntax-na">get</span><span class="devsite-syntax-p">().</span><span class="devsite-syntax-na">getName</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">println</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Waiting for operation to finish..."</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Endpoint</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointResponse</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointFuture</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">get</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-mi">300</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">TimeUnit</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">SECONDS</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">println</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Create Endpoint Response"</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">format</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Name: %s\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointResponse</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getName</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">format</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Display Name: %s\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointResponse</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getDisplayName</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">format</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Description: %s\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointResponse</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getDescription</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">format</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Labels: %s\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointResponse</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getLabelsMap</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">format</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Create Time: %s\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointResponse</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getCreateTime</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">format</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Update Time: %s\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointResponse</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getUpdateTime</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span></code></pre></devsite-code> </div> </section> <section> <h3 id="aiplatform_create_endpoint_sample-nodejs" track-metadata-position="aiplatform_create_endpoint_sample" track-metadata-region-tag="aiplatform_create_endpoint_sample" data-text="Node.js" tabindex="-1"><span class="notranslate">Node.js</span></h3> <p> Before trying this sample, follow the <span class="notranslate">Node.js</span> setup instructions in the <a href="/vertex-ai/docs/start/client-libraries" track-type="clientLibrariesQuickstart" track-name="nodejs" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob//ai-platform/snippets/create-endpoint.js" track-metadata-position="aiplatform_create_endpoint_sample">Vertex AI quickstart using client libraries</a>. For more information, see the <a href="/nodejs/docs/reference/aiplatform/latest" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="nodejs" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob//ai-platform/snippets/create-endpoint.js" track-metadata-region-tag="aiplatform_create_endpoint_sample">Vertex AI <span class="notranslate">Node.js</span> API reference documentation</a>. </p> <p> To authenticate to Vertex AI, set up Application Default Credentials. For more information, see <a href="/docs/authentication/provide-credentials-adc#local-dev">Set up authentication for a local development environment</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="GoogleCloudPlatform/nodejs-docs-samples/ai-platform/snippets/create-endpoint.js/HEAD/aiplatform_create_endpoint_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/HEAD/ai-platform/snippets/create-endpoint.js" feedback-context="{"language": "nodejs", "region_tag": "aiplatform_create_endpoint_sample", "snippet_file_url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/HEAD/ai-platform/snippets/create-endpoint.js"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="nodejs" data-github-path="GoogleCloudPlatform/nodejs-docs-samples/ai-platform/snippets/create-endpoint.js" data-git-revision="HEAD" data-region-tag="aiplatform_create_endpoint_sample" dir="ltr" is-upgraded syntax="JavaScript"><code translate="no" dir="ltr"><span class="devsite-syntax-cm">/**</span> <span class="devsite-syntax-cm"> * TODO(developer): Uncomment these variables before running the sample.\</span> <span class="devsite-syntax-cm"> * (Not necessary if passing values as arguments)</span> <span class="devsite-syntax-cm"> */</span> <span class="devsite-syntax-c1">// const endpointDisplayName = 'YOUR_ENDPOINT_DISPLAY_NAME';</span> <span class="devsite-syntax-c1">// const project = 'YOUR_PROJECT_ID';</span> <span class="devsite-syntax-c1">// const location = 'YOUR_PROJECT_LOCATION';</span> <span class="devsite-syntax-c1">// Imports the Google Cloud Endpoint Service Client library</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-nx">EndpointServiceClient</span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">require</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'@google-cloud/aiplatform'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-c1">// Specifies the location of the api endpoint</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">clientOptions</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">apiEndpoint</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'us-central1-aiplatform.googleapis.com'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-p">};</span> <span class="devsite-syntax-c1">// Instantiates a client</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">endpointServiceClient</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-ow">new</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">EndpointServiceClient</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">clientOptions</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-k">async</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">function</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">createEndpoint</span><span class="devsite-syntax-p">()</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Configure the parent resource</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">parent</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`projects/</span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">project</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">/locations/</span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">location</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">endpoint</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">displayName</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">endpointDisplayName</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">};</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">request</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">parent</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">endpoint</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">};</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Get and print out a list of all the endpoints for this resource</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nx">response</span><span class="devsite-syntax-p">]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">endpointServiceClient</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">createEndpoint</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">request</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`Long running operation : </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">response</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">name</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Wait for operation to complete</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">response</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">promise</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">result</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">response</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">result</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'Create endpoint response'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tName : </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">name</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tDisplay name : </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">displayName</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tDescription : </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">description</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tLabels : </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nb">JSON</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">stringify</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">labels</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tCreate time : </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nb">JSON</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">stringify</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">createTime</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tUpdate time : </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nb">JSON</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">stringify</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">updateTime</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-p">}</span> <span class="devsite-syntax-nx">createEndpoint</span><span class="devsite-syntax-p">();</span></code></pre></devsite-code> </div> </section> <section> <h3 id="aiplatform_create_endpoint_sample-python_vertex_ai_sdk" track-metadata-position="aiplatform_create_endpoint_sample" track-metadata-region-tag="aiplatform_create_endpoint_sample" data-text="Python" tabindex="-1">Python</h3> <p>To learn how to install or update the Vertex AI SDK for Python, see <a href="/vertex-ai/docs/start/use-vertex-ai-python-sdk" track-type="clientLibrariesReference" track- name="python_vertex_ai_sdk" track-metadata-position="aiplatform_create_endpoint_sample">Install the Vertex AI SDK for Python</a>. For more information, see the <a href="/python/docs/reference/aiplatform/latest" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="python_vertex_ai_sdk"> Python API reference documentation</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="googleapis/python-aiplatform/samples/model-builder/create_endpoint_sample.py/HEAD/aiplatform_sdk_create_endpoint_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/googleapis/python-aiplatform/blob/HEAD/samples/model-builder/create_endpoint_sample.py" feedback-context="{"language": "python_vertex_ai_sdk", "region_tag": "aiplatform_create_endpoint_sample", "snippet_file_url": "https://github.com/googleapis/python-aiplatform/blob/HEAD/samples/model-builder/create_endpoint_sample.py"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="python_vertex_ai_sdk" data-github-path="googleapis/python-aiplatform/samples/model-builder/create_endpoint_sample.py" data-git-revision="HEAD" data-region-tag="aiplatform_sdk_create_endpoint_sample" dir="ltr" is-upgraded syntax="Python"><code translate="no" dir="ltr"><span class="devsite-syntax-k">def</span> <span class="devsite-syntax-nf">create_endpoint_sample</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">display_name</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-p">):</span> <span class="devsite-syntax-n">aiplatform</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">init</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">location</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-n">endpoint</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-n">aiplatform</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">Endpoint</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">create</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-n">display_name</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">display_name</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">project</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">location</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-p">)</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">display_name</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">resource_name</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-k">return</span> <span class="devsite-syntax-n">endpoint</span> </code></pre></devsite-code> </div> </section> </devsite-selector></div></p> <p></p></li> </ul> </p> <h3 id="get-id" data-text="Get the endpoint ID" tabindex="-1">Get the endpoint ID</h3> <p> <p>You need the endpoint ID to deploy the model.</p> <p></p> <p></p> <p> <p> </p> <p> <div><devsite-selector> <section> <h3 id="aiplatform_get_endpoint_sample-gcloud" track-metadata-position="aiplatform_get_endpoint_sample" track-metadata-region-tag="aiplatform_get_endpoint_sample" data-text="gcloud" tabindex="-1"><span class="notranslate">gcloud</span></h3> </p> <p>The following example uses the <a href="/sdk/gcloud/reference/ai/endpoints/list"><code translate="no" dir="ltr">gcloud ai endpoints list</code> command</a>:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash"><code translate="no" dir="ltr"><span class="devsite-syntax-w"> </span>gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>list<span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--filter<span class="devsite-syntax-o">=</span><span class="devsite-syntax-nv">display_name</span><span class="devsite-syntax-o">=</span><var translate="no">ENDPOINT_NAME</var> </code></pre></devsite-code> <p>Replace the following:</p> <ul> <li> <var translate="no">LOCATION_ID</var>: The region where you are using Vertex AI. </li> <li><p> <var translate="no">ENDPOINT_NAME</var>: The display name for the endpoint. </p> <p>Note the number that appears in the <code translate="no" dir="ltr">ENDPOINT_ID</code> column. Use this ID in the following step.</p> </section> <section> <h3 id="aiplatform_get_endpoint_sample-drest" track-metadata-position="aiplatform_get_endpoint_sample" track-metadata-region-tag="aiplatform_get_endpoint_sample" data-text="REST" tabindex="-1">REST</h3> <p> Before using any of the request data, make the following replacements: </p> <ul> <li> <var translate="no">LOCATION_ID</var>: The region where you are using Vertex AI. </li> <li><var translate="no">PROJECT_ID</var>: Your <a href="/resource-manager/docs/creating-managing-projects#identifiers">project ID</a>.</li> <li> <var translate="no">ENDPOINT_NAME</var>: The display name for the endpoint. </li> </ul> <p> HTTP method and URL: </p> <section> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="HTTP method and URL" translate="no" dir="ltr" is-upgraded>GET https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints?filter=display_name=<var translate="no">ENDPOINT_NAME</var></pre></devsite-code> </section> <p>To send your request, expand one of these options:</p> <section class="expandable" > <h4 class="showalways" id="curl-linux,-macos,-or-cloud-shell_1" data-text="curl (Linux, macOS, or Cloud Shell)" tabindex="-1">curl (Linux, macOS, or Cloud Shell)</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> , or by using <a href="/shell/docs">Cloud Shell</a>, which automatically logs you into the <code translate="no" dir="ltr">gcloud</code> CLI . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label=" CURL command" translate="no" dir="ltr" is-upgraded>curl -X GET \<br> -H "Authorization: Bearer $(gcloud auth print-access-token)" \<br> "https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints?filter=display_name=<var translate="no">ENDPOINT_NAME</var>"</pre></devsite-code></section> </section> <section class="expandable" > <h4 class="showalways" id="powershell-windows_1" data-text="PowerShell (Windows)" tabindex="-1">PowerShell (Windows)</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label="PowerShell command" translate="no" dir="ltr" is-upgraded>$cred = gcloud auth print-access-token<br>$headers = @{ "Authorization" = "Bearer $cred" }<br><br>Invoke-WebRequest `<br> -Method GET `<br> -Headers $headers `<br> -Uri "https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints?filter=display_name=<var translate="no">ENDPOINT_NAME</var>" | Select-Object -Expand Content</pre></devsite-code></section> </section> <p>You should receive a JSON response similar to the following:</p> <section> <div></div><devsite-code><pre class="readonly" data-label="sample response" translate="no" dir="ltr" is-upgraded> { "endpoints": [ { "name": "projects/<var translate="no">PROJECT_NUMBER</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints/<var translate="no">ENDPOINT_ID</var>", "displayName": "<var translate="no">ENDPOINT_NAME</var>", "etag": "AMEw9yPz5pf4PwBHbRWOGh0PcAxUdjbdX2Jm3QO_amguy3DbZGP5Oi_YUKRywIE-BtLx", "createTime": "2020-04-17T18:31:11.585169Z", "updateTime": "2020-04-17T18:35:08.568959Z" } ] } </pre></devsite-code> </section> Note the <var translate="no">ENDPOINT_ID</var>. </section> </devsite-selector></div></p> <p></p></li> </ul> </p> <h3 id="deploy-model" data-text="Deploy the model" tabindex="-1">Deploy the model</h3> <p>Select the tab below for your language or environment:</p> <div id="aiplatform_deploy_model_custom_trained_model_sample-code-sample" class="ds-selector-tabs" data-ds-scope="code-sample"> <section> <h3 id="aiplatform_deploy_model_custom_trained_model_sample-gcloud" track-metadata-position="aiplatform_deploy_model_custom_trained_model_sample" track-metadata-region-tag="aiplatform_deploy_model_custom_trained_model_sample" data-text="gcloud" tabindex="-1"><span class="notranslate">gcloud</span></h3> <p>The following examples use the <a href="/sdk/gcloud/reference/ai/endpoints/deploy-model" ><code translate="no" dir="ltr">gcloud ai endpoints deploy-model</code> command</a>.</p> <p>The following example deploys a <code translate="no" dir="ltr">Model</code> to an <code translate="no" dir="ltr">Endpoint</code> without using GPUs to accelerate prediction serving and without splitting traffic between multiple <code translate="no" dir="ltr">DeployedModel</code> resources:</p> <p> Before using any of the command data below, make the following replacements: </p> <ul> <li> <var translate="no">ENDPOINT_ID</var>: The ID for the endpoint. </li> <li> <var translate="no">LOCATION_ID</var>: The region where you are using Vertex AI. </li> <li> <var translate="no">MODEL_ID</var>: The ID for the model to be deployed. </li> <li> <var translate="no">DEPLOYED_MODEL_NAME</var>: A name for the <code translate="no" dir="ltr">DeployedModel</code>. You can use the display name of the <code translate="no" dir="ltr">Model</code> for the <code translate="no" dir="ltr">DeployedModel</code> as well. </li> <li> <var translate="no">MACHINE_TYPE</var>: Optional. The machine resources used for each node of this deployment. Its default setting is <code translate="no" dir="ltr">n1-standard-2</code>. <a href="/vertex-ai/docs/predictions/configure-compute">Learn more about machine types.</a> </li> <li> <var translate="no">MIN_REPLICA_COUNT</var>: The minimum number of nodes for this deployment. The node count can be increased or decreased as required by the prediction load, up to the maximum number of nodes and never fewer than this number of nodes. This value must be greater than or equal to 1. If the <code translate="no" dir="ltr">--min-replica-count</code> flag is omitted, the value defaults to 1. </li> <li> <var translate="no">MAX_REPLICA_COUNT</var>: The maximum number of nodes for this deployment. The node count can be increased or decreased as required by the prediction load, up to this number of nodes and never fewer than the minimum number of nodes. If you omit the <code translate="no" dir="ltr">--max-replica-count</code> flag, then maximum number of nodes is set to the value of <code translate="no" dir="ltr">--min-replica-count</code>.</li> </ul> <p> Execute the <a href="/sdk/gcloud/reference/ai/endpoints/deploy-model">gcloud ai endpoints deploy-model</a> command: </p> <devsite-expandable expanded> <h4 class="showalways" id="linux,-macos,-or-cloud-shell" data-text="Linux, macOS, or Cloud Shell" tabindex="-1">Linux, macOS, or Cloud Shell</h4> <aside class="note"><b>Note:</b> Ensure you have initialized the Google Cloud CLI with authentication and a project by running either <a href="/sdk/gcloud/reference/init">gcloud init</a>; or <a href="/sdk/gcloud/reference/auth/login">gcloud auth login</a> and <a href="/sdk/gcloud/reference/config/set">gcloud config set project</a>. </aside> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="Linux command" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>deploy-model<span class="devsite-syntax-w"> </span><var translate="no">ENDPOINT_ID</var><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--model<span class="devsite-syntax-o">=</span><var translate="no">MODEL_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--display-name<span class="devsite-syntax-o">=</span><var translate="no">DEPLOYED_MODEL_NAME</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--machine-type<span class="devsite-syntax-o">=</span><var translate="no">MACHINE_TYPE</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--min-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MIN_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--max-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MAX_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--traffic-split<span class="devsite-syntax-o">=</span><span class="devsite-syntax-nv">0</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-m">100</span></pre></devsite-code> </devsite-expandable> <devsite-expandable> <h4 class="showalways" id="windows-powershell" data-text="Windows (PowerShell)" tabindex="-1">Windows (PowerShell)</h4> <aside class="note"><b>Note:</b> Ensure you have initialized the Google Cloud CLI with authentication and a project by running either <a href="/sdk/gcloud/reference/init">gcloud init</a>; or <a href="/sdk/gcloud/reference/auth/login">gcloud auth login</a> and <a href="/sdk/gcloud/reference/config/set">gcloud config set project</a>. </aside> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="PowerShell command" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>deploy-model<span class="devsite-syntax-w"> </span><var translate="no">ENDPOINT_ID</var><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--model<span class="devsite-syntax-o">=</span><var translate="no">MODEL_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--display-name<span class="devsite-syntax-o">=</span><var translate="no">DEPLOYED_MODEL_NAME</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--machine-type<span class="devsite-syntax-o">=</span><var translate="no">MACHINE_TYPE</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--min-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MIN_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--max-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MAX_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--traffic-split<span class="devsite-syntax-o">=</span><span class="devsite-syntax-nv">0</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-m">100</span></pre></devsite-code> </devsite-expandable> <devsite-expandable> <h4 class="showalways" id="windows-cmd.exe" data-text="Windows (cmd.exe)" tabindex="-1">Windows (cmd.exe)</h4> <aside class="note"><b>Note:</b> Ensure you have initialized the Google Cloud CLI with authentication and a project by running either <a href="/sdk/gcloud/reference/init">gcloud init</a>; or <a href="/sdk/gcloud/reference/auth/login">gcloud auth login</a> and <a href="/sdk/gcloud/reference/config/set">gcloud config set project</a>. </aside> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="cmd.exe command" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>deploy-model<span class="devsite-syntax-w"> </span><var translate="no">ENDPOINT_ID</var>^ <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION_ID</var><span class="devsite-syntax-w"> </span>^ <span class="devsite-syntax-w"> </span>--model<span class="devsite-syntax-o">=</span><var translate="no">MODEL_ID</var><span class="devsite-syntax-w"> </span>^ <span class="devsite-syntax-w"> </span>--display-name<span class="devsite-syntax-o">=</span><var translate="no">DEPLOYED_MODEL_NAME</var><span class="devsite-syntax-w"> </span>^ <span class="devsite-syntax-w"> </span>--machine-type<span class="devsite-syntax-o">=</span><var translate="no">MACHINE_TYPE</var><span class="devsite-syntax-w"> </span>^ <span class="devsite-syntax-w"> </span>--min-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MIN_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span>^ <span class="devsite-syntax-w"> </span>--max-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MAX_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span>^ <span class="devsite-syntax-w"> </span>--traffic-split<span class="devsite-syntax-o">=</span><span class="devsite-syntax-nv">0</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-m">100</span></pre></devsite-code> </devsite-expandable> <h4 id="splitting-traffic" data-text="Splitting traffic" tabindex="-1">Splitting traffic</h4> <p>The <code translate="no" dir="ltr">--traffic-split=0=100</code> flag in the preceding examples sends 100% of prediction traffic that the <code translate="no" dir="ltr">Endpoint</code> receives to the new <code translate="no" dir="ltr">DeployedModel</code>, which is represented by the temporary ID <code translate="no" dir="ltr">0</code>. If your <code translate="no" dir="ltr">Endpoint</code> already has other <code translate="no" dir="ltr">DeployedModel</code> resources, then you can split traffic between the new <code translate="no" dir="ltr">DeployedModel</code> and the old ones. For example, to send 20% of traffic to the new <code translate="no" dir="ltr">DeployedModel</code> and 80% to an older one, run the following command. <p> Before using any of the command data below, make the following replacements: </p> <ul> <li><var translate="no">OLD_DEPLOYED_MODEL_ID</var>: the ID of the existing <code translate="no" dir="ltr">DeployedModel</code>.</li> </ul> <p> Execute the <a href="/sdk/gcloud/reference/ai/endpoints/deploy-model">gcloud ai endpoints deploy-model</a> command: </p> <devsite-expandable expanded> <h4 class="showalways" id="linux,-macos,-or-cloud-shell_1" data-text="Linux, macOS, or Cloud Shell" tabindex="-1">Linux, macOS, or Cloud Shell</h4> <aside class="note"><b>Note:</b> Ensure you have initialized the Google Cloud CLI with authentication and a project by running either <a href="/sdk/gcloud/reference/init">gcloud init</a>; or <a href="/sdk/gcloud/reference/auth/login">gcloud auth login</a> and <a href="/sdk/gcloud/reference/config/set">gcloud config set project</a>. </aside> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-code-highlight" data-label="Linux command" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>deploy-model<span class="devsite-syntax-w"> </span><var translate="no">ENDPOINT_ID</var><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--model<span class="devsite-syntax-o">=</span><var translate="no">MODEL_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--display-name<span class="devsite-syntax-o">=</span><var translate="no">DEPLOYED_MODEL_NAME</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\ </span> <span class="devsite-syntax-w"> </span>--machine-type<span class="devsite-syntax-o">=</span><var translate="no">MACHINE_TYPE</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--min-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MIN_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--max-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MAX_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span><strong>--traffic-split<span class="devsite-syntax-o">=</span><span class="devsite-syntax-nv">0</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-m">20</span>,<var translate="no">OLD_DEPLOYED_MODEL_ID</var><span class="devsite-syntax-o">=</span><span class="devsite-syntax-m">80</span></strong></pre></devsite-code> </devsite-expandable> <devsite-expandable> <h4 class="showalways" id="windows-powershell_1" data-text="Windows (PowerShell)" tabindex="-1">Windows (PowerShell)</h4> <aside class="note"><b>Note:</b> Ensure you have initialized the Google Cloud CLI with authentication and a project by running either <a href="/sdk/gcloud/reference/init">gcloud init</a>; or <a href="/sdk/gcloud/reference/auth/login">gcloud auth login</a> and <a href="/sdk/gcloud/reference/config/set">gcloud config set project</a>. </aside> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-code-highlight" data-label="PowerShell command" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>deploy-model<span class="devsite-syntax-w"> </span><var translate="no">ENDPOINT_ID</var><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--model<span class="devsite-syntax-o">=</span><var translate="no">MODEL_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--display-name<span class="devsite-syntax-o">=</span><var translate="no">DEPLOYED_MODEL_NAME</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\ </span> <span class="devsite-syntax-w"> </span>--machine-type<span class="devsite-syntax-o">=</span><var translate="no">MACHINE_TYPE</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--min-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MIN_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span>--max-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MAX_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`</span> <span class="devsite-syntax-w"> </span><strong>--traffic-split<span class="devsite-syntax-o">=</span><span class="devsite-syntax-nv">0</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-m">20</span>,<var translate="no">OLD_DEPLOYED_MODEL_ID</var><span class="devsite-syntax-o">=</span><span class="devsite-syntax-m">80</span></strong></pre></devsite-code> </devsite-expandable> <devsite-expandable> <h4 class="showalways" id="windows-cmd.exe_1" data-text="Windows (cmd.exe)" tabindex="-1">Windows (cmd.exe)</h4> <aside class="note"><b>Note:</b> Ensure you have initialized the Google Cloud CLI with authentication and a project by running either <a href="/sdk/gcloud/reference/init">gcloud init</a>; or <a href="/sdk/gcloud/reference/auth/login">gcloud auth login</a> and <a href="/sdk/gcloud/reference/config/set">gcloud config set project</a>. </aside> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-code-highlight" data-label="cmd.exe command" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>deploy-model<span class="devsite-syntax-w"> </span><var translate="no">ENDPOINT_ID</var>^ <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION_ID</var><span class="devsite-syntax-w"> </span>^ <span class="devsite-syntax-w"> </span>--model<span class="devsite-syntax-o">=</span><var translate="no">MODEL_ID</var><span class="devsite-syntax-w"> </span>^ <span class="devsite-syntax-w"> </span>--display-name<span class="devsite-syntax-o">=</span><var translate="no">DEPLOYED_MODEL_NAME</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\ </span> <span class="devsite-syntax-w"> </span>--machine-type<span class="devsite-syntax-o">=</span><var translate="no">MACHINE_TYPE</var><span class="devsite-syntax-w"> </span>^ <span class="devsite-syntax-w"> </span>--min-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MIN_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span>^ <span class="devsite-syntax-w"> </span>--max-replica-count<span class="devsite-syntax-o">=</span><var translate="no">MAX_REPLICA_COUNT</var><span class="devsite-syntax-w"> </span>^ <span class="devsite-syntax-w"> </span><strong>--traffic-split<span class="devsite-syntax-o">=</span><span class="devsite-syntax-nv">0</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-m">20</span>,<var translate="no">OLD_DEPLOYED_MODEL_ID</var><span class="devsite-syntax-o">=</span><span class="devsite-syntax-m">80</span></strong></pre></devsite-code> </devsite-expandable> </section> <section> <h3 id="aiplatform_deploy_model_custom_trained_model_sample-drest" track-metadata-position="aiplatform_deploy_model_custom_trained_model_sample" track-metadata-region-tag="aiplatform_deploy_model_custom_trained_model_sample" data-text="REST" tabindex="-1">REST</h3> <p> You use the <a href="/vertex-ai/docs/reference/rest/v1/projects.locations.endpoints/predict">endpoints.predict</a> method to request an online prediction. </p> <p>Deploy the model.</p> <p> Before using any of the request data, make the following replacements: </p> <ul> <li> <var translate="no">LOCATION_ID</var>: The region where you are using Vertex AI. </li> <li><var translate="no">PROJECT_ID</var>: Your <a href="/resource-manager/docs/creating-managing-projects#identifiers">project ID</a>.</li> <li> <var translate="no">ENDPOINT_ID</var>: The ID for the endpoint. </li> <li> <var translate="no">MODEL_ID</var>: The ID for the model to be deployed. </li> <li> <var translate="no">DEPLOYED_MODEL_NAME</var>: A name for the <code translate="no" dir="ltr">DeployedModel</code>. You can use the display name of the <code translate="no" dir="ltr">Model</code> for the <code translate="no" dir="ltr">DeployedModel</code> as well. </li> <li> <var translate="no">MACHINE_TYPE</var>: Optional. The machine resources used for each node of this deployment. Its default setting is <code translate="no" dir="ltr">n1-standard-2</code>. <a href="/vertex-ai/docs/predictions/configure-compute">Learn more about machine types.</a> </li> <li> <var translate="no">ACCELERATOR_TYPE</var>: The type of accelerator to be attached to the machine. Optional if <var translate="no">ACCELERATOR_COUNT</var> is not specified or is zero. Not recommended for AutoML models or custom-trained models that are using non-GPU images. <a href="/vertex-ai/docs/predictions/configure-compute#gpus">Learn more</a>. </li> <li> <var translate="no">ACCELERATOR_COUNT</var>: The number of accelerators for each replica to use. Optional. Should be zero or unspecified for AutoML models or custom-trained models that are using non-GPU images. </li> <li> <var translate="no">MIN_REPLICA_COUNT</var>: The minimum number of nodes for this deployment. The node count can be increased or decreased as required by the prediction load, up to the maximum number of nodes and never fewer than this number of nodes. This value must be greater than or equal to 1.</li> <li> <var translate="no">MAX_REPLICA_COUNT</var>: The maximum number of nodes for this deployment. The node count can be increased or decreased as required by the prediction load, up to this number of nodes and never fewer than the minimum number of nodes. </li> <li> <var translate="no">TRAFFIC_SPLIT_THIS_MODEL</var>: The percentage of the prediction traffic to this endpoint to be routed to the model being deployed with this operation. Defaults to 100. All traffic percentages must add up to 100. <a href="/vertex-ai/docs/general/deployment#models-endpoint">Learn more about traffic splits</a>. </li> <li> <var translate="no">DEPLOYED_MODEL_ID_N</var>: Optional. If other models are deployed to this endpoint, you must update their traffic split percentages so that all percentages add up to 100. </li> <li> <var translate="no">TRAFFIC_SPLIT_MODEL_N</var>: The traffic split percentage value for the deployed model id key. </li> <li><var translate="no">PROJECT_NUMBER</var>: Your project's automatically generated <a href="/resource-manager/docs/creating-managing-projects#identifiers">project number</a></li> </ul> <p> HTTP method and URL: </p> <section> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="HTTP method and URL" translate="no" dir="ltr" is-upgraded>POST https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:deployModel</pre></devsite-code> </section> <p> Request JSON body: </p> <section> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="request body" translate="no" dir="ltr" is-upgraded> { "deployedModel": { "model": "projects/<var translate="no">PROJECT</var>/locations/us-central1/models/<var translate="no">MODEL_ID</var>", "displayName": "<var translate="no">DEPLOYED_MODEL_NAME</var>", "dedicatedResources": { "machineSpec": { "machineType": "<var translate="no">MACHINE_TYPE</var>", "acceleratorType": "<var translate="no">ACCELERATOR_TYPE</var>", "acceleratorCount": "<var translate="no">ACCELERATOR_COUNT</var>" }, "minReplicaCount": <var translate="no">MIN_REPLICA_COUNT</var>, "maxReplicaCount": <var translate="no">MAX_REPLICA_COUNT</var> }, }, "trafficSplit": { "0": <var translate="no">TRAFFIC_SPLIT_THIS_MODEL</var>, "<var translate="no">DEPLOYED_MODEL_ID_1</var>": <var translate="no">TRAFFIC_SPLIT_MODEL_1</var>, "<var translate="no">DEPLOYED_MODEL_ID_2</var>": <var translate="no">TRAFFIC_SPLIT_MODEL_2</var> }, } </pre></devsite-code> </section> <p>To send your request, expand one of these options:</p> <section class="expandable" > <h4 class="showalways" id="curl-linux,-macos,-or-cloud-shell_2" data-text="curl (Linux, macOS, or Cloud Shell)" tabindex="-1">curl (Linux, macOS, or Cloud Shell)</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> , or by using <a href="/shell/docs">Cloud Shell</a>, which automatically logs you into the <code translate="no" dir="ltr">gcloud</code> CLI . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Save the request body in a file named <code translate="no" dir="ltr">request.json</code>, and execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label=" CURL command" translate="no" dir="ltr" is-upgraded>curl -X POST \<br> -H "Authorization: Bearer $(gcloud auth print-access-token)" \<br> -H "Content-Type: application/json; charset=utf-8" \<br> -d @request.json \<br> "https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:deployModel"</pre></devsite-code></section> </section> <section class="expandable" > <h4 class="showalways" id="powershell-windows_2" data-text="PowerShell (Windows)" tabindex="-1">PowerShell (Windows)</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Save the request body in a file named <code translate="no" dir="ltr">request.json</code>, and execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label="PowerShell command" translate="no" dir="ltr" is-upgraded>$cred = gcloud auth print-access-token<br>$headers = @{ "Authorization" = "Bearer $cred" }<br><br>Invoke-WebRequest `<br> -Method POST `<br> -Headers $headers `<br> -ContentType: "application/json; charset=utf-8" `<br> -InFile request.json `<br> -Uri "https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:deployModel" | Select-Object -Expand Content</pre></devsite-code></section> </section> <p>You should receive a JSON response similar to the following:</p> <section> <div></div><devsite-code><pre class="readonly" data-label="sample response" translate="no" dir="ltr" is-upgraded> { "name": "projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION</var>/endpoints/<var translate="no">ENDPOINT_ID</var>/operations/<var translate="no">OPERATION_ID</var>", "metadata": { "@type": "type.googleapis.com/google.cloud.aiplatform.v1.DeployModelOperationMetadata", "genericMetadata": { "createTime": "2020-10-19T17:53:16.502088Z", "updateTime": "2020-10-19T17:53:16.502088Z" } } } </pre></devsite-code> </section> </section> <section> <h3 id="aiplatform_deploy_model_custom_trained_model_sample-java" track-metadata-position="aiplatform_deploy_model_custom_trained_model_sample" track-metadata-region-tag="aiplatform_deploy_model_custom_trained_model_sample" data-text="Java" tabindex="-1"><span class="notranslate">Java</span></h3> <p> Before trying this sample, follow the <span class="notranslate">Java</span> setup instructions in the <a href="/vertex-ai/docs/start/client-libraries" track-type="clientLibrariesQuickstart" track-name="java" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/java-docs-samples/blob//aiplatform/src/main/java/aiplatform/DeployModelCustomTrainedModelSample.java" track-metadata-position="aiplatform_deploy_model_custom_trained_model_sample">Vertex AI quickstart using client libraries</a>. For more information, see the <a href="/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="java" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/java-docs-samples/blob//aiplatform/src/main/java/aiplatform/DeployModelCustomTrainedModelSample.java" track-metadata-region-tag="aiplatform_deploy_model_custom_trained_model_sample">Vertex AI <span class="notranslate">Java</span> API reference documentation</a>. </p> <p> To authenticate to Vertex AI, set up Application Default Credentials. For more information, see <a href="/docs/authentication/provide-credentials-adc#local-dev">Set up authentication for a local development environment</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="GoogleCloudPlatform/java-docs-samples/aiplatform/src/main/java/aiplatform/DeployModelCustomTrainedModelSample.java/HEAD/aiplatform_deploy_model_custom_trained_model_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/GoogleCloudPlatform/java-docs-samples/blob/HEAD/aiplatform/src/main/java/aiplatform/DeployModelCustomTrainedModelSample.java" feedback-context="{"language": "java", "region_tag": "aiplatform_deploy_model_custom_trained_model_sample", "snippet_file_url": "https://github.com/GoogleCloudPlatform/java-docs-samples/blob/HEAD/aiplatform/src/main/java/aiplatform/DeployModelCustomTrainedModelSample.java"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="java" data-github-path="GoogleCloudPlatform/java-docs-samples/aiplatform/src/main/java/aiplatform/DeployModelCustomTrainedModelSample.java" data-git-revision="HEAD" data-region-tag="aiplatform_deploy_model_custom_trained_model_sample" dir="ltr" is-upgraded syntax="Java"><code translate="no" dir="ltr"><span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.api.gax.longrunning.OperationFuture</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.DedicatedResources</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.DeployModelOperationMetadata</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.DeployModelResponse</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.DeployedModel</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.EndpointName</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.EndpointServiceClient</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.EndpointServiceSettings</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.MachineSpec</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.ModelName</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.io.IOException</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.util.HashMap</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.util.Map</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.util.concurrent.ExecutionException</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kd">public</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">class</span> <span class="devsite-syntax-nc">DeployModelCustomTrainedModelSample</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">public</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">static</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">void</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nf">main</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-o">[]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">args</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">throws</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">IOException</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ExecutionException</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">InterruptedException</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// TODO(developer): Replace these variables before running the sample.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"PROJECT"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"ENDPOINT_ID"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">modelName</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"MODEL_NAME"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">deployedModelDisplayName</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"DEPLOYED_MODEL_DISPLAY_NAME"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">deployModelCustomTrainedModelSample</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">modelName</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">deployedModelDisplayName</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">static</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">void</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nf">deployModelCustomTrainedModelSample</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">model</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">deployedModelDisplayName</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">throws</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">IOException</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ExecutionException</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">InterruptedException</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointServiceSettings</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">settings</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointServiceSettings</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">()</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">setEndpoint</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"us-central1-aiplatform.googleapis.com:443"</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">build</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"us-central1"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Initialize client that will be used to send requests. This client only needs to be created</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// once, and can be reused for multiple requests. After completing all of your requests, call</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// the "close" method on the client to safely clean up any remaining background resources.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">try</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">EndpointServiceClient</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">client</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointServiceClient</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">create</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">settings</span><span class="devsite-syntax-p">))</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">MachineSpec</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">machineSpec</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">MachineSpec</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">().</span><span class="devsite-syntax-na">setMachineType</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"n1-standard-2"</span><span class="devsite-syntax-p">).</span><span class="devsite-syntax-na">build</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">DedicatedResources</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">dedicatedResources</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">DedicatedResources</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">().</span><span class="devsite-syntax-na">setMinReplicaCount</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-mi">1</span><span class="devsite-syntax-p">).</span><span class="devsite-syntax-na">setMachineSpec</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">machineSpec</span><span class="devsite-syntax-p">).</span><span class="devsite-syntax-na">build</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">modelName</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ModelName</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">of</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">model</span><span class="devsite-syntax-p">).</span><span class="devsite-syntax-na">toString</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">DeployedModel</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">deployedModel</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">DeployedModel</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">()</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">setModel</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">modelName</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">setDisplayName</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">deployedModelDisplayName</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// `dedicated_resources` must be used for non-AutoML models</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">setDedicatedResources</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">dedicatedResources</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">build</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// key '0' assigns traffic for the newly deployed model</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Traffic percentage values must add up to 100</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Leave dictionary empty if endpoint should not accept any traffic</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Map<String</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Integer</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">trafficSplit</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">new</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">HashMap</span><><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">trafficSplit</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">put</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"0"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mi">100</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointName</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointName</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">of</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">OperationFuture<DeployModelResponse</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">DeployModelOperationMetadata</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">response</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">client</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">deployModelAsync</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">deployedModel</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">trafficSplit</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// You can use OperationFuture.getInitialFuture to get a future representing the initial</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// response to the request, which contains information while the operation is in progress.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">format</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Operation name: %s\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">response</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getInitialFuture</span><span class="devsite-syntax-p">().</span><span class="devsite-syntax-na">get</span><span class="devsite-syntax-p">().</span><span class="devsite-syntax-na">getName</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// OperationFuture.get() will block until the operation is finished.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">DeployModelResponse</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">deployModelResponse</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">response</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">get</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">format</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"deployModelResponse: %s\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">deployModelResponse</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span> </code></pre></devsite-code> </div> </section> <section> <h3 id="aiplatform_deploy_model_custom_trained_model_sample-python_vertex_ai_sdk" track-metadata-position="aiplatform_deploy_model_custom_trained_model_sample" track-metadata-region-tag="aiplatform_deploy_model_custom_trained_model_sample" data-text="Python" tabindex="-1">Python</h3> <p>To learn how to install or update the Vertex AI SDK for Python, see <a href="/vertex-ai/docs/start/use-vertex-ai-python-sdk" track-type="clientLibrariesReference" track- name="python_vertex_ai_sdk" track-metadata-position="aiplatform_deploy_model_custom_trained_model_sample">Install the Vertex AI SDK for Python</a>. For more information, see the <a href="/python/docs/reference/aiplatform/latest" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="python_vertex_ai_sdk"> Python API reference documentation</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="googleapis/python-aiplatform/samples/model-builder/deploy_model_with_dedicated_resources_sample.py/HEAD/aiplatform_sdk_deploy_model_with_dedicated_resources_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/googleapis/python-aiplatform/blob/HEAD/samples/model-builder/deploy_model_with_dedicated_resources_sample.py" feedback-context="{"language": "python_vertex_ai_sdk", "region_tag": "aiplatform_deploy_model_custom_trained_model_sample", "snippet_file_url": "https://github.com/googleapis/python-aiplatform/blob/HEAD/samples/model-builder/deploy_model_with_dedicated_resources_sample.py"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="python_vertex_ai_sdk" data-github-path="googleapis/python-aiplatform/samples/model-builder/deploy_model_with_dedicated_resources_sample.py" data-git-revision="HEAD" data-region-tag="aiplatform_sdk_deploy_model_with_dedicated_resources_sample" dir="ltr" is-upgraded syntax="Python"><code translate="no" dir="ltr"><span class="devsite-syntax-k">def</span> <span class="devsite-syntax-nf">deploy_model_with_dedicated_resources_sample</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">model_name</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">machine_type</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">Optional</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-n">aiplatform</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">Endpoint</span><span class="devsite-syntax-p">]</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-kc">None</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">deployed_model_display_name</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">Optional</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">]</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-kc">None</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">traffic_percentage</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">Optional</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nb">int</span><span class="devsite-syntax-p">]</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-mi">0</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">traffic_split</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">Optional</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-n">Dict</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-nb">int</span><span class="devsite-syntax-p">]]</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-kc">None</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">min_replica_count</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">int</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-mi">1</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">max_replica_count</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">int</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-mi">1</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">accelerator_type</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">Optional</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">]</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-kc">None</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">accelerator_count</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">Optional</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nb">int</span><span class="devsite-syntax-p">]</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-kc">None</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">explanation_metadata</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">Optional</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-n">explain</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">ExplanationMetadata</span><span class="devsite-syntax-p">]</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-kc">None</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">explanation_parameters</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">Optional</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-n">explain</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">ExplanationParameters</span><span class="devsite-syntax-p">]</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-kc">None</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">metadata</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">Optional</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-n">Sequence</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-n">Tuple</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">]]]</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-p">(),</span> <span class="devsite-syntax-n">sync</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">bool</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-kc">True</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-p">):</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-sd">"""</span> <span class="devsite-syntax-sd"> model_name: A fully-qualified model resource name or model ID.</span> <span class="devsite-syntax-sd"> Example: "projects/123/locations/us-central1/models/456" or</span> <span class="devsite-syntax-sd"> "456" when project and location are initialized or passed.</span> <span class="devsite-syntax-sd"> """</span> <span class="devsite-syntax-n">aiplatform</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">init</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">location</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-n">model</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-n">aiplatform</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">Model</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">model_name</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">model_name</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-c1"># The explanation_metadata and explanation_parameters should only be</span> <span class="devsite-syntax-c1"># provided for a custom trained model and not an AutoML model.</span> <span class="devsite-syntax-n">model</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">deploy</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">deployed_model_display_name</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">deployed_model_display_name</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">traffic_percentage</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">traffic_percentage</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">traffic_split</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">traffic_split</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">machine_type</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">machine_type</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">min_replica_count</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">min_replica_count</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">max_replica_count</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">max_replica_count</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">accelerator_type</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">accelerator_type</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">accelerator_count</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">accelerator_count</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">explanation_metadata</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">explanation_metadata</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">explanation_parameters</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">explanation_parameters</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">metadata</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">metadata</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">sync</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">sync</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-p">)</span> <span class="devsite-syntax-n">model</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">wait</span><span class="devsite-syntax-p">()</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">model</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">display_name</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">model</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">resource_name</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-k">return</span> <span class="devsite-syntax-n">model</span> </code></pre></devsite-code> </div> </section> <section> <h3 id="aiplatform_deploy_model_custom_trained_model_sample-nodejs" track-metadata-position="aiplatform_deploy_model_custom_trained_model_sample" track-metadata-region-tag="aiplatform_deploy_model_custom_trained_model_sample" data-text="Node.js" tabindex="-1"><span class="notranslate">Node.js</span></h3> <p> Before trying this sample, follow the <span class="notranslate">Node.js</span> setup instructions in the <a href="/vertex-ai/docs/start/client-libraries" track-type="clientLibrariesQuickstart" track-name="nodejs" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob//automl/tables/create-model.v1beta1.js" track-metadata-position="aiplatform_deploy_model_custom_trained_model_sample">Vertex AI quickstart using client libraries</a>. For more information, see the <a href="/nodejs/docs/reference/aiplatform/latest" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="nodejs" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob//automl/tables/create-model.v1beta1.js" track-metadata-region-tag="aiplatform_deploy_model_custom_trained_model_sample">Vertex AI <span class="notranslate">Node.js</span> API reference documentation</a>. </p> <p> To authenticate to Vertex AI, set up Application Default Credentials. For more information, see <a href="/docs/authentication/provide-credentials-adc#local-dev">Set up authentication for a local development environment</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="GoogleCloudPlatform/nodejs-docs-samples/automl/tables/create-model.v1beta1.js/HEAD/automl_tables_create_model" data-code-snippet="true" data-github-includecode-link="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/HEAD/automl/tables/create-model.v1beta1.js" feedback-context="{"language": "nodejs", "region_tag": "aiplatform_deploy_model_custom_trained_model_sample", "snippet_file_url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/HEAD/automl/tables/create-model.v1beta1.js"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="nodejs" data-github-path="GoogleCloudPlatform/nodejs-docs-samples/automl/tables/create-model.v1beta1.js" data-git-revision="HEAD" data-region-tag="automl_tables_create_model" dir="ltr" is-upgraded syntax="JavaScript"><code translate="no" dir="ltr"><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">automl</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">require</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'@google-cloud/automl'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">client</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-ow">new</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">automl</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">v1beta1</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">AutoMlClient</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-cm">/**</span> <span class="devsite-syntax-cm"> * Demonstrates using the AutoML client to create a model.</span> <span class="devsite-syntax-cm"> * TODO(developer): Uncomment the following lines before running the sample.</span> <span class="devsite-syntax-cm"> */</span> <span class="devsite-syntax-c1">// const projectId = '[PROJECT_ID]' e.g., "my-gcloud-project";</span> <span class="devsite-syntax-c1">// const computeRegion = '[REGION_NAME]' e.g., "us-central1";</span> <span class="devsite-syntax-c1">// const datasetId = '[DATASET_ID]' e.g., "TBL2246891593778855936";</span> <span class="devsite-syntax-c1">// const tableId = '[TABLE_ID]' e.g., "1991013247762825216";</span> <span class="devsite-syntax-c1">// const columnId = '[COLUMN_ID]' e.g., "773141392279994368";</span> <span class="devsite-syntax-c1">// const modelName = '[MODEL_NAME]' e.g., "testModel";</span> <span class="devsite-syntax-c1">// const trainBudget = '[TRAIN_BUDGET]' e.g., "1000",</span> <span class="devsite-syntax-c1">// `Train budget in milli node hours`;</span> <span class="devsite-syntax-c1">// A resource that represents Google Cloud Platform location.</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">projectLocation</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">client</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">locationPath</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">projectId</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">computeRegion</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-c1">// Get the full path of the column.</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">columnSpecId</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">client</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">columnSpecPath</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">projectId</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">computeRegion</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">datasetId</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">tableId</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">columnId</span> <span class="devsite-syntax-p">);</span> <span class="devsite-syntax-c1">// Set target column to train the model.</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">targetColumnSpec</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-nx">name</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">columnSpecId</span><span class="devsite-syntax-p">};</span> <span class="devsite-syntax-c1">// Set tables model metadata.</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">tablesModelMetadata</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">targetColumnSpec</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">targetColumnSpec</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">trainBudgetMilliNodeHours</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">trainBudget</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-p">};</span> <span class="devsite-syntax-c1">// Set datasetId, model name and model metadata for the dataset.</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">myModel</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">datasetId</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">datasetId</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">displayName</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">modelName</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">tablesModelMetadata</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">tablesModelMetadata</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-p">};</span> <span class="devsite-syntax-c1">// Create a model with the model metadata in the region.</span> <span class="devsite-syntax-nx">client</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">createModel</span><span class="devsite-syntax-p">({</span><span class="devsite-syntax-nx">parent</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">projectLocation</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">model</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">myModel</span><span class="devsite-syntax-p">})</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">then</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">responses</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">initialApiResponse</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">responses</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-mf">1</span><span class="devsite-syntax-p">];</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`Training operation name: </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">initialApiResponse</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">name</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'Training started...'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">})</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-k">catch</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">err</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span>><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">error</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">err</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">});</span></code></pre></devsite-code> </div> </section> </div> <p> Learn how to <a href="/vertex-ai/docs/predictions/online-prediction-logging#enabling-and-disabling">change the default settings for prediction logging</a>. </p> <h3 id="get-operation" data-text="Get operation status" tabindex="-1">Get operation status</h3> <p> <p> Some requests start long-running operations that require time to complete. These requests return an operation name, which you can use to view the operation's status or cancel the operation. Vertex AI provides helper methods to make calls against long-running operations. For more information, see <a href="/vertex-ai/docs/general/long-running-operations">Working with long-running operations</a>. </p> </p></section> </div> <h2 id="online-prediction" data-text="Get an online prediction using your deployed model" tabindex="-1">Get an online prediction using your deployed model</h2> <p>To make an online prediction, submit one or more test items to a model for analysis, and the model returns results that are based on your model's objective. Use the Google Cloud console or the Vertex AI API to request an online prediction.</p> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="google-cloud-console_1" data-text=" Google Cloud console " tabindex="-1"> Google Cloud console </h3><p> <ol> <li><p>In the Google Cloud console, in the Vertex AI section, go to the <strong>Models</strong> page.</p> <p><a href="https://console.cloud.google.com/vertex-ai/models" class="button button-primary" target="console" track-name="consoleLink" track-type="task">Go to the Models page</a> </p></li> <li><p>From the list of models, click the name of the model to request predictions from.</p></li> <li><p>Select the <strong>Deploy & test</strong> tab.</p></li> <li><p>Under the <strong>Test your model</strong> section, add test items to request a prediction. The baseline prediction data is filled in for you, or you can enter your own prediction data and click <strong>Predict</strong>.</p> <p>After the prediction is complete, Vertex AI returns the results in the console.</p></li> </ol> </p></section> <section><h3 id="api:-classification" data-text=" API: Classification " tabindex="-1"> API: Classification </h3><p> <div id="aiplatform_predict_tabular_classification_sample-code-sample" class="ds-selector-tabs" data-ds-scope="code-sample"> <section> <h3 id="aiplatform_predict_tabular_classification_sample-gcloud" track-metadata-position="aiplatform_predict_tabular_classification_sample" track-metadata-region-tag="aiplatform_predict_tabular_classification_sample" data-text="gcloud" tabindex="-1"><span class="notranslate">gcloud</span></h3> <ol> <li> <p> Create a file named <code translate="no" dir="ltr">request.json</code> with the following contents: </p> <div></div><devsite-code><pre translate="no" dir="ltr" is-upgraded> { "instances": [ { <var translate="no">PREDICTION_DATA_ROW</var> } ] } </pre></devsite-code> <p> Replace the following: </p> <ul> <li> <p><var translate="no">PREDICTION_DATA_ROW</var>: A JSON object with keys as the feature names and values as the corresponding feature values. For example, for a dataset with a number, an array of strings, and a category, the row of data might look like the following example request:</p> <div></div><devsite-code><pre translate="no" dir="ltr" is-upgraded> "length":3.6, "material":"cotton", "tag_array": ["abc","def"] </pre></devsite-code> <p>A value must be provided for every feature included in training. The format of the data used for prediction must match the format used for training. Refer to <a href="/vertex-ai/docs/datasets/data-types-tabular#format-for-prediction">Data format for predictions</a> for details. </p> </li> </ul> </li> <li> <p>Run the following command:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>predict<span class="devsite-syntax-w"> </span><var translate="no">ENDPOINT_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--json-request<span class="devsite-syntax-o">=</span>request.json</pre></devsite-code> <p>Replace the following:</p> <ul> <li> <var translate="no">ENDPOINT_ID</var>: The ID for the endpoint. </li> <li> <var translate="no">LOCATION_ID</var>: The region where you are using Vertex AI. </li> </ul> </li> </ol> </section> <section> <h3 id="aiplatform_predict_tabular_classification_sample-drest" track-metadata-position="aiplatform_predict_tabular_classification_sample" track-metadata-region-tag="aiplatform_predict_tabular_classification_sample" data-text="REST" tabindex="-1">REST</h3> <p> You use the <a href="/vertex-ai/docs/reference/rest/v1/projects.locations.endpoints/predict">endpoints.predict</a> method to request an online prediction. </p> <p> Before using any of the request data, make the following replacements: </p> <ul> <li> <var translate="no">LOCATION_ID</var>: Region where Endpoint is located. For example, <code translate="no" dir="ltr">us-central1</code>. </li> <li><var translate="no">PROJECT_ID</var>: Your <a href="/resource-manager/docs/creating-managing-projects#identifiers">project ID</a>.</li> <li><var translate="no">ENDPOINT_ID</var>: The ID for the endpoint.</li> <li> <p><var translate="no">PREDICTION_DATA_ROW</var>: A JSON object with keys as the feature names and values as the corresponding feature values. For example, for a dataset with a number, an array of strings, and a category, the row of data might look like the following example request:</p> <div></div><devsite-code><pre translate="no" dir="ltr" is-upgraded> "length":3.6, "material":"cotton", "tag_array": ["abc","def"] </pre></devsite-code> <p>A value must be provided for every feature included in training. The format of the data used for prediction must match the format used for training. Refer to <a href="/vertex-ai/docs/datasets/data-types-tabular#format-for-prediction">Data format for predictions</a> for details. </p> </li> <li><var translate="no">DEPLOYED_MODEL_ID</var>: Output by the <code translate="no" dir="ltr">predict</code> method, and accepted as input by the <code translate="no" dir="ltr">explain</code> method. The ID of the model used to generate the prediction. If you need to request explanations for a previously requested prediction, and you have more than one model deployed, you can use this ID to ensure that the explanations are returned for the same model that provided the previous prediction. </li> </ul> <p> HTTP method and URL: </p> <section> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="HTTP method and URL" translate="no" dir="ltr" is-upgraded>POST https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:predict</pre></devsite-code> </section> <p> Request JSON body: </p> <section> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="request body" translate="no" dir="ltr" is-upgraded> { "instances": [ { <var translate="no">PREDICTION_DATA_ROW</var> } ] } </pre></devsite-code> </section> <p>To send your request, choose one of these options:</p><div class="ds-selector-tabs"> <section > <h4 id="curl" data-text="curl" tabindex="-1">curl</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> , or by using <a href="/shell/docs">Cloud Shell</a>, which automatically logs you into the <code translate="no" dir="ltr">gcloud</code> CLI . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Save the request body in a file named <code translate="no" dir="ltr">request.json</code>, and execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label=" CURL command" translate="no" dir="ltr" is-upgraded>curl -X POST \<br> -H "Authorization: Bearer $(gcloud auth print-access-token)" \<br> -H "Content-Type: application/json; charset=utf-8" \<br> -d @request.json \<br> "https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:predict"</pre></devsite-code></section> </section> <section > <h4 id="powershell" data-text="PowerShell" tabindex="-1">PowerShell</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Save the request body in a file named <code translate="no" dir="ltr">request.json</code>, and execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label="PowerShell command" translate="no" dir="ltr" is-upgraded>$cred = gcloud auth print-access-token<br>$headers = @{ "Authorization" = "Bearer $cred" }<br><br>Invoke-WebRequest `<br> -Method POST `<br> -Headers $headers `<br> -ContentType: "application/json; charset=utf-8" `<br> -InFile request.json `<br> -Uri "https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:predict" | Select-Object -Expand Content</pre></devsite-code></section> </section> </div> <p>You should receive a JSON response similar to the following:</p> <section> <div></div><devsite-code><pre class="readonly" data-label="sample response" translate="no" dir="ltr" is-upgraded> { "predictions": [ { "scores": [ 0.96771615743637085, 0.032283786684274673 ], "classes": [ "0", "1" ] } ] "deployedModelId": "2429510197" } </pre></devsite-code> </section> </section> <section> <h3 id="aiplatform_predict_tabular_classification_sample-java" track-metadata-position="aiplatform_predict_tabular_classification_sample" track-metadata-region-tag="aiplatform_predict_tabular_classification_sample" data-text="Java" tabindex="-1"><span class="notranslate">Java</span></h3> <p> Before trying this sample, follow the <span class="notranslate">Java</span> setup instructions in the <a href="/vertex-ai/docs/start/client-libraries" track-type="clientLibrariesQuickstart" track-name="java" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/java-docs-samples/blob//aiplatform/src/main/java/aiplatform/PredictTabularClassificationSample.java" track-metadata-position="aiplatform_predict_tabular_classification_sample">Vertex AI quickstart using client libraries</a>. For more information, see the <a href="/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="java" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/java-docs-samples/blob//aiplatform/src/main/java/aiplatform/PredictTabularClassificationSample.java" track-metadata-region-tag="aiplatform_predict_tabular_classification_sample">Vertex AI <span class="notranslate">Java</span> API reference documentation</a>. </p> <p> To authenticate to Vertex AI, set up Application Default Credentials. For more information, see <a href="/docs/authentication/provide-credentials-adc#local-dev">Set up authentication for a local development environment</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="GoogleCloudPlatform/java-docs-samples/aiplatform/src/main/java/aiplatform/PredictTabularClassificationSample.java/HEAD/aiplatform_predict_tabular_classification_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/GoogleCloudPlatform/java-docs-samples/blob/HEAD/aiplatform/src/main/java/aiplatform/PredictTabularClassificationSample.java" feedback-context="{"language": "java", "region_tag": "aiplatform_predict_tabular_classification_sample", "snippet_file_url": "https://github.com/GoogleCloudPlatform/java-docs-samples/blob/HEAD/aiplatform/src/main/java/aiplatform/PredictTabularClassificationSample.java"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="java" data-github-path="GoogleCloudPlatform/java-docs-samples/aiplatform/src/main/java/aiplatform/PredictTabularClassificationSample.java" data-git-revision="HEAD" data-region-tag="aiplatform_predict_tabular_classification_sample" dir="ltr" is-upgraded syntax="Java"><code translate="no" dir="ltr"> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.util.ValueConverter</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.EndpointName</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.PredictResponse</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.PredictionServiceClient</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.PredictionServiceSettings</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.schema.predict.prediction.TabularClassificationPredictionResult</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.protobuf.ListValue</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.protobuf.Value</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.protobuf.util.JsonFormat</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.io.IOException</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.util.List</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kd">public</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">class</span> <span class="devsite-syntax-nc">PredictTabularClassificationSample</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">public</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">static</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">void</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nf">main</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-o">[]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">args</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">throws</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">IOException</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// TODO(developer): Replace these variables before running the sample.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"YOUR_PROJECT_ID"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">instance</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"[{ “feature_column_a”: “value”, “feature_column_b”: “value”}]"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"YOUR_ENDPOINT_ID"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictTabularClassification</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">instance</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">static</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">void</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nf">predictTabularClassification</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">instance</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">throws</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">IOException</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PredictionServiceSettings</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictionServiceSettings</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PredictionServiceSettings</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">()</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">setEndpoint</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"us-central1-aiplatform.googleapis.com:443"</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">build</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Initialize client that will be used to send requests. This client only needs to be created</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// once, and can be reused for multiple requests. After completing all of your requests, call</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// the "close" method on the client to safely clean up any remaining background resources.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">try</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">PredictionServiceClient</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictionServiceClient</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PredictionServiceClient</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">create</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">predictionServiceSettings</span><span class="devsite-syntax-p">))</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"us-central1"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointName</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointName</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointName</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">of</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ListValue</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">Builder</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">listValue</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ListValue</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">JsonFormat</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">parser</span><span class="devsite-syntax-p">().</span><span class="devsite-syntax-na">merge</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">instance</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">listValue</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">List<Value></span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">instanceList</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">listValue</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getValuesList</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Value</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">parameters</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Value</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">().</span><span class="devsite-syntax-na">setListValue</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">listValue</span><span class="devsite-syntax-p">).</span><span class="devsite-syntax-na">build</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PredictResponse</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictResponse</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictionServiceClient</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">predict</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">endpointName</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">instanceList</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">parameters</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">println</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Predict Tabular Classification Response"</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">format</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"\tDeployed Model Id: %s\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictResponse</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getDeployedModelId</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">println</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Predictions"</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">for</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">Value</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">prediction</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictResponse</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getPredictionsList</span><span class="devsite-syntax-p">())</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">TabularClassificationPredictionResult</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">Builder</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">resultBuilder</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">TabularClassificationPredictionResult</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">TabularClassificationPredictionResult</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">result</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">TabularClassificationPredictionResult</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ValueConverter</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">fromValue</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">resultBuilder</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">prediction</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">for</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-kt">int</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">i</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mi">0</span><span class="devsite-syntax-p">;</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">i</span><span class="devsite-syntax-w"> < </span><span class="devsite-syntax-n">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getClassesCount</span><span class="devsite-syntax-p">();</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">i</span><span class="devsite-syntax-o">++</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">printf</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"\tClass: %s"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getClasses</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">i</span><span class="devsite-syntax-p">));</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">printf</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"\tScore: %f"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getScores</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">i</span><span class="devsite-syntax-p">));</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span></code></pre></devsite-code> </div> </section> <section> <h3 id="aiplatform_predict_tabular_classification_sample-nodejs" track-metadata-position="aiplatform_predict_tabular_classification_sample" track-metadata-region-tag="aiplatform_predict_tabular_classification_sample" data-text="Node.js" tabindex="-1"><span class="notranslate">Node.js</span></h3> <p> Before trying this sample, follow the <span class="notranslate">Node.js</span> setup instructions in the <a href="/vertex-ai/docs/start/client-libraries" track-type="clientLibrariesQuickstart" track-name="nodejs" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob//ai-platform/snippets/predict-tabular-classification.js" track-metadata-position="aiplatform_predict_tabular_classification_sample">Vertex AI quickstart using client libraries</a>. For more information, see the <a href="/nodejs/docs/reference/aiplatform/latest" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="nodejs" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob//ai-platform/snippets/predict-tabular-classification.js" track-metadata-region-tag="aiplatform_predict_tabular_classification_sample">Vertex AI <span class="notranslate">Node.js</span> API reference documentation</a>. </p> <p> To authenticate to Vertex AI, set up Application Default Credentials. For more information, see <a href="/docs/authentication/provide-credentials-adc#local-dev">Set up authentication for a local development environment</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="GoogleCloudPlatform/nodejs-docs-samples/ai-platform/snippets/predict-tabular-classification.js/HEAD/aiplatform_predict_tabular_classification_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/HEAD/ai-platform/snippets/predict-tabular-classification.js" feedback-context="{"language": "nodejs", "region_tag": "aiplatform_predict_tabular_classification_sample", "snippet_file_url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/HEAD/ai-platform/snippets/predict-tabular-classification.js"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="nodejs" data-github-path="GoogleCloudPlatform/nodejs-docs-samples/ai-platform/snippets/predict-tabular-classification.js" data-git-revision="HEAD" data-region-tag="aiplatform_predict_tabular_classification_sample" dir="ltr" is-upgraded syntax="JavaScript"><code translate="no" dir="ltr"><span class="devsite-syntax-cm">/**</span> <span class="devsite-syntax-cm"> * TODO(developer): Uncomment these variables before running the sample.\</span> <span class="devsite-syntax-cm"> * (Not necessary if passing values as arguments)</span> <span class="devsite-syntax-cm"> */</span> <span class="devsite-syntax-c1">// const endpointId = 'YOUR_ENDPOINT_ID';</span> <span class="devsite-syntax-c1">// const project = 'YOUR_PROJECT_ID';</span> <span class="devsite-syntax-c1">// const location = 'YOUR_PROJECT_LOCATION';</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">aiplatform</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">require</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'@google-cloud/aiplatform'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-nx">prediction</span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">aiplatform</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">protos</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">google</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">cloud</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">aiplatform</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">v1</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">schema</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">predict</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-c1">// Imports the Google Cloud Prediction service client</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-nx">PredictionServiceClient</span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">aiplatform</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">v1</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-c1">// Import the helper module for converting arbitrary protobuf.Value objects.</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-nx">helpers</span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">aiplatform</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-c1">// Specifies the location of the api endpoint</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">clientOptions</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">apiEndpoint</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'us-central1-aiplatform.googleapis.com'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-p">};</span> <span class="devsite-syntax-c1">// Instantiates a client</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictionServiceClient</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-ow">new</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">PredictionServiceClient</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">clientOptions</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-k">async</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">function</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictTablesClassification</span><span class="devsite-syntax-p">()</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Configure the endpoint resource</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">endpoint</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`projects/</span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">project</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">/locations/</span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">location</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">/endpoints/</span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">endpointId</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">parameters</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">helpers</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">toValue</span><span class="devsite-syntax-p">({});</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">instance</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">helpers</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">toValue</span><span class="devsite-syntax-p">({</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">petal_length</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'1.4'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">petal_width</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'1.3'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">sepal_length</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'5.1'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">sepal_width</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'2.8'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">});</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">instances</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nx">instance</span><span class="devsite-syntax-p">];</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">request</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">endpoint</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">instances</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">parameters</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">};</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Predict request</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nx">response</span><span class="devsite-syntax-p">]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictionServiceClient</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">predict</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">request</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'Predict tabular classification response'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tDeployed model id : </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">response</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">deployedModelId</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">\n`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictions</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">response</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">predictions</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'Predictions :'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">for</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictionResultVal</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">of</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictions</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictionResultObj</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">prediction</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">TabularClassificationPredictionResult</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">fromValue</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictionResultVal</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">for</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nx">i</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">class_</span><span class="devsite-syntax-p">]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">of</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictionResultObj</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">classes</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">entries</span><span class="devsite-syntax-p">())</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tClass: </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">class_</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tScore: </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">predictionResultObj</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">scores</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nx">i</span><span class="devsite-syntax-p">]</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">\n\n`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span> <span class="devsite-syntax-nx">predictTablesClassification</span><span class="devsite-syntax-p">();</span></code></pre></devsite-code> </div> </section> <section> <h3 id="aiplatform_predict_tabular_classification_sample-python_vertex_ai_sdk" track-metadata-position="aiplatform_predict_tabular_classification_sample" track-metadata-region-tag="aiplatform_predict_tabular_classification_sample" data-text="Python" tabindex="-1">Python</h3> <p>To learn how to install or update the Vertex AI SDK for Python, see <a href="/vertex-ai/docs/start/use-vertex-ai-python-sdk" track-type="clientLibrariesReference" track- name="python_vertex_ai_sdk" track-metadata-position="aiplatform_predict_tabular_classification_sample">Install the Vertex AI SDK for Python</a>. For more information, see the <a href="/python/docs/reference/aiplatform/latest" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="python_vertex_ai_sdk"> Python API reference documentation</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="googleapis/python-aiplatform/samples/model-builder/predict_tabular_classification_sample.py/HEAD/aiplatform_sdk_predict_tabular_classification_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/googleapis/python-aiplatform/blob/HEAD/samples/model-builder/predict_tabular_classification_sample.py" feedback-context="{"language": "python_vertex_ai_sdk", "region_tag": "aiplatform_predict_tabular_classification_sample", "snippet_file_url": "https://github.com/googleapis/python-aiplatform/blob/HEAD/samples/model-builder/predict_tabular_classification_sample.py"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="python_vertex_ai_sdk" data-github-path="googleapis/python-aiplatform/samples/model-builder/predict_tabular_classification_sample.py" data-git-revision="HEAD" data-region-tag="aiplatform_sdk_predict_tabular_classification_sample" dir="ltr" is-upgraded syntax="Python"><code translate="no" dir="ltr"><span class="devsite-syntax-k">def</span> <span class="devsite-syntax-nf">predict_tabular_classification_sample</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">endpoint_name</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">instances</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">List</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-n">Dict</span><span class="devsite-syntax-p">],</span> <span class="devsite-syntax-p">):</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-sd">"""</span> <span class="devsite-syntax-sd"> Args</span> <span class="devsite-syntax-sd"> project: Your project ID or project number.</span> <span class="devsite-syntax-sd"> location: Region where Endpoint is located. For example, 'us-central1'.</span> <span class="devsite-syntax-sd"> endpoint_name: A fully qualified endpoint name or endpoint ID. Example: "projects/123/locations/us-central1/endpoints/456" or</span> <span class="devsite-syntax-sd"> "456" when project and location are initialized or passed.</span> <span class="devsite-syntax-sd"> instances: A list of one or more instances (examples) to return a prediction for.</span> <span class="devsite-syntax-sd"> """</span> <span class="devsite-syntax-n">aiplatform</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">init</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">location</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-n">endpoint</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-n">aiplatform</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">Endpoint</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">endpoint_name</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-n">response</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">predict</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">instances</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">instances</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-k">for</span> <span class="devsite-syntax-n">prediction_</span> <span class="devsite-syntax-ow">in</span> <span class="devsite-syntax-n">response</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">predictions</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">prediction_</span><span class="devsite-syntax-p">)</span> </code></pre></devsite-code> </div> </section> </p></section> <section><h3 id="api:-regression" data-text=" API: Regression " tabindex="-1"> API: Regression </h3><p> <div id="aiplatform_predict_tabular_regression_sample-code-sample" class="ds-selector-tabs" data-ds-scope="code-sample"> <section> <h3 id="aiplatform_predict_tabular_regression_sample-gcloud" track-metadata-position="aiplatform_predict_tabular_regression_sample" track-metadata-region-tag="aiplatform_predict_tabular_regression_sample" data-text="gcloud" tabindex="-1"><span class="notranslate">gcloud</span></h3> <ol> <li> <p> Create a file named `request.json` with the following contents: </p> <div></div><devsite-code><pre translate="no" dir="ltr" is-upgraded> { "instances": [ { <var translate="no">PREDICTION_DATA_ROW</var> } ] } </pre></devsite-code> <p> Replace the following: </p> <ul> <li> <p><var translate="no">PREDICTION_DATA_ROW</var>: A JSON object with keys as the feature names and values as the corresponding feature values. For example, for a dataset with a number, an array of numbers, and a category, the row of data might look like the following example request:</p> <div></div><devsite-code><pre translate="no" dir="ltr" is-upgraded> "age":3.6, "sq_ft":5392, "code": "90331" </pre></devsite-code> <p>A value must be provided for every feature included in training. The format of the data used for prediction must match the format used for training. Refer to <a href="/vertex-ai/docs/datasets/data-types-tabular#format-for-prediction">Data format for predictions</a> for details. </p> </li> </ul> </li> <li> <p>Run the following command:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>predict<span class="devsite-syntax-w"> </span><var translate="no">ENDPOINT_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--json-request<span class="devsite-syntax-o">=</span>request.json</pre></devsite-code> <p>Replace the following:</p> <ul> <li> <var translate="no">ENDPOINT_ID</var>: The ID for the endpoint. </li> <li> <var translate="no">LOCATION_ID</var>: The region where you are using Vertex AI. </li> </ul> </li> </ol> </section> <section> <h3 id="aiplatform_predict_tabular_regression_sample-drest" track-metadata-position="aiplatform_predict_tabular_regression_sample" track-metadata-region-tag="aiplatform_predict_tabular_regression_sample" data-text="REST" tabindex="-1">REST</h3> <p> You use the <a href="/vertex-ai/docs/reference/rest/v1/projects.locations.endpoints/predict">endpoints.predict</a> method to request an online prediction. </p> <p> Before using any of the request data, make the following replacements: </p> <ul> <li> <var translate="no">LOCATION_ID</var>: Region where Endpoint is located. For example, <code translate="no" dir="ltr">us-central1</code>. </li> <li><var translate="no">PROJECT_ID</var>: Your <a href="/resource-manager/docs/creating-managing-projects#identifiers">project ID</a>.</li> <li><var translate="no">ENDPOINT_ID</var>: The ID for the endpoint.</li> <li> <p><var translate="no">PREDICTION_DATA_ROW</var>: A JSON object with keys as the feature names and values as the corresponding feature values. For example, for a dataset with a number, an array of numbers, and a category, the row of data might look like the following example request:</p> <div></div><devsite-code><pre translate="no" dir="ltr" is-upgraded> "age":3.6, "sq_ft":5392, "code": "90331" </pre></devsite-code> <p>A value must be provided for every feature included in training. The format of the data used for prediction must match the format used for training. Refer to <a href="/vertex-ai/docs/datasets/data-types-tabular#format-for-prediction">Data format for predictions</a> for details. </p> </li> <li><var translate="no">DEPLOYED_MODEL_ID</var>: Output by the <code translate="no" dir="ltr">predict</code> method, and accepted as input by the <code translate="no" dir="ltr">explain</code> method. The ID of the model used to generate the prediction. If you need to request explanations for a previously requested prediction, and you have more than one model deployed, you can use this ID to ensure that the explanations are returned for the same model that provided the previous prediction. </li> </ul> <p> HTTP method and URL: </p> <section> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="HTTP method and URL" translate="no" dir="ltr" is-upgraded>POST https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:predict</pre></devsite-code> </section> <p> Request JSON body: </p> <section> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="request body" translate="no" dir="ltr" is-upgraded> { "instances": [ { <var translate="no">PREDICTION_DATA_ROW</var> } ] } </pre></devsite-code> </section> <p>To send your request, choose one of these options:</p><div class="ds-selector-tabs"> <section > <h4 id="curl_1" data-text="curl" tabindex="-1">curl</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> , or by using <a href="/shell/docs">Cloud Shell</a>, which automatically logs you into the <code translate="no" dir="ltr">gcloud</code> CLI . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Save the request body in a file named <code translate="no" dir="ltr">request.json</code>, and execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label=" CURL command" translate="no" dir="ltr" is-upgraded>curl -X POST \<br> -H "Authorization: Bearer $(gcloud auth print-access-token)" \<br> -H "Content-Type: application/json; charset=utf-8" \<br> -d @request.json \<br> "https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:predict"</pre></devsite-code></section> </section> <section > <h4 id="powershell_1" data-text="PowerShell" tabindex="-1">PowerShell</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Save the request body in a file named <code translate="no" dir="ltr">request.json</code>, and execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label="PowerShell command" translate="no" dir="ltr" is-upgraded>$cred = gcloud auth print-access-token<br>$headers = @{ "Authorization" = "Bearer $cred" }<br><br>Invoke-WebRequest `<br> -Method POST `<br> -Headers $headers `<br> -ContentType: "application/json; charset=utf-8" `<br> -InFile request.json `<br> -Uri "https://<var translate="no">LOCATION_ID</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT_ID</var>/locations/<var translate="no">LOCATION_ID</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:predict" | Select-Object -Expand Content</pre></devsite-code></section> </section> </div> <p>You should receive a JSON response similar to the following:</p> <section> <div></div><devsite-code><pre class="readonly" data-label="sample response" translate="no" dir="ltr" is-upgraded> { "predictions": [ [ { "value": 65.14233, "lower_bound": 4.6572, "upper_bound": 164.0279 } ] ], "deployedModelId": "<var translate="no">DEPLOYED_MODEL_ID</var>" } </pre></devsite-code> </section> </section> <section> <h3 id="aiplatform_predict_tabular_regression_sample-java" track-metadata-position="aiplatform_predict_tabular_regression_sample" track-metadata-region-tag="aiplatform_predict_tabular_regression_sample" data-text="Java" tabindex="-1"><span class="notranslate">Java</span></h3> <p> Before trying this sample, follow the <span class="notranslate">Java</span> setup instructions in the <a href="/vertex-ai/docs/start/client-libraries" track-type="clientLibrariesQuickstart" track-name="java" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/java-docs-samples/blob//aiplatform/src/main/java/aiplatform/PredictTabularRegressionSample.java" track-metadata-position="aiplatform_predict_tabular_regression_sample">Vertex AI quickstart using client libraries</a>. For more information, see the <a href="/java/docs/reference/google-cloud-aiplatform/latest/com.google.cloud.aiplatform.v1" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="java" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/java-docs-samples/blob//aiplatform/src/main/java/aiplatform/PredictTabularRegressionSample.java" track-metadata-region-tag="aiplatform_predict_tabular_regression_sample">Vertex AI <span class="notranslate">Java</span> API reference documentation</a>. </p> <p> To authenticate to Vertex AI, set up Application Default Credentials. For more information, see <a href="/docs/authentication/provide-credentials-adc#local-dev">Set up authentication for a local development environment</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="GoogleCloudPlatform/java-docs-samples/aiplatform/src/main/java/aiplatform/PredictTabularRegressionSample.java/HEAD/aiplatform_predict_tabular_regression_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/GoogleCloudPlatform/java-docs-samples/blob/HEAD/aiplatform/src/main/java/aiplatform/PredictTabularRegressionSample.java" feedback-context="{"language": "java", "region_tag": "aiplatform_predict_tabular_regression_sample", "snippet_file_url": "https://github.com/GoogleCloudPlatform/java-docs-samples/blob/HEAD/aiplatform/src/main/java/aiplatform/PredictTabularRegressionSample.java"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="java" data-github-path="GoogleCloudPlatform/java-docs-samples/aiplatform/src/main/java/aiplatform/PredictTabularRegressionSample.java" data-git-revision="HEAD" data-region-tag="aiplatform_predict_tabular_regression_sample" dir="ltr" is-upgraded syntax="Java"><code translate="no" dir="ltr"> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.util.ValueConverter</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.EndpointName</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.PredictResponse</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.PredictionServiceClient</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.PredictionServiceSettings</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.cloud.aiplatform.v1.schema.predict.prediction.TabularRegressionPredictionResult</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.protobuf.ListValue</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.protobuf.Value</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">com.google.protobuf.util.JsonFormat</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.io.IOException</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kn">import</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nn">java.util.List</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-kd">public</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">class</span> <span class="devsite-syntax-nc">PredictTabularRegressionSample</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">public</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">static</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">void</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nf">main</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-o">[]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">args</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">throws</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">IOException</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// TODO(developer): Replace these variables before running the sample.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"YOUR_PROJECT_ID"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">instance</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"[{ “feature_column_a”: “value”, “feature_column_b”: “value”}]"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"YOUR_ENDPOINT_ID"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictTabularRegression</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">instance</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">static</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kt">void</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nf">predictTabularRegression</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">instance</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">throws</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">IOException</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PredictionServiceSettings</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictionServiceSettings</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PredictionServiceSettings</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">()</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">setEndpoint</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"us-central1-aiplatform.googleapis.com:443"</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">build</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Initialize client that will be used to send requests. This client only needs to be created</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// once, and can be reused for multiple requests. After completing all of your requests, call</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// the "close" method on the client to safely clean up any remaining background resources.</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">try</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">PredictionServiceClient</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictionServiceClient</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PredictionServiceClient</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">create</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">predictionServiceSettings</span><span class="devsite-syntax-p">))</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">String</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s">"us-central1"</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointName</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointName</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">EndpointName</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">of</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">endpointId</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ListValue</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">Builder</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">listValue</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ListValue</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">JsonFormat</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">parser</span><span class="devsite-syntax-p">().</span><span class="devsite-syntax-na">merge</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">instance</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">listValue</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">List<Value></span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">instanceList</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">listValue</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getValuesList</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Value</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">parameters</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">Value</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">().</span><span class="devsite-syntax-na">setListValue</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">listValue</span><span class="devsite-syntax-p">).</span><span class="devsite-syntax-na">build</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">PredictResponse</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictResponse</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictionServiceClient</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">predict</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">endpointName</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">instanceList</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">parameters</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">println</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Predict Tabular Regression Response"</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">format</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"\tDisplay Model Id: %s\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictResponse</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getDeployedModelId</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">println</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"Predictions"</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">for</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">Value</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">prediction</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">predictResponse</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getPredictionsList</span><span class="devsite-syntax-p">())</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">TabularRegressionPredictionResult</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">Builder</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">resultBuilder</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">TabularRegressionPredictionResult</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">newBuilder</span><span class="devsite-syntax-p">();</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">TabularRegressionPredictionResult</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">result</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">TabularRegressionPredictionResult</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">ValueConverter</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">fromValue</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">resultBuilder</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">prediction</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">printf</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"\tUpper bound: %f\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getUpperBound</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">printf</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"\tLower bound: %f\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getLowerBound</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">System</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">out</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">printf</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s">"\tValue: %f\n"</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-n">result</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-na">getValue</span><span class="devsite-syntax-p">());</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span></code></pre></devsite-code> </div> </section> <section> <h3 id="aiplatform_predict_tabular_regression_sample-nodejs" track-metadata-position="aiplatform_predict_tabular_regression_sample" track-metadata-region-tag="aiplatform_predict_tabular_regression_sample" data-text="Node.js" tabindex="-1"><span class="notranslate">Node.js</span></h3> <p> Before trying this sample, follow the <span class="notranslate">Node.js</span> setup instructions in the <a href="/vertex-ai/docs/start/client-libraries" track-type="clientLibrariesQuickstart" track-name="nodejs" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob//ai-platform/snippets/predict-tabular-regression.js" track-metadata-position="aiplatform_predict_tabular_regression_sample">Vertex AI quickstart using client libraries</a>. For more information, see the <a href="/nodejs/docs/reference/aiplatform/latest" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="nodejs" track-metadata-snippet-file-url="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob//ai-platform/snippets/predict-tabular-regression.js" track-metadata-region-tag="aiplatform_predict_tabular_regression_sample">Vertex AI <span class="notranslate">Node.js</span> API reference documentation</a>. </p> <p> To authenticate to Vertex AI, set up Application Default Credentials. For more information, see <a href="/docs/authentication/provide-credentials-adc#local-dev">Set up authentication for a local development environment</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="GoogleCloudPlatform/nodejs-docs-samples/ai-platform/snippets/predict-tabular-regression.js/HEAD/aiplatform_predict_tabular_regression_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/HEAD/ai-platform/snippets/predict-tabular-regression.js" feedback-context="{"language": "nodejs", "region_tag": "aiplatform_predict_tabular_regression_sample", "snippet_file_url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/HEAD/ai-platform/snippets/predict-tabular-regression.js"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="nodejs" data-github-path="GoogleCloudPlatform/nodejs-docs-samples/ai-platform/snippets/predict-tabular-regression.js" data-git-revision="HEAD" data-region-tag="aiplatform_predict_tabular_regression_sample" dir="ltr" is-upgraded syntax="JavaScript"><code translate="no" dir="ltr"><span class="devsite-syntax-cm">/**</span> <span class="devsite-syntax-cm"> * TODO(developer): Uncomment these variables before running the sample.\</span> <span class="devsite-syntax-cm"> * (Not necessary if passing values as arguments)</span> <span class="devsite-syntax-cm"> */</span> <span class="devsite-syntax-c1">// const endpointId = 'YOUR_ENDPOINT_ID';</span> <span class="devsite-syntax-c1">// const project = 'YOUR_PROJECT_ID';</span> <span class="devsite-syntax-c1">// const location = 'YOUR_PROJECT_LOCATION';</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">aiplatform</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">require</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'@google-cloud/aiplatform'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-nx">prediction</span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">aiplatform</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">protos</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">google</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">cloud</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">aiplatform</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">v1</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">schema</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">predict</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-c1">// Imports the Google Cloud Prediction service client</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-nx">PredictionServiceClient</span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">aiplatform</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">v1</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-c1">// Import the helper module for converting arbitrary protobuf.Value objects.</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span><span class="devsite-syntax-nx">helpers</span><span class="devsite-syntax-p">}</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">aiplatform</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-c1">// Specifies the location of the api endpoint</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">clientOptions</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">apiEndpoint</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'us-central1-aiplatform.googleapis.com'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-p">};</span> <span class="devsite-syntax-c1">// Instantiates a client</span> <span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictionServiceClient</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-ow">new</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">PredictionServiceClient</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">clientOptions</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-k">async</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">function</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictTablesRegression</span><span class="devsite-syntax-p">()</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Configure the endpoint resource</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">endpoint</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-sb">`projects/</span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">project</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">/locations/</span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">location</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">/endpoints/</span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">endpointId</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">parameters</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">helpers</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">toValue</span><span class="devsite-syntax-p">({});</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// TODO (erschmid): Make this less painful</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">instance</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">helpers</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">toValue</span><span class="devsite-syntax-p">({</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">BOOLEAN_2unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kc">false</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">DATETIME_1unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'2019-01-01 00:00:00'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">DATE_1unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'2019-01-01'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">FLOAT_5000unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mf">1611</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">FLOAT_5000unique_REPEATED</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-mf">2320</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mf">1192</span><span class="devsite-syntax-p">],</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">INTEGER_5000unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'8'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">NUMERIC_5000unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mf">16</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">STRING_5000unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'str-2'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">STRUCT_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">BOOLEAN_2unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-kc">false</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">DATE_1unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'2019-01-01'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">DATETIME_1unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'2019-01-01 00:00:00'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">FLOAT_5000unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mf">1308</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">FLOAT_5000unique_REPEATED</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-mf">2323</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mf">1178</span><span class="devsite-syntax-p">],</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">FLOAT_5000unique_REQUIRED</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mf">3089</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">INTEGER_5000unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'1777'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">NUMERIC_5000unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mf">3323</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">TIME_1unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'23:59:59.999999'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">STRING_5000unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'str-49'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">TIMESTAMP_1unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'1546387199999999'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">},</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">TIMESTAMP_1unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'1546387199999999'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">TIME_1unique_NULLABLE</span><span class="devsite-syntax-o">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s1">'23:59:59.999999'</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">});</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">instances</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nx">instance</span><span class="devsite-syntax-p">];</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">request</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">endpoint</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">instances</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">parameters</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">};</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-c1">// Predict request</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-nx">response</span><span class="devsite-syntax-p">]</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">await</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictionServiceClient</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">predict</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">request</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'Predict tabular regression response'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tDeployed model id : </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">response</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">deployedModelId</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictions</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">response</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">predictions</span><span class="devsite-syntax-p">;</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s1">'\tPredictions :'</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">for</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictionResultVal</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">of</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictions</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-kd">const</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictionResultObj</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">=</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">prediction</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">TabularRegressionPredictionResult</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">fromValue</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">predictionResultVal</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tUpper bound: </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">predictionResultObj</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">upper_bound</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tLower bound: </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">predictionResultObj</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">lower_bound</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">console</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">log</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-sb">`\tLower bound: </span><span class="devsite-syntax-si">${</span><span class="devsite-syntax-nx">predictionResultObj</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">value</span><span class="devsite-syntax-si">}</span><span class="devsite-syntax-sb">`</span><span class="devsite-syntax-p">);</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-p">}</span> <span class="devsite-syntax-nx">predictTablesRegression</span><span class="devsite-syntax-p">();</span></code></pre></devsite-code> </div> </section> <section> <h3 id="aiplatform_predict_tabular_regression_sample-python_vertex_ai_sdk" track-metadata-position="aiplatform_predict_tabular_regression_sample" track-metadata-region-tag="aiplatform_predict_tabular_regression_sample" data-text="Python" tabindex="-1">Python</h3> <p>To learn how to install or update the Vertex AI SDK for Python, see <a href="/vertex-ai/docs/start/use-vertex-ai-python-sdk" track-type="clientLibrariesReference" track- name="python_vertex_ai_sdk" track-metadata-position="aiplatform_predict_tabular_regression_sample">Install the Vertex AI SDK for Python</a>. For more information, see the <a href="/python/docs/reference/aiplatform/latest" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="python_vertex_ai_sdk"> Python API reference documentation</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="googleapis/python-aiplatform/samples/model-builder/predict_tabular_regression_sample.py/HEAD/aiplatform_sdk_predict_tabular_regression_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/googleapis/python-aiplatform/blob/HEAD/samples/model-builder/predict_tabular_regression_sample.py" feedback-context="{"language": "python_vertex_ai_sdk", "region_tag": "aiplatform_predict_tabular_regression_sample", "snippet_file_url": "https://github.com/googleapis/python-aiplatform/blob/HEAD/samples/model-builder/predict_tabular_regression_sample.py"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="python_vertex_ai_sdk" data-github-path="googleapis/python-aiplatform/samples/model-builder/predict_tabular_regression_sample.py" data-git-revision="HEAD" data-region-tag="aiplatform_sdk_predict_tabular_regression_sample" dir="ltr" is-upgraded syntax="Python"><code translate="no" dir="ltr"><span class="devsite-syntax-k">def</span> <span class="devsite-syntax-nf">predict_tabular_regression_sample</span><span class="devsite-syntax-p">(</span> <span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">endpoint_name</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">instances</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">List</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-n">Dict</span><span class="devsite-syntax-p">],</span> <span class="devsite-syntax-p">):</span> <span class="devsite-syntax-n">aiplatform</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">init</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">location</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-n">endpoint</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-n">aiplatform</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">Endpoint</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">endpoint_name</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-n">response</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">predict</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">instances</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">instances</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-k">for</span> <span class="devsite-syntax-n">prediction_</span> <span class="devsite-syntax-ow">in</span> <span class="devsite-syntax-n">response</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">predictions</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">prediction_</span><span class="devsite-syntax-p">)</span> </code></pre></devsite-code> </div> </section> </div> </p></section> </div> <h2 id="interpret_prediction_results" data-text="Interpret prediction results" tabindex="-1">Interpret prediction results</h2> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="classification" data-text=" Classification " tabindex="-1"> Classification </h3><p> Classification models return a confidence score. <p>The confidence score communicates how strongly your model associates each class or label with a test item. The higher the number, the higher the model's confidence that the label should be applied to that item. You decide how high the confidence score must be for you to accept the model's results.</p> </p></section> <section><h3 id="regression" data-text=" Regression " tabindex="-1"> Regression </h3><p> Regression models return a prediction value. For BigQuery destinations, they also return a prediction interval. The prediction interval provides a range of values that the model has 95% confidence contain the actual result. </p></section> </div> <h2 id="online-explanation" data-text="Get an online explanation using your deployed model" tabindex="-1">Get an online explanation using your deployed model</h2> <p> You can request a prediction with explanations (also called feature attributions) to see how your model arrived at a prediction. The local feature importance values tell you how much each feature contributed to the prediction result. Feature attributions are included in Vertex AI predictions through <a href="/vertex-ai/docs/tabular-data/classification-explanations">Vertex Explainable AI</a>. </p> <div id="aiplatform_explain_tabular_sample-code-sample" class="ds-selector-tabs" data-ds-scope="code-sample"> <section> <h3 id="aiplatform_explain_tabular_sample-console" track-metadata-position="aiplatform_explain_tabular_sample" track-metadata-region-tag="aiplatform_explain_tabular_sample" data-text="Console" tabindex="-1">Console</h3> <p>When you use the Google Cloud console to request an online prediction, the local feature importance values are automatically returned.</p> <p> If you used the pre-filled prediction values, the local feature importance values are all zero. This is because the pre-filled values are the baseline prediction data, so the prediction returned is the baseline prediction value. </p> <aside class="note"><strong>Note:</strong><span> You might need to scroll the parameter window to the right to see the local feature importance results. </span></aside> </section> <section> <h3 id="aiplatform_explain_tabular_sample-gcloud" track-metadata-position="aiplatform_explain_tabular_sample" track-metadata-region-tag="aiplatform_explain_tabular_sample" data-text="gcloud" tabindex="-1"><span class="notranslate">gcloud</span></h3> <ol> <li><p>Create a file named <code translate="no" dir="ltr">request.json</code> with the following contents:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="JSON"><code translate="no" dir="ltr"><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-nt">"instances"</span><span class="devsite-syntax-p">:</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">[</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">{</span> <span class="devsite-syntax-w"> </span><var translate="no"><span class="devsite-syntax-err">PREDICTION_DATA_ROW</span></var> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">]</span> <span class="devsite-syntax-p">}</span> </code></pre></devsite-code> <p>Replace the following:</p> <ul> <li> <p><var translate="no">PREDICTION_DATA_ROW</var>: A JSON object with keys as the feature names and values as the corresponding feature values. For example, for a dataset with a number, an array of strings, and a category, the row of data might look like the following example request:</p> <div></div><devsite-code><pre translate="no" dir="ltr" is-upgraded> "length":3.6, "material":"cotton", "tag_array": ["abc","def"] </pre></devsite-code> <p>A value must be provided for every feature included in training. The format of the data used for prediction must match the format used for training. Refer to <a href="/vertex-ai/docs/datasets/data-types-tabular#format-for-prediction">Data format for predictions</a> for details. </p> </li> </ul></li> <li><p> <p>Run the following command:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>explain<span class="devsite-syntax-w"> </span><var translate="no">ENDPOINT_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--json-request<span class="devsite-syntax-o">=</span>request.json</pre></devsite-code> <p>Replace the following:</p> <ul> <li> <var translate="no">ENDPOINT_ID</var>: The ID for the endpoint. </li> <li> <var translate="no">LOCATION_ID</var>: The region where you are using Vertex AI. </li> </ul> <p>Optionally, if you want to send an explanation request to a specific <code translate="no" dir="ltr">DeployedModel</code> on the <code translate="no" dir="ltr">Endpoint</code>, you can specify the <code translate="no" dir="ltr">--deployed-model-id</code> flag:</p> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-code-highlight" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>ai<span class="devsite-syntax-w"> </span>endpoints<span class="devsite-syntax-w"> </span>explain<span class="devsite-syntax-w"> </span><var translate="no">ENDPOINT_ID</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--region<span class="devsite-syntax-o">=</span><var translate="no">LOCATION</var><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span><strong>--deployed-model-id<span class="devsite-syntax-o">=</span><var translate="no">DEPLOYED_MODEL_ID</var></strong><span class="devsite-syntax-w"> </span><span class="devsite-syntax-se">\</span> <span class="devsite-syntax-w"> </span>--json-request<span class="devsite-syntax-o">=</span>request.json</pre></devsite-code> <p>In addition to the placeholders described previously, replace the following:</p> <ul> <li> <var translate="no">DEPLOYED_MODEL_ID</var> Optional: The ID of the deployed model for which you want to get explanations. The ID is included in the <code translate="no" dir="ltr">predict</code> method's response. If you need to request explanations for a particular model and you have more than one model deployed to the same endpoint, you can use this ID to ensure that the explanations are returned for that particular model. </li> </ul> </p></li> </ol> </section> <section> <h3 id="aiplatform_explain_tabular_sample-drest" track-metadata-position="aiplatform_explain_tabular_sample" track-metadata-region-tag="aiplatform_explain_tabular_sample" data-text="REST" tabindex="-1">REST</h3> <p> The following example shows an online prediction request for a tabular classification model with local feature attributions. The request format is the same for regression models. </p></p> <p> Before using any of the request data, make the following replacements: </p> <ul> <li> <var translate="no">LOCATION</var>: Region where Endpoint is located. For example, <code translate="no" dir="ltr">us-central1</code>. </li> <li><var translate="no">PROJECT</var>: Your <a href="/resource-manager/docs/creating-managing-projects#identifiers">project ID</a>.</li> <li><var translate="no">ENDPOINT_ID</var>: The ID for the endpoint.</li> <li> <p><var translate="no">PREDICTION_DATA_ROW</var>: A JSON object with keys as the feature names and values as the corresponding feature values. For example, for a dataset with a number, an array of strings, and a category, the row of data might look like the following example request:</p> <div></div><devsite-code><pre translate="no" dir="ltr" is-upgraded> "length":3.6, "material":"cotton", "tag_array": ["abc","def"] </pre></devsite-code> <p>A value must be provided for every feature included in training. The format of the data used for prediction must match the format used for training. Refer to <a href="/vertex-ai/docs/datasets/data-types-tabular#format-for-prediction">Data format for predictions</a> for details. </p> </li> <li> <var translate="no">DEPLOYED_MODEL_ID</var> (optional): The ID of the deployed model for which you want to get explanations. The ID is included in the <code translate="no" dir="ltr">predict</code> method's response. If you need to request explanations for a particular model and you have more than one model deployed to the same endpoint, you can use this ID to ensure that the explanations are returned for that particular model. </li> </ul> <p> HTTP method and URL: </p> <section> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="HTTP method and URL" translate="no" dir="ltr" is-upgraded>POST https://<var translate="no">LOCATION</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT</var>/locations/<var translate="no">LOCATION</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:explain</pre></devsite-code> </section> <p> Request JSON body: </p> <section> <div></div><devsite-code><pre class="devsite-click-to-copy" data-label="request body" translate="no" dir="ltr" is-upgraded> { "instances": [ { <var translate="no">PREDICTION_DATA_ROW</var> } ], "deployedModelId": "<var translate="no">DEPLOYED_MODEL_ID</var>" } </pre></devsite-code> </section> <p>To send your request, choose one of these options:</p><div class="ds-selector-tabs"> <section > <h4 id="curl_2" data-text="curl" tabindex="-1">curl</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> , or by using <a href="/shell/docs">Cloud Shell</a>, which automatically logs you into the <code translate="no" dir="ltr">gcloud</code> CLI . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Save the request body in a file named <code translate="no" dir="ltr">request.json</code>, and execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label=" CURL command" translate="no" dir="ltr" is-upgraded>curl -X POST \<br> -H "Authorization: Bearer $(gcloud auth print-access-token)" \<br> -H "Content-Type: application/json; charset=utf-8" \<br> -d @request.json \<br> "https://<var translate="no">LOCATION</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT</var>/locations/<var translate="no">LOCATION</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:explain"</pre></devsite-code></section> </section> <section > <h4 id="powershell_2" data-text="PowerShell" tabindex="-1">PowerShell</h4> <aside class="note"><b>Note:</b> The following command assumes that you have logged in to the <code translate="no" dir="ltr">gcloud</code> CLI with your user account by running <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> or <a href="/sdk/gcloud/reference/auth/login"><code translate="no" dir="ltr">gcloud auth login</code></a> . You can check the currently active account by running <a href="/sdk/gcloud/reference/auth/list"><code translate="no" dir="ltr">gcloud auth list</code></a>. </aside> <p> Save the request body in a file named <code translate="no" dir="ltr">request.json</code>, and execute the following command: </p> <section><div></div><devsite-code><pre class="devsite-click-to-copy" data-label="PowerShell command" translate="no" dir="ltr" is-upgraded>$cred = gcloud auth print-access-token<br>$headers = @{ "Authorization" = "Bearer $cred" }<br><br>Invoke-WebRequest `<br> -Method POST `<br> -Headers $headers `<br> -ContentType: "application/json; charset=utf-8" `<br> -InFile request.json `<br> -Uri "https://<var translate="no">LOCATION</var>-aiplatform.googleapis.com/v1/projects/<var translate="no">PROJECT</var>/locations/<var translate="no">LOCATION</var>/endpoints/<var translate="no">ENDPOINT_ID</var>:explain" | Select-Object -Expand Content</pre></devsite-code></section> </section> </div> </section> <section> <h3 id="aiplatform_explain_tabular_sample-python_vertex_ai_sdk" track-metadata-position="aiplatform_explain_tabular_sample" track-metadata-region-tag="aiplatform_explain_tabular_sample" data-text="Python" tabindex="-1">Python</h3> <p>To learn how to install or update the Vertex AI SDK for Python, see <a href="/vertex-ai/docs/start/use-vertex-ai-python-sdk" track-type="clientLibrariesReference" track- name="python_vertex_ai_sdk" track-metadata-position="aiplatform_explain_tabular_sample">Install the Vertex AI SDK for Python</a>. For more information, see the <a href="/python/docs/reference/aiplatform/latest" track-type="clientLibrariesUsage" track-name="clientLibrariesLink" track-metadata-lang="python_vertex_ai_sdk"> Python API reference documentation</a>. </p> <div class="github-docwidget-gitinclude-code"> <div></div><devsite-code><pre suppresswarning="suppresswarning" translate="no" class="devsite-click-to-copy" track-metadata-position="googleapis/python-aiplatform/samples/model-builder/explain_sample.py/HEAD/aiplatform_sdk_explain_sample" data-code-snippet="true" data-github-includecode-link="https://github.com/googleapis/python-aiplatform/blob/HEAD/samples/model-builder/explain_sample.py" feedback-context="{"language": "python_vertex_ai_sdk", "region_tag": "aiplatform_explain_tabular_sample", "snippet_file_url": "https://github.com/googleapis/python-aiplatform/blob/HEAD/samples/model-builder/explain_sample.py"}" feedback-product="1634365" feedback-bucket="cloud-ai" language="python_vertex_ai_sdk" data-github-path="googleapis/python-aiplatform/samples/model-builder/explain_sample.py" data-git-revision="HEAD" data-region-tag="aiplatform_sdk_explain_sample" dir="ltr" is-upgraded syntax="Python"><code translate="no" dir="ltr"><span class="devsite-syntax-k">def</span> <span class="devsite-syntax-nf">explain_sample</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">endpoint_id</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">str</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">instance_dict</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-n">Dict</span><span class="devsite-syntax-p">):</span> <span class="devsite-syntax-n">aiplatform</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">init</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">project</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">location</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-n">location</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-n">endpoint</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-n">aiplatform</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">Endpoint</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">endpoint_id</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-n">response</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-n">endpoint</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">explain</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">instances</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-p">[</span><span class="devsite-syntax-n">instance_dict</span><span class="devsite-syntax-p">],</span> <span class="devsite-syntax-n">parameters</span><span class="devsite-syntax-o">=</span><span class="devsite-syntax-p">{})</span> <span class="devsite-syntax-k">for</span> <span class="devsite-syntax-n">explanation</span> <span class="devsite-syntax-ow">in</span> <span class="devsite-syntax-n">response</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">explanations</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s2">" explanation"</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-c1"># Feature attributions.</span> <span class="devsite-syntax-n">attributions</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-n">explanation</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">attributions</span> <span class="devsite-syntax-k">for</span> <span class="devsite-syntax-n">attribution</span> <span class="devsite-syntax-ow">in</span> <span class="devsite-syntax-n">attributions</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s2">" attribution"</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s2">" baseline_output_value:"</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">attribution</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">baseline_output_value</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s2">" instance_output_value:"</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">attribution</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">instance_output_value</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s2">" output_display_name:"</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">attribution</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">output_display_name</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s2">" approximation_error:"</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">attribution</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">approximation_error</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s2">" output_name:"</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">attribution</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">output_name</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-n">output_index</span> <span class="devsite-syntax-o">=</span> <span class="devsite-syntax-n">attribution</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">output_index</span> <span class="devsite-syntax-k">for</span> <span class="devsite-syntax-n">output_index</span> <span class="devsite-syntax-ow">in</span> <span class="devsite-syntax-n">output_index</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-s2">" output_index:"</span><span class="devsite-syntax-p">,</span> <span class="devsite-syntax-n">output_index</span><span class="devsite-syntax-p">)</span> <span class="devsite-syntax-k">for</span> <span class="devsite-syntax-n">prediction</span> <span class="devsite-syntax-ow">in</span> <span class="devsite-syntax-n">response</span><span class="devsite-syntax-o">.</span><span class="devsite-syntax-n">predictions</span><span class="devsite-syntax-p">:</span> <span class="devsite-syntax-nb">print</span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-n">prediction</span><span class="devsite-syntax-p">)</span> </code></pre></devsite-code> </div> </section> </div> <p><em>Get explanations for a previously returned prediction</em></p> <p>Because explanations increase resource usage, you might want to reserve requesting explanations for situations when you specifically need them. Sometimes, it can be helpful to request explanations for a prediction result you've already received, perhaps because the prediction was an outlier or did not make sense.</p> <p>If all of your predictions are coming from the same model, you can simply resend the request data, with explanations requested this time. However, if you have multiple models returning predictions, you must make sure you send the explanation request to the correct model. You can view explanations for a particular model by including the deployed model's ID <code translate="no" dir="ltr">deployedModelID</code> in your request, which is included in the response of the original prediction request. Note that the deployed model ID is different from the model ID.</p> <h2 id="interpret_explanation_results" data-text="Interpret explanation results" tabindex="-1">Interpret explanation results</h2> <p> <p> To calculate local feature importance, first the <i>baseline prediction score</i> is calculated. Baseline values are computed from the training data, using the median value for numeric features and the mode for categorical features. The prediction generated from the baseline values is the <i>baseline prediction score</i>. Baseline values are calculated once for a model and do not change. </p> <p> For a specific prediction, the local feature importance for each feature tells you how much that feature added to or subtracted from the result as compared with the baseline prediction score. The sum of all of the feature importance values equals the difference between the baseline prediction score and the prediction result. </p> <p> For classification models, the score is always between 0.0 and 1.0, inclusive. Therefore, local feature importance values for classification models are always between -1.0 and 1.0 (inclusive). </p> For examples of feature attribution queries and to learn more, see <a href="/vertex-ai/docs/tabular-data/classification-explanations">Feature Attributions for Classification and Regression</a>. </p> <h2 id="example_output_for_predictions_and_explanations" data-text="Example output for predictions and explanations" tabindex="-1">Example output for predictions and explanations</h2> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="classification_1" data-text=" Classification " tabindex="-1"> Classification </h3><p>The return payload for an online prediction from a tabular classification model with feature importance looks similar to the following example.</p> <p>The <code translate="no" dir="ltr">instanceOutputValue</code> of <code translate="no" dir="ltr">0.928652400970459</code> is the confidence score of the highest-scoring class, in this case <code translate="no" dir="ltr">class_a</code>. The <code translate="no" dir="ltr">baselineOutputValue</code> field contains the baseline prediction score, <code translate="no" dir="ltr">0.808652400970459</code>. The feature that contributed most strongly to this result was <code translate="no" dir="ltr">feature_3</code>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash"><code translate="no" dir="ltr"><span class="devsite-syntax-o">{</span> <span class="devsite-syntax-s2">"predictions"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">[</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"scores"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">[</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span>.928652400970459, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span>.071347599029541 <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">]</span>, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"classes"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">[</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"class_a"</span>, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"class_b"</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">]</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">}</span> <span class="devsite-syntax-o">]</span> <span class="devsite-syntax-s2">"explanations"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">[</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"attributions"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">[</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"baselineOutputValue"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span>.808652400970459, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"instanceOutputValue"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span>.928652400970459, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"approximationError"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span>.0058915703929231, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"featureAttributions"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"feature_1"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span>.012394922231235, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"feature_2"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span>.050212341234556, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"feature_3"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span>.057392736534209, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">}</span>, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"outputIndex"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">[</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">]</span>, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"outputName"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"scores"</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">]</span>, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">}</span> <span class="devsite-syntax-o">]</span> <span class="devsite-syntax-s2">"deployedModelId"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"234567"</span> <span class="devsite-syntax-o">}</span> </code></pre></devsite-code></section> <section><h3 id="regression_1" data-text=" Regression " tabindex="-1"> Regression </h3><p>The return payload for an online prediction with feature importance from a tabular regression model looks similar to the following example.</p> <p>The <code translate="no" dir="ltr">instanceOutputValue</code> of <code translate="no" dir="ltr">1795.1246466281819</code> is the predicted value, with the <code translate="no" dir="ltr">lower_bound</code> and <code translate="no" dir="ltr">upper_bound</code> fields providing the 95% confidence interval. The <code translate="no" dir="ltr">baselineOutputValue</code> field contains the baseline prediction score, <code translate="no" dir="ltr">1788.7423095703125</code>. The feature that contributed most strongly to this result was <code translate="no" dir="ltr">feature_3</code>.</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash"><code translate="no" dir="ltr"><span class="devsite-syntax-o">{</span> <span class="devsite-syntax-s2">"predictions"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">[</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"value"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">1795</span>.1246466281819, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"lower_bound"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">246</span>.32196807861328, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"upper_bound"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">8677</span>.51904296875 <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">}</span> <span class="devsite-syntax-o">]</span> <span class="devsite-syntax-s2">"explanations"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">[</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"attributions"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">[</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"baselineOutputValue"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">1788</span>.7423095703125, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"instanceOutputValue"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">1795</span>.1246466281819, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"approximationError"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span>.0038215703911553, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"featureAttributions"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">{</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"feature_1"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span>.123949222312359, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"feature_2"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">0</span>.802123412345569, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"feature_3"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-m">5</span>.456264423211472, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">}</span>, <span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"outputIndex"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">[</span> <span class="devsite-syntax-w"> </span>-1 <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">]</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">}</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">]</span> <span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">}</span> <span class="devsite-syntax-o">]</span>, <span class="devsite-syntax-s2">"deployedModelId"</span>:<span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"345678"</span> <span class="devsite-syntax-o">}</span> </code></pre></devsite-code></section> </div> <h2 id="whats_next" data-text="What's next" tabindex="-1">What's next</h2> <ul> <li>Learn how to <a href="/vertex-ai/docs/export/export-model-tabular">export your model</a>.</li> </ul> <devsite-hats-survey class="nocontent" hats-id="Nd7nTix2o0eU5NUYprb0ThtUc5jf" listnr-id="83405"></devsite-hats-survey> </div> <devsite-thumb-rating position="footer"> </devsite-thumb-rating> <devsite-feedback position="footer" project-name="Vertex AI" product-id="5164350" bucket="Documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="footer" class="nocontent" project-feedback-url="https://issuetracker.google.com/issues/new?component=1130925" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" project-support-url="https://cloud.google.com/support-hub" > <button> Send feedback </button> </devsite-feedback> <div class="devsite-floating-action-buttons"> </div> </article> <devsite-content-footer class="nocontent"> <p>Except as otherwise noted, the content of this page is licensed under the <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 License</a>, and code samples are licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 License</a>. For details, see the <a href="https://developers.google.com/site-policies">Google Developers Site Policies</a>. Java is a registered trademark of Oracle and/or its affiliates.</p> <p>Last updated 2024-11-22 UTC.</p> </devsite-content-footer> <devsite-notification > </devsite-notification> <div class="devsite-content-data"> <template class="devsite-thumb-rating-feedback"> <devsite-feedback position="thumb-rating" project-name="Vertex AI" product-id="5164350" bucket="Documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="thumb-rating" class="nocontent" project-feedback-url="https://issuetracker.google.com/issues/new?component=1130925" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" project-support-url="https://cloud.google.com/support-hub" > <button> Need to tell us more? </button> </devsite-feedback> </template> <template class="devsite-content-data-template"> [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-22 UTC."],[],[]] </template> </div> </devsite-content> </main> <devsite-footer-promos class="devsite-footer"> </devsite-footer-promos> <devsite-footer-linkboxes class="devsite-footer"> <nav class="devsite-footer-linkboxes nocontent" aria-label="Footer links"> <ul class="devsite-footer-linkboxes-list"> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Why Google</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/why-google-cloud/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-eventDetail="cloud.google.com/why-google-cloud/"track-metadata-module="footer"track-type="footer link"track-metadata-position="footer"track-name="choosing google cloud"track-metadata-child_headline="why google"> Choosing Google Cloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/trust-center/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-module="footer"track-name="trust and security"track-type="footer link"track-metadata-eventDetail="cloud.google.com/security/"track-metadata-child_headline="why google"track-metadata-position="footer"> Trust and security </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/modern-infrastructure/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/solutions/modern-infrastructure/"track-metadata-child_headline="why google"track-type="footer link"track-metadata-module="footer"track-name="modern infrastructure cloud"> Modern Infrastructure Cloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/multicloud/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-child_headline="why google"track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/multicloud/"track-name="multicloud"> Multicloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/infrastructure/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-type="footer link"track-metadata-eventDetail="cloud.google.com/infrastructure/"track-metadata-module="footer"track-metadata-child_headline="why google"track-metadata-position="footer"track-name="global infrastructure"> Global infrastructure </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/customers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-type="footer link"track-name="customers and case studies"track-metadata-position="footer"track-metadata-child_headline="why google"track-metadata-eventDetail="cloud.google.com/customers/"track-metadata-module="footer"> Customers and case studies </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/analyst-reports/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-eventDetail="cloud.google.com/analyst-reports/"track-name="analyst reports"track-metadata-position="footer"track-metadata-child_headline="why google"track-type="footer link"track-metadata-module="footer"> Analyst reports </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/whitepapers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/whitepapers/"track-metadata-child_headline="why google"track-type="footer link"track-name="whitepapers"track-metadata-module="footer"> Whitepapers </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//cloud.google.com/blog/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-name="blog"track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"track-metadata-child_headline="engage"track-metadata-eventDetail="cloud.google.com/blog/"> Blog </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Products and pricing</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/pricing/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-eventDetail="cloud.google.com/pricing/"track-metadata-position="footer"track-metadata-module="footer"track-metadata-child_headline="products and pricing"track-type="footer link"track-name="google cloud pricing"> Google Cloud pricing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//workspace.google.com/pricing.html" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-position="footer"track-metadata-child_headline="products and pricing"target="_blank"track-metadata-eventDetail="workspace.google.com/pricing.html"track-metadata-module="footer"track-name="google workspace pricing"track-type="footer link"> Google Workspace pricing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/products/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-child_headline="products and pricing"track-metadata-position="footer"track-type="footer link"track-metadata-module="footer"track-name="see all products"track-metadata-eventDetail="cloud.google.com/products/"> See all products </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Solutions</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/solutions/infrastructure-modernization/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-eventDetail="cloud.google.com/solutions/infrastructure-modernization/"track-metadata-position="footer"track-name="infrastructure modernization"track-metadata-child_headline="solutions"track-metadata-module="footer"track-type="footer link"> Infrastructure modernization </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/databases/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-name="databases"track-metadata-eventDetail="cloud.google.com/solutions/databases"track-metadata-child_headline="solutions"track-metadata-position="footer"track-type="footer link"track-metadata-module="footer"> Databases </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/application-modernization/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-type="footer link"track-name="application development"track-metadata-child_headline="solutions"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/solutions/application-modernization/"track-metadata-module="footer"> Application modernization </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/smart-analytics/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-eventDetail="cloud.google.com/solutions/smart-analytics/"track-metadata-position="footer"track-metadata-child_headline="solutions"track-metadata-module="footer"track-name="smart analytics"track-type="footer link"> Smart analytics </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/ai/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-metadata-child_headline="solutions"track-name="artificial intelligence"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/solutions/ai/"track-metadata-position="footer"track-type="footer link"> Artificial Intelligence </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/security/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-metadata-module="footer"track-metadata-child_headline="solutions"track-type="footer link"track-name="security"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/solutions/security/"> Security </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://workspace.google.com/enterprise/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-position="footer"target="_blank"track-metadata-module="footer"track-metadata-child_headline="solutions"track-metadata-eventDetail="workspace.google.com/enterprise/"track-name="productivity and work transformation"track-type="footer link"> Productivity & work transformation </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/#industry-solutions" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/solutions/#industry-solutions"track-metadata-module="footer"track-name="industry solutions"track-type="footer link"track-metadata-child_headline="solutions"> Industry solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/devops/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-metadata-module="footer"track-metadata-child_headline="solutions"track-type="footer link"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/solutions/devops/"track-name="devops solutions"> DevOps solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/#section-14" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-module="footer"track-metadata-child_headline="solutions"track-metadata-eventDetail="cloud.google.com/solutions/#section-14"track-name="small business solutions"track-metadata-position="footer"track-type="footer link"> Small business solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" track-metadata-eventDetail="cloud.google.com/solutions/"track-name="see all solutions"track-type="footer link"track-metadata-child_headline="solutions"track-metadata-position="footer"track-metadata-module="footer"> See all solutions </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Resources</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/affiliate-program/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-position="footer"track-metadata-child_headline="resources"track-name="google cloud affiliate program"track-metadata-eventDetail="cloud.google.com/affiliate-program/"track-metadata-module="footer"track-type="footer link"> Google Cloud Affiliate Program </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/docs/"track-name="google cloud documentation"track-metadata-child_headline="resources"track-metadata-position="footer"> Google Cloud documentation </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/get-started/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/docs/get-started/"track-metadata-module="footer"track-metadata-child_headline="resources"track-type="footer link"track-name="google cloud quickstarts"> Google Cloud quickstarts </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/marketplace/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-eventDetail="cloud.google.com/marketplace/"track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"track-name="google cloud marketplace"track-metadata-child_headline="resources"> Google Cloud Marketplace </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/discover/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-name="learn about cloud computing"track-metadata-position="footer"track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="learn/"track-metadata-child_headline="resources"> Learn about cloud computing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/support-hub/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-metadata-module="footer"track-metadata-position="footer"track-name="support"track-metadata-child_headline="resources"track-type="footer link"track-metadata-eventDetail="cloud.google.com/support-hub/"> Support </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/samples" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-eventDetail="cloud.google.com/docs/samples"track-name="code samples"track-metadata-module="footer"track-type="footer link"track-metadata-child_headline="resources"track-metadata-position="footer"> Code samples </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/architecture/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-name="cloud architecture center"track-metadata-position="footer"track-type="footer link"track-metadata-child_headline="resources"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/architecture/"> Cloud Architecture Center </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/learn/training/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/training/"track-name="training"track-metadata-child_headline="resources"track-type="footer link"track-metadata-module="footer"> Training </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/learn/certification/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-name="certifications"track-type="footer link"track-metadata-eventDetail="cloud.google.com/certification"track-metadata-module="footer"track-metadata-position="footer"track-metadata-child_headline="resources"> Certifications </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//developers.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" track-metadata-eventDetail="developers.google.com"track-metadata-module="footer"target="_blank"track-metadata-child_headline="resources"track-metadata-position="footer"track-name="google developers"track-type="footer link"> Google for Developers </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/startup/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 12)" track-metadata-position="footer"track-metadata-child_headline="resources"track-metadata-module="footer"track-type="footer link"track-name="google cloud for startups"track-metadata-eventDetail="cloud.google.com/startup/"> Google Cloud for Startups </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//status.cloud.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 13)" track-metadata-eventDetail="status.cloud.google.com"track-metadata-child_headline="resources"target="_blank"track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"track-name="system status"> System status </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/release-notes" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 14)" track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"track-name="release notes"track-metadata-child_headline="resources"track-metadata-eventDetail="cloud.google.com/release-notes/"> Release Notes </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Engage</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/contact/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-type="footer link"track-metadata-child_headline="engage"track-metadata-eventDetail="cloud.google.com/contact/"track-name="contact sales"track-metadata-position="footer"track-metadata-module="footer"> Contact sales </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//cloud.google.com/find-a-partner" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-position="footer"track-type="footer link"target="_blank"track-metadata-child_headline="engage"track-name="find a partner"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/find-a-partner"> Find a Partner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/partners/become-a-partner/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-name="become a partner"track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/partners/become-a-partner/"track-metadata-child_headline="engage"> Become a Partner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/events/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-module="footer"track-metadata-eventDetail="cloud.withgoogle.com/events"track-metadata-child_headline="engage"track-name="events"track-type="footer link"track-metadata-position="footer"> Events </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/podcasts/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" target="_blank"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/podcasts/"rel="noopener"track-metadata-module="footer"track-metadata-child_headline="engage"track-type="footer link"track-name="podcasts"> Podcasts </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/developers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-metadata-child_headline="engage"track-metadata-module="footer"track-type="footer link"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/developers/"track-name="developer center"> Developer Center </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.googlecloudpresscorner.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" target="_blank"track-metadata-module="footer"rel="noopener"track-metadata-eventDetail="www.googlecloudpresscorner.com"track-metadata-position="footer"track-name="press corner"track-metadata-child_headline="engage"track-type="footer link"> Press Corner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/googlecloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-metadata-module="footer"track-metadata-position="footer"target="_blank"rel="noopener"track-metadata-eventDetail="www.youtube.com/googlecloud"track-name="google cloud on youtube"track-metadata-child_headline="engage"track-type="footer link"> Google Cloud on YouTube </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/googlecloudplatform" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-type="footer link"track-name="google cloud tech on youtube"target="_blank"track-metadata-eventDetail="www.youtube.com/googlecloudplatform"rel="noopener"track-metadata-child_headline="engage"track-metadata-module="footer"track-metadata-position="footer"> Google Cloud Tech on YouTube </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//x.com/googlecloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-child_headline="engage"rel="noopener"target="_blank"track-name="follow on x"track-metadata-eventDetail="x.com/googlecloud"track-type="footer link"track-metadata-position="footer"track-metadata-module="footer"> Follow on X </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//userresearch.google.com/?reserved=1&utm_source=website&Q_Language=en&utm_medium=own_srch&utm_campaign=CloudWebFooter&utm_term=0&utm_content=0&productTag=clou&campaignDate=jul19&pType=devel&referral_code=jk212693" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" track-metadata-position="footer"track-name="join user research"track-metadata-child_headline="engage"track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="userresearch.google.com/?reserved=1&utm_source=website&Q_Language=en&utm_medium=own_srch&utm_campaign=CloudWebFooter&utm_term=0&utm_content=0&productTag=clou&campaignDate=jul19&pType=devel&referral_code=jk212693"target="_blank"> Join User Research </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//careers.google.com/cloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 12)" track-metadata-child_headline="engage"track-type="footer link"track-metadata-module="footer"track-name="we are hiring join google cloud"track-metadata-position="footer"track-metadata-eventDetail="careers.google.com/cloud"target="_blank"> We're hiring. Join Google Cloud! </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.googlecloudcommunity.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 13)" track-metadata-child_headline="engage"track-metadata-module="footer"track-metadata-eventDetail="www.googlecloudcommunity.com"track-type="footer link"target="_blank"rel="noopener"track-name="google cloud community"track-metadata-position="footer"> Google Cloud Community </a> </li> </ul> </li> </ul> </nav> </devsite-footer-linkboxes> <devsite-footer-utility class="devsite-footer"> <div class="devsite-footer-utility nocontent"> <nav class="devsite-footer-utility-links" aria-label="Utility links"> <ul class="devsite-footer-utility-list"> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//about.google/" data-category="Site-Wide Custom Events" data-label="Footer About Google link" track-type="footer link" track-name="about google" track-metadata-module="utility footer" track-metadata-position="footer" target="_blank" track-metadata-eventDetail="//about.google/" > About Google </a> </li> <li class="devsite-footer-utility-item devsite-footer-privacy-link"> <a class="devsite-footer-utility-link gc-analytics-event" href="//policies.google.com/privacy" data-category="Site-Wide Custom Events" data-label="Footer Privacy link" track-metadata-position="footer" track-type="footer link" track-name="privacy" track-metadata-eventDetail="//policies.google.com/privacy" target="_blank" track-metadata-module="utility footer" > Privacy </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//www.google.com/intl/en/policies/terms/regional.html" data-category="Site-Wide Custom Events" data-label="Footer Site terms link" track-metadata-position="footer" track-name="site terms" target="_blank" track-metadata-eventDetail="//www.google.com/intl/en/policies/terms/regional.html" track-metadata-module="utility footer" track-type="footer link" > Site terms </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="/product-terms/" data-category="Site-Wide Custom Events" data-label="Footer Google Cloud terms link" track-metadata-eventDetail="/product-terms/" track-type="footer link" track-metadata-position="footer" track-name="google cloud terms" track-metadata-module="utility footer" > Google Cloud terms </a> </li> <li class="devsite-footer-utility-item glue-cookie-notification-bar-control"> <a class="devsite-footer-utility-link gc-analytics-event" href="#" data-category="Site-Wide Custom Events" data-label="Footer Manage cookies link" track-metadata-eventDetail="#" track-metadata-position="footer" aria-hidden="true" track-type="footer link" track-name="Manage cookies" track-metadata-module="utility footer" > Manage cookies </a> </li> <li class="devsite-footer-utility-item devsite-footer-carbon-button"> <a class="devsite-footer-utility-link gc-analytics-event" href="/sustainability" data-category="Site-Wide Custom Events" data-label="Footer Our third decade of climate action: join us link" track-name="Our third decade of climate action: join us" track-metadata-position="footer" track-metadata-eventDetail="/sustainability/" track-metadata-module="utility footer" track-type="footer link" > Our third decade of climate action: join us </a> </li> <li class="devsite-footer-utility-item devsite-footer-utility-button"> <span class="devsite-footer-utility-description">Sign up for the Google Cloud newsletter</span> <a class="devsite-footer-utility-link gc-analytics-event" href="/newsletter/" data-category="Site-Wide Custom Events" data-label="Footer Subscribe link" track-type="footer link" track-metadata-module="utility footer" track-metadata-position="footer" track-name="subscribe" track-metadata-eventDetail="/newsletter/" > Subscribe </a> </li> </ul> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> </nav> </div> </devsite-footer-utility> <devsite-panel></devsite-panel> </section></section> <devsite-sitemask></devsite-sitemask> <devsite-snackbar></devsite-snackbar> <devsite-tooltip ></devsite-tooltip> <devsite-heading-link></devsite-heading-link> <devsite-analytics> <script type="application/json" analytics>[]</script> <script type="application/json" tag-management>{"at": "True", "ga4": [], "ga4p": [], "gtm": [{"id": "GTM-5CVQBG", "purpose": 1}], "parameters": {"internalUser": "False", "language": {"machineTranslated": "False", "requested": "en", "served": "en"}, "pageType": "article", "projectName": "Vertex AI", "signedIn": "False", "tenant": "cloud", "recommendations": {"sourcePage": "", "sourceType": 0, "sourceRank": 0, "sourceIdenticalDescriptions": 0, "sourceTitleWords": 0, "sourceDescriptionWords": 0, "experiment": ""}, "experiment": {"ids": ""}}}</script> </devsite-analytics> <devsite-badger></devsite-badger> <cloudx-user></cloudx-user> <cloudx-free-trial-eligible-store freeTrialEligible='true'></cloudx-free-trial-eligible-store> <cloudx-pricing-socket></cloudx-pricing-socket> <cloudx-experiments type="TestAACodivertedExperiment" path="/virtual/TestAACodivertedExperiment/configureExperiment" location="SG" variant="variant2" ></cloudx-experiments> <cloudx-experiment-ids userCountry="SG" devsiteExperimentIdList="[39300012, 39300021, 39300118, 39300195, 39300251, 39300318, 39300320, 39300325, 39300345, 39300354, 39300363, 39300374, 39300412, 39300422, 39300436, 39300473, 39300487, 39300496, 39300498]"> </cloudx-experiment-ids> <script nonce="UqV8YLvsxJERQJ8BCyatkJXHs0TwJz"> (function(d,e,v,s,i,t,E){d['GoogleDevelopersObject']=i; t=e.createElement(v);t.async=1;t.src=s;E=e.getElementsByTagName(v)[0]; E.parentNode.insertBefore(t,E);})(window, document, 'script', 'https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/js/app_loader.js', '[2,"en",null,"/js/devsite_app_module.js","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud","https://cloud-dot-devsite-v2-prod.appspot.com",null,null,["/_pwa/cloud/manifest.json","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/images/video-placeholder.svg","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/favicon.ico","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg","https://fonts.googleapis.com/css?family=Google+Sans:400,500,700|Google+Sans+Text:400,400italic,500,500italic,700,700italic|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"],1,null,[1,6,8,12,14,17,21,25,50,52,63,70,75,76,80,87,91,92,93,97,98,100,101,102,103,104,105,107,108,109,110,112,113,117,118,120,122,124,125,126,127,129,130,131,132,133,134,135,136,138,140,141,147,148,149,151,152,156,157,158,159,161,163,164,168,169,170,179,180,182,183,186,191,193,196],"AIzaSyAP-jjEJBzmIyKR4F-3XITp8yM9T1gEEI8","AIzaSyB6xiKGDR5O3Ak2okS4rLkauxGUG7XP0hg","cloud.google.com","AIzaSyAQk0fBONSGUqCNznf6Krs82Ap1-NV6J4o","AIzaSyCCxcqdrZ_7QMeLCRY20bh_SXdAYqy70KY",null,null,null,["Cloud__enable_cloudx_ping","CloudShell__cloud_shell_button","Search__enable_dynamic_content_confidential_banner","TpcFeatures__enable_mirror_tenant_redirects","MiscFeatureFlags__developers_footer_dark_image","Cloud__enable_legacy_calculator_redirect","Profiles__enable_complete_playlist_endpoint","Profiles__enable_recognition_badges","Concierge__enable_concierge_restricted","TpcFeatures__enable_required_headers","MiscFeatureFlags__enable_variable_operator","Search__enable_ai_search_summaries","Profiles__enable_completecodelab_endpoint","Profiles__enable_dashboard_curated_recommendations","Profiles__enable_profile_collections","MiscFeatureFlags__enable_project_variables","Search__scope_to_project_tenant","Experiments__reqs_query_experiments","MiscFeatureFlags__developers_footer_image","Cloud__enable_cloudx_experiment_ids","Cloud__enable_cloud_dlp_service","Profiles__enable_public_developer_profiles","Search__enable_suggestions_from_borg","EngEduTelemetry__enable_engedu_telemetry","Profiles__require_profile_eligibility_for_signin","MiscFeatureFlags__enable_explain_this_code","Profiles__enable_release_notes_notifications","Cloud__enable_cloud_shell","Cloud__enable_cloud_shell_fte_user_flow","DevPro__enable_developer_subscriptions","Concierge__enable_pushui","Search__enable_ai_search_summaries_restricted","Search__enable_page_map","CloudShell__cloud_code_overflow_menu","Cloud__enable_cloud_facet_chat","DevPro__enable_cloud_innovators_plus","Profiles__enable_page_saving","Search__enable_ai_eligibility_checks","Cloud__enable_free_trial_server_call","BookNav__enable_tenant_cache_key","Profiles__enable_developer_profiles_callout","Profiles__enable_awarding_url","Cloud__enable_llm_concierge_chat","MiscFeatureFlags__enable_firebase_utm","MiscFeatureFlags__enable_view_transitions","Analytics__enable_clearcut_logging","MiscFeatureFlags__emergency_css"],null,null,"AIzaSyBLEMok-5suZ67qRPzx0qUtbnLmyT_kCVE","https://developerscontentserving-pa.clients6.google.com","AIzaSyCM4QpTRSqP5qI4Dvjt4OAScIN8sOUlO-k","https://developerscontentsearch-pa.clients6.google.com",1,4,1,"https://developerprofiles-pa.clients6.google.com",[2,"cloud","Google Cloud","cloud.google.com",null,"cloud-dot-devsite-v2-prod.appspot.com",null,null,[1,1,null,null,null,null,null,null,null,null,null,[1],null,null,null,null,null,1,[1],[null,null,null,[1,20],"/terms/recommendations"],[1],null,[1],[1,null,1],[1,1,null,null,1,null,["/vertex-ai/"]]],null,[22,null,null,null,null,null,"/images/cloud-logo.svg","/images/favicons/onecloud/apple-icon.png",null,null,null,null,1,1,1,[6,5],[],null,null,[[],[],[],[],[],[],[],[]],null,1,null,null,null,null,[]],[],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[6,1,14,15,22,23,29,37],null,[[null,null,null,null,null,null,[1,[["docType","Choose a content type",[["ApiReference",null,null,null,null,null,null,null,null,"API reference"],["Sample",null,null,null,null,null,null,null,null,"Code sample"],["ReferenceArchitecture",null,null,null,null,null,null,null,null,"Reference architecture"],["Tutorial",null,null,null,null,null,null,null,null,"Tutorial"]]],["category","Choose a topic",[["AiAndMachineLearning",null,null,null,null,null,null,null,null,"Artificial intelligence and machine learning (AI/ML)"],["ApplicationDevelopment",null,null,null,null,null,null,null,null,"Application development"],["BigDataAndAnalytics",null,null,null,null,null,null,null,null,"Big data and analytics"],["Compute",null,null,null,null,null,null,null,null,"Compute"],["Containers",null,null,null,null,null,null,null,null,"Containers"],["Databases",null,null,null,null,null,null,null,null,"Databases"],["HybridCloud",null,null,null,null,null,null,null,null,"Hybrid and multicloud"],["LoggingAndMonitoring",null,null,null,null,null,null,null,null,"Logging and monitoring"],["Migrations",null,null,null,null,null,null,null,null,"Migrations"],["Networking",null,null,null,null,null,null,null,null,"Networking"],["SecurityAndCompliance",null,null,null,null,null,null,null,null,"Security and compliance"],["Serverless",null,null,null,null,null,null,null,null,"Serverless"],["Storage",null,null,null,null,null,null,null,null,"Storage"]]]]]],[1],null,1],[[null,null,null,null,null,["GTM-5CVQBG"],null,null,null,null,null,[["GTM-5CVQBG",2]],1],null,null,null,null,null,1],"mwETRvWii0eU5NUYprb0Y9z5GVbc",4,null,null,null,null,null,null,null,null,null,null,null,null,null,"cloud.devsite.google"],null,"pk_live_5170syrHvgGVmSx9sBrnWtA5luvk9BwnVcvIi7HizpwauFG96WedXsuXh790rtij9AmGllqPtMLfhe2RSwD6Pn38V00uBCydV4m"]') </script> <devsite-a11y-announce></devsite-a11y-announce> </body> </html>