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入門 ―ハンズオンで学ぶデータ基盤、分析、エージェント開発

18章Dataformを用いたMLパイプラインの構築

寄稿:堂原 竜希

18.1 はじめに

本章の内容を学習することで、Dataformを用いたSQLベースのパイプライン管理手法を習得できます。これにより、テーブル間の複雑な依存関係を視覚的に把握しつつ、データの前処理から機械学習モデルの学習と評価、定期実行までのワークフローを効率的に自動化し、運用することが可能になります。

この章の内容
  • データパイプライン管理ツールDataformの概要
  • Dataformの開発環境(リポジトリ、ワークスペース)の構築と初期設定
  • SQLを用いた機械学習パイプラインの構築
  • ワークフローのオンデマンド実行とスケジュール構成の作成

本章の目的は、データパイプライン管理ツールであるDataformを用いて、機械学習のワークフローを構築、運用する一連の流れを習得することです。そのために、まずはパイプライン開発の土台となるリポジトリや開発ワークスペースの作成、および実行に必要なサービスアカウントの権限を設定します。環境が整った後は、実際のオープンデータを用いて、データの宣言、前処理からロジスティック回帰モデルの学習、評価を行うパイプラインを実装します。最後に、構築したワークフローのオンデマンド実行手順と、実運用を見据えた定期的なスケジュール実行の設定方法について解説します。

18.1.0.1 前提条件

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

  • 3章で作成したプロジェクトおよびサービスアカウントの用意
  • Dataform APIおよびBigQuery APIの有効化
  • プロジェクトにおいて「編集者」ロールおよび「Project IAM管理者」ロールを有しているGoogleアカウント ...
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