Skip to Content
ゼロから作るDeep Learning ―Pythonで学ぶディープラーニングの理論と実装
book

ゼロから作るDeep Learning ―Pythonで学ぶディープラーニングの理論と実装

by 斎藤 康毅
September 2016
Intermediate to advanced
320 pages
4h 31m
Japanese
O'Reilly Japan, Inc.
Content preview from ゼロから作るDeep Learning ―Pythonで学ぶディープラーニングの理論と実装

3章ニューラルネットワーク

前章ではパーセプトロンについて学びましたが、パーセプトロンについては良いニュースと悪いニュースがありました。良いニュースとは、パーセプトロンは複雑な関数であっても、それを表現できるだけの可能性を秘めているということです。たとえば、コンピュータが行うような複雑そうな処理であっても、パーセプトロンは(理論上)表現できることを前章で説明しました。悪いニュースは、重みを設定する作業——期待する入力と出力を満たすように適切な重みを決める作業——は、今のところ人の手によって行われているということです。前章では、ANDやORゲートの真理値表を見ながら、私たち人間が適切な重みを決めました。

ニューラルネットワークは、先の悪いニュースを解決するためにあります。具体的に言うと、適切な重みパラメータをデータから自動で学習できるというのがニューラルネットワークの重要な性質のひとつです。本章では、ニューラルネットワークの概要を説明し、ニューラルネットワークが識別を行う際の処理に焦点を当てます。そして、次章にて、データから重みパラメータを学習する方法を学びます。

3.1 パーセプトロンからニューラルネットワークへ

ニューラルネットワークは、前章で説明したパーセプトロンと共通する点が多くあります。ここでは、前章のパーセプトロンと異なる点を中心に、ニューラルネットワークの仕組みを解説していきます。

3.1.1 ニューラルネットワークの例

ニューラルネットワークを図で表すと、図3-1のようになります。ここで、一番左の列を入力層、一番右の列を出力層、中間の列を中間層と呼びます。中間層は隠れ層と呼ぶこともあります。「隠れ」という言葉は、隠れ層のニューロンが(入力層や出力層とは違って)人の目には見えない、ということを表しています。なお、本書では、入力層から出力層へ向かって、順に第0層、第1層、第2層と呼ぶことにします(層の番号を0から開始する理由は、後ほどPythonで実装する際に都合が良いためです)。 ...

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 ❻ ―LLM編

ゼロから作るDeep Learning ❻ ―LLM編

斎藤 康毅

Publisher Resources

ISBN: 9784873117584Other