Ray on Vertex AI: Ray を使用して、AI と Python アプリケーション(ML など)をスケーリングします。
BigQuery ML や XGBoost などの別のプラットフォームでトレーニングされたモデルをインポートすることもできます。
カスタム トレーニング モデルは Vertex AI Model Registry に登録できます。Vertex AI の外部でトレーニングされたモデルをインポートして、Vertex AI Model Registry に登録することもできます。AutoML モデルは登録する必要はありません。作成時に自動的に登録されます。
このレジストリから、モデル バージョンを管理し、オンライン予測のためにエンドポイントにデプロイできます。また、モデル評価を実施し、Vertex AI Model Monitoring でデプロイのモニタリングを行い、Vertex Explainable AI を使用できます。
BigQuery ML を使用すると、BigQuery でモデルを開発して呼び出すことができます。BigQuery ML を使用すると、SQL を使用して BigQuery 内で ML モデルを直接トレーニングできます。データを移動したり、基盤となるトレーニング インフラストラクチャを気にする必要はありません。BigQuery ML モデルのバッチ予測を作成して、BigQuery データから分析情報を取得できます。
BigQuery ML を使用して Vertex AI モデルにアクセスすることもできます。BigQuery ML リモートモデルは、Gemini などの Vertex AI 組み込みモデルまたは Vertex AI カスタムモデルで作成できます。他の BigQuery ML モデルと同様に、BigQuery の SQL を使用してリモートモデルを操作しますが、リモートモデルのトレーニングと推論はすべて Vertex AI で処理されます。
BigQuery ML モデルを Model Registry に登録すると、Vertex AI でモデルを管理できます。BigQuery ML モデルを Vertex AI で管理すると、次の 2 つの主なメリットがあります。
オンライン モデル サービング: BigQuery ML では、モデルのバッチ予測のみがサポートされています。オンライン予測を取得するには、BigQuery ML でモデルをトレーニングし、Vertex AI Model Registry を介して Vertex AI エンドポイントにデプロイします。
MLOps の機能: 継続的なトレーニングで最新の状態が維持されているモデルが最も効果的なモデルです。Vertex AI には、時間の経過に伴う予測の精度を維持するため、モデルのモニタリングと再トレーニングを自動化する MLOps ツールが用意されています。Vertex AI Pipelines では、BigQuery オペレーターを使用して BigQuery ジョブ(BigQuery ML を含む)を ML パイプラインに接続できます。Vertex AI Model Monitoring を使用すると、BigQuery ML の予測を時系列でモニタリングできます。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-03 UTC。"],[],[],null,["# Vertex AI for BigQuery users\n\nUse this page to understand the differences between Vertex AI and\n[BigQuery](/bigquery/docs/introduction) and learn how you can integrate\nVertex AI with your existing BigQuery workflows.\nVertex AI and BigQuery work together to meet your machine\nlearning and MLOps use cases.\n\nTo learn more about model training differences between Vertex AI and\nBigQuery,\nsee [Choose a training method](/vertex-ai/docs/start/training-methods).\n\nDifferences between Vertex AI and BigQuery\n------------------------------------------\n\nThis section covers the Vertex AI, BigQuery, and\nBigQuery ML services.\n\n### Vertex AI: An end-to-end AI/ML platform\n\nVertex AI is an AI/ML platform for model development\nand governance. Common use cases include the following:\n\n- Machine learning tasks, such as forecasting, prediction, recommendation, and anomaly detection\n- Generative AI tasks, such as:\n\n - Text generation, classification, summarization, and extraction\n - Code generation and completion\n - Image generation\n - Embedding generation\n\nYou can use BigQuery to prepare training data for\nVertex AI models, which you can\n[make available as features in Vertex AI Feature Store](/vertex-ai/docs/featurestore/latest/sync-data).\n\nYou can train models in Vertex AI in three ways:\n\n- [AutoML](/vertex-ai/docs/beginner/beginners-guide): Train models on image, tabular, and video datasets without writing code.\n- [Custom Training](/vertex-ai/docs/training/understanding-training-service): Run custom training code catered to your specific use case.\n- [Ray on Vertex AI](/vertex-ai/docs/open-source/ray-on-vertex-ai/overview): Use Ray to scale AI and Python applications like machine learning.\n\nYou can also import a model trained on another platform like\nBigQuery ML or XGBoost.\n\nYou can register custom-trained models to the\n[Vertex AI Model Registry](/vertex-ai/docs/model-registry/introduction).\nYou can also import models trained outside of Vertex AI and register them\nto Vertex AI Model Registry. You don't need to register\nAutoML models; they are registered automatically at creation\ntime.\n\nFrom the registry, you can manage model\nversions, deploy to endpoints for online predictions, perform model\nevaluations, monitor deployments with Vertex AI Model Monitoring, and\nuse [Vertex Explainable AI](/vertex-ai/docs/explainable-ai/overview).\n\n**Available languages:**\n\n- The [Vertex AI SDK](/vertex-ai/docs/python-sdk/use-vertex-ai-sdk) supports Python, Java, Node.js, and Go.\n\n### BigQuery: A serverless, multicloud enterprise data warehouse\n\n[BigQuery](/bigquery/docs/introduction) is a fully managed enterprise\ndata warehouse that helps you manage and analyze your data with built-in features\nlike machine learning, geospatial analysis, and business intelligence.\nBigQuery tables can be queried by SQL, and data scientists who primarily\nuse SQL can run large queries with only a few lines of code.\n\nYou can also use BigQuery as a data store that you reference when\nbuilding tabular and custom models in Vertex AI. To learn more about\nusing BigQuery as a data store, see [Overview of BigQuery\nstorage](/bigquery/docs/storage_overview).\n\n**Available languages:**\n\n- SDKs for BigQuery. To learn more, see the [BigQuery API Client Libraries](/bigquery/docs/reference/libraries).\n- GoogleSQL\n- Legacy SQL\n\nTo learn more, see [BigQuery SQL dialects](/bigquery/docs/reference/standard-sql/introduction#bigquery-sql-dialects).\n\n### BigQuery ML: Machine learning directly in BigQuery\n\nBigQuery ML lets you develop and invoke models in\nBigQuery. With BigQuery ML, you can use SQL to\ntrain ML models directly in BigQuery without needing to move\ndata or worry about the underlying training infrastructure. You can create\nbatch predictions for BigQuery ML models to gain insights from\nyour BigQuery data.\n\nYou can also access Vertex AI models by using\nBigQuery ML. You can create a BigQuery ML\nremote model over a\n[Vertex AI built-in model](/bigquery/docs/reference/standard-sql/bigqueryml-syntax-create-remote-model) like Gemini,\nor over a\n[Vertex AI custom model](/bigquery/docs/reference/standard-sql/bigqueryml-syntax-create-remote-model-https). You interact with the remote model using\nSQL in BigQuery, just like any other BigQuery ML\nmodel, but all training and inference for the remote model is processed in\nVertex AI.\n\n**Available language:**\n\n- GoogleSQL\n- [BigQuery client libraries](/bigquery/docs/reference/libraries)\n\nTo learn more about the advantages of using BigQuery ML, see\n[Introduction to AI and ML in BigQuery](/bigquery/docs/bqml-introduction).\n\nBenefits of managing BigQuery ML models in Vertex AI\n----------------------------------------------------\n\nYou can register your BigQuery ML models to the\nModel Registry in order to manage the models in\nVertex AI. Managing BigQuery ML models in\nVertex AI provides two main benefits:\n\n- **Online model serving**: BigQuery ML only supports batch predictions\n for your models. To get online predictions, you can train your models in\n BigQuery ML and deploy them to Vertex AI endpoints through\n Vertex AI Model Registry.\n\n- **MLOps capabilities**: Models are most beneficial when they are kept up to\n date through continuous training. Vertex AI offers MLOps tools that\n automate the monitoring and retraining of models to maintain the accuracy\n of predictions over time. With Vertex AI Pipelines, you can use\n BigQuery operators to plug any BigQuery jobs (including\n BigQuery ML) into an ML pipeline. With\n Vertex AI Model Monitoring, you can monitor your BigQuery ML\n predictions over time.\n\nTo learn how to register your BigQuery ML models to the Model Registry,\nsee [Manage BigQuery ML models with Vertex AI](/bigquery-ml/docs/managing-models-vertex).\n\nRelated notebook tutorials\n--------------------------\n\nWhat's next\n-----------\n\n- To get started with Vertex AI see:\n - [Choose a training method](/vertex-ai/docs/start/training-methods)\n - [Integrate a BigQuery ML model with Model Registry](/vertex-ai/docs/model-registry/model-registry-bqml)"]]