Skip to Content
AI開発力を鍛える!機械学習と最適化による問題解決講座
book

AI開発力を鍛える!機械学習と最適化による問題解決講座

by 沓掛 健太朗
April 2025
Intermediate
240 pages
6h 56m
Japanese
Shōeisha
Content preview from AI開発力を鍛える!機械学習と最適化による問題解決講座
2.
3.
0.
1.
117
2.8
2.8
訓練・検証・テストデータは
どのように分ければよいか?
機械学習を学んだことがある方ならば、機械学習のお作法として、「データは
訓練・検証・テストの3つに分ける」ということは、骨の髄まで染みついて
いるでしょう。しかし、このデータ分割の工程にも、意外と落とし穴があり
ます。本節では、まずデータ分割についておさらいし、データの意味を考え
たデータ分割について考えてみましょう。
ータ おさらい
 データ分割は、あらゆるAI入門書にもれなく書かれている、機械学習における
非常に基礎的な事柄です。機械学習では
2.8.1 のように、データは訓練データ、
検証データ、テストデータの3つに分けます。
 訓練データは学習パラメータの調整に使用します。例えば、線形回帰では各項
の係数が、ニューラルネットワークでは重みとバイアスが、訓練データに対する
損失関数を最小にするように調整(学習)されます。
 検証データはハイパーパラメータの調整に使用します。
2.8.1 では、Ridge
回帰の損失関数のハイパーパラメータであるαを例示しています。損失関数内の
ハイパーパラメータ以外にも、ニューラルネットワークの隠れ層や隠れユニット
の数といった機械学習アーキテクチャ(処理を行う構造)内のハイパーパラメー
タ、学習率やエポック数といった学習条件のハイパーパラメータなど様々な形式
のハイパーパラメータがあります。検証データは、これらハイパーパラメータを
最適化する際の目的関数の評価に用いられます。 ...
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

マルチクラウドセキュリティの教科書 クラウド横断で実現する堅牢なセキュリティ基盤

マルチクラウドセキュリティの教科書 クラウド横断で実現する堅牢なセキュリティ基盤

大島 悠司, 垣見 宥太, 金光 高宏, 蒲 晃平, 工藤 匡浩, 小西 陽平, 白濱 亮, 平田 一樹, 矢野 純平, 山田 康博, 吉江 瞬

Publisher Resources

ISBN: 9784798189413