Skip to Content
Google CloudではじめるAI/ML入門 ―ハンズオンで学ぶデータ基盤、分析、エージェント開発
book

Google CloudではじめるAI/ML入門 ―ハンズオンで学ぶデータ基盤、分析、エージェント開発

by 藤森 立, 岡安 優, 原 和希, 徳山 健斗
August 2026
Intermediate to advanced
552 pages
8h 9m
Japanese
O'Reilly Japan, Inc.
Content preview from Google CloudではじめるAI/ML入門 ―ハンズオンで学ぶデータ基盤、分析、エージェント開発

15章BigQuery MLとGeminiによる画像データの分析

寄稿:喜久里 陽

15.1 はじめに

本章の内容を学習することで、SQLと生成AIを組み合わせた画像データの分析手法を習得できます。プログラミング言語を使わずに、BigQueryコンソールでのSQLとスプレッドシートのみで、大量の画像に対するラベリングから可視化、分析まで一貫して実行できるようになります。

この章の内容
  • BigQuery MLを使った画像分析の基本的な流れ
  • Agent Studio(旧称:Vertex AI Studio)でのプロンプト設計と検証
  • オブジェクトテーブルやAI.GENERATE_TEXT関数を用いた大量画像へのバッチ推論
  • スプレッドシート(Connected Sheets)を使ったBigQueryデータの可視化

本章では、The Metデータセットの画像に対してGemini 3.1 Flash Liteを使ってラベルを付与し、各画像のメタ情報と組み合わせることで、国や地域、年代ごとの特徴や傾向を分析します。まずデータの確認と分析内容の検討を行い、次にAgent Studioでプロンプトを検証した上でBigQuery MLによるバッチ推論で画像にラベルを付与します。最後に、ラベルとメタ情報を組み合わせてスプレッドシートで可視化、分析を行います。

15.1.1 前提条件

本章のハンズオンを実施するには、以下の準備が完了している必要があります。

まず前提知識として次の内容を想定しています。

  • SQLの基本文法(SELECT、JOIN、GROUP BYなど)
  • BigQueryの基本的な操作(クエリの実行、データセットの作成)
  • スプレッドシートの基本的な操作(ピボットテーブル、グラフ作成など) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

クラウドデータレイク ―無限の可能性があるデータを無駄なく活かすアーキテクチャ設計ガイド

クラウドデータレイク ―無限の可能性があるデータを無駄なく活かすアーキテクチャ設計ガイド

Rukmani Gopalan, 丸本 健二郎, 長尾 高弘
生成AI時代の価値のつくりかた ―実践者のマインド、スキル、データ、ユースケース

生成AI時代の価値のつくりかた ―実践者のマインド、スキル、データ、ユースケース

Rob Thomas, Paul Zikopoulos, Kate Soule, 本多 真二郎, オライリー・ジャパン編集部

Publisher Resources

ISBN: 9784814401741Publisher Website