Skip to Content
詳説 Deep Learning ―実務者のためのアプローチ
book

詳説 Deep Learning ―実務者のためのアプローチ

by Josh Patterson, Adam Gibson, 本橋 和貴, 牧野 聡, 新郷 美紀
August 2019
Intermediate to advanced
608 pages
7h 46m
Japanese
O'Reilly Japan, Inc.
Content preview from 詳説 Deep Learning ―実務者のためのアプローチ

付録Dニューラルネットワークと誤差逆伝播:数学的アプローチ

Alex Black

D.1 導入

この付録では、ニューラルネットワークの訓練方法の基礎となる数学である誤差逆伝播アルゴリズム(backpropagation algorithm)を見ていきます。詳しく見ていく前に、一歩下がって、ニューラルネットワークを訓練する際に何をしようとしているか考えてみましょう。

過学習などの問題は別として、根本的には、ネットワークが正確な予測を生成するように、ニューラルネットワークのパラメーターを学習データに基づいて調整することを期待します。これに対する2つの構成要素が、正確な予測(accurate predictions)とパラメーターの調整(adjust the parameters)です。

いくつかの入力データを与えられて、サンプルのクラスをニューラルネットワークで予測するという、分類のタスクについて少し考えてみましょう。分類の予測がどれほど優れているかを定量化する方法は数多く存在します。精度、F1スコア、負の対数尤度などです。これらはどれも有効な尺度ですが、そのいくつかは他のものに比べて最適化が困難です。例えばネットワークの精度は、与えられた任意のパラメーターを少し変化させただけでは変化しない可能性があります。このように、勾配に基づく手法を使って精度の最適化を直接行うことはできません(つまり、「精度」は微分可能ではありません)。

逆に、別の尺度である負の対数尤度は、パラメーターの値を少し変えただけでも増減します。ネットワークによる予測の品質を定量化する尺度を、負の対数尤度のような微分可能な損失関数に限定し、ちょっとした微積分の計算を適用すると、ニューラルネットワークを学習するためのシンプルですっきりしたアルゴリズムができあがります。 ...

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

直感 Deep Learning ―Python×Kerasでアイデアを形にするレシピ

直感 Deep Learning ―Python×Kerasでアイデアを形にするレシピ

Antonio Gulli, Sujit Pal, 大串 正矢, 久保 隆宏, 中山 光樹
実践 自然言語処理 ―実世界NLPアプリケーション開発のベストプラクティス

実践 自然言語処理 ―実世界NLPアプリケーション開発のベストプラクティス

Sowmya Vajjala, Bodhisattwa Majumder, Anuj Gupta, Harshit Surana, 中山 光樹

Publisher Resources

ISBN: 9784873118802Other