Giter VIP home page Giter VIP logo

deep-learning-from-scratch's Introduction

ゼロから作る Deep Learning


表紙


本リポジトリはオライリー・ジャパン発行書籍『ゼロから作る Deep Learning』のサポートサイトです。

ファイル構成

フォルダ名 説明
ch01 1章で使用するソースコード
ch02 2章で使用するソースコード
... ...
ch08 8章で使用するソースコード
common 共通で使用するソースコード
dataset データセット用のソースコード

ソースコードの解説は本書籍をご覧ください。

必要条件

ソースコードを実行するには、下記のソフトウェアがインストールされている必要があります。

  • Python 3.x
  • NumPy
  • Matplotlib

※Pythonのバージョンは、3系を利用します。

実行方法

各章のフォルダへ移動して、Pythonコマンドを実行します。

$ cd ch01
$ python man.py

$ cd ../ch05
$ python train_nueralnet.py

ライセンス

本リポジトリのソースコードはMITライセンスです。 商用・非商用問わず、自由にご利用ください。

正誤表

下記の誤りがありました。お詫びして訂正いたします。

本ページに掲載されていない誤植など間違いを見つけた方は、japan@oreilly.co.jpまでお知らせください。

第4刷まで

目次、5章、索引 連鎖率 連鎖律

第3刷まで

3章 P.76 L.4 ch03/nueralnet_mnist.py ch03/neuralnet_mnist.py
4章 P.89 L.19 >>> y = [0.1, 0.05, 0.1, 0.0, 0.05, 0.1, 0.0, 0.6, 0.5, 0.0]
>>> mean_squared_error(np.array(y), np.array(t))
0.72250000000000003
>>> y = [0.1, 0.05, 0.1, 0.0, 0.05, 0.1, 0.0, 0.6, 0.0, 0.0]
>>> mean_squared_error(np.array(y), np.array(t))
0.59750000000000003
4章 P.91 L.15 >>> y = [0.1, 0.05, 0.1, 0.0, 0.05, 0.1, 0.0, 0.6, 0.5, 0.0]
>>> cross_entropy_error(np.array(y), np.array(t))
2.3025850919940458
>>> y = [0.1, 0.05, 0.1, 0.0, 0.05, 0.1, 0.0, 0.6, 0.0, 0.0]
>>> cross_entropy_error(np.array(y), np.array(t))
2.3025840929945458
4章 P.117 L.29 ch04/train_nueralnet.py ch04/train_neuralnet.py
4章 P.118 L.7 # ハイパーパラメータ
iters_num = 10000
batch_size = 100
learning_rate = 0.1
# ハイパーパラメータ
iters_num = 10000
train_size = x_train.shape[0]
batch_size = 100
learning_rate = 0.1
5章 P.127 L.23 各ノードでは単純な計算をに集中することで、 各ノードでは単純な計算に集中することで、
5章 P.162 L.19 ch05/train_nueralnet.py ch05/train_neuralnet.py

第2刷まで

2章 P.24 L.1 両方が1のときだけ0を出力し、それ以外は0を出力します。 両方が1のときだけ0を出力し、それ以外は1を出力します。

第1刷

7章 P.227 図7-20 誤 正

deep-learning-from-scratch's People

Contributors

koki0702 avatar miyagawa-orj avatar

Watchers

James Cloos avatar YTorii avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.