SlideShare a Scribd company logo
Tomomi Research Inc.
Ch01. Python
(Python入門)
2012/03/13 (Mon)
Seong-Hun Choe
Tomomi Research Inc.
関数
2017/9/11
Tomomi Research Inc.
Class
2017/9/11
class Man:
"""サンプルクラス"""
def __init__(self, name):
self.name = name
print("Initilized!")
def hello(self):
print("Hello " + self.name + "!")
def goodbye(self):
print("Good-bye " + self.name + "!")
m = Man("David")
m.hello()
m.goodbye()
C:/Users/SChoe672007022/Dropbox
/Python/deep-learning-from-
scratch-master/ch01/man.py
Initilized!
Hello David!
Good-bye David!
Process finished with exit code 0
Tomomi Research Inc.
Perceptron -> Neural Network
2017/9/11
中間層:Hidden Layer
Tomomi Research Inc.
Review: Perceptron
2017/9/11
Tomomi Research Inc.
Review: Perceptron : Activate Function
2017/9/11
Tomomi Research Inc.
Activate Function
活性化関数:閾値を境にして出力が切り替わる関数。
2017/9/11
1. Step Function 2. Sigmoid Function
Tomomi Research Inc.
Activate Function : New Star
2017/9/11
3. ReLu Function
ReLU : Rectified Linear Unit
ダイオードのIV特性の似ているから
Tomomi Research Inc.
Multiplying the Matrix
2017/9/11
Tomomi Research Inc.
Neural Network
2017/9/11
[X] [W] [Y]
𝑋 =
𝑋1
𝑋2
𝑊 =
1 3 5
2 4 6
𝑌 =
𝑌1
𝑌2
𝑌3
[X][W] = [Y]
𝑋1
𝑋2
1 3 5
2 4 6
=
𝑌1
𝑌2
𝑌3
Tomomi Research Inc.
3 Layer Neural Network
2017/9/11
Input layer
(Oth layer)
1st hidden layer
(1st layer)
2nd hidden layer
(2nd layer)
Output layer
(3rd layer)
Tomomi Research Inc.
3 Layer Neural Network
2017/9/11
Original Adding bias Adding Activate function
Tomomi Research Inc.
Activate function on output layer
2017/9/11
• 機械学習の問題は、大きく分けて2種類
1. 回帰問題 (Regression )
2. 分類問題 (Classfication)
活性化関数σ
回帰問題 恒等関数
分類問題
分類 シグモイド関数
多重分類
ソフトマックス
関数
Tomomi Research Inc.
Activate function on output layer
2017/9/11
活性化関数σ
回帰問題 恒等関数
分類問題
分類 シグモイド関数
多重分類
ソフトマックス
関数
回帰問題: 入力データから連続的数値を
予測する問題。
例えば、写真に写っている人物の体重
(54.7kg)を予測する。
恒等関数
Tomomi Research Inc.
Activate function on output layer
2017/9/11
活性化関数σ
回帰問題 恒等関数
分類問題
分類 シグモイド関数
多重分類
ソフトマックス
関数
ソフトマックス関数
分類問題 : 被測定物がどのクラスに属している
かを判断する問題。
例:写真の動物をみて、その種類を判別する。
猫:95% , 犬:1% , イルカ:0.5% , 虎:3.5%
Tomomi Research Inc.
Number of neurons at output layer
2017/9/11
In case of reading handwriting numbers.
the # of neurons will be 10. (0,1,2,… 9)
Tomomi Research Inc.
いよいよMNIST
2017/9/11
Handwritten digits :
forward propagation in neural network
https://rstudio.github.io/tensorflow/tutorial_mnist_beginners.html
* Mixed National Institute of Standards and Technology
database
Tomomi Research Inc.
Training with Python
2017/9/11
Tomomi Research Inc.
Summary
1. Activate function at NN : Sigmoid, ReLU function
2. 回帰問題、 分類問題
3. 出力層の活性化関数:回帰問題 恒等関数、 分類問題 ソフトマックス関数
4. 分類問題での、出力層のニューロンの数
5. MNIST実装
2017/9/11

More Related Content

PDF
Go言語入門者が Webアプリケーション を作ってみた話 #devfest #gdgkyoto
PDF
テキスト型Domain Specific Language (DSL) 開発フレームワークXtext の紹介
ODP
Introduction of Python
KEY
ひのきのぼうだけで全クリ目指す
PDF
Python東海GAEやってみた
PDF
TypeScript と Visual Studio Code
PPTX
「機械学習とは?」から始める Deep learning実践入門
PDF
DEV-011_TypeScript ~Any browser. Any host. Any OS. Open Source~
Go言語入門者が Webアプリケーション を作ってみた話 #devfest #gdgkyoto
テキスト型Domain Specific Language (DSL) 開発フレームワークXtext の紹介
Introduction of Python
ひのきのぼうだけで全クリ目指す
Python東海GAEやってみた
TypeScript と Visual Studio Code
「機械学習とは?」から始める Deep learning実践入門
DEV-011_TypeScript ~Any browser. Any host. Any OS. Open Source~

More from Seong-Hun Choe (15)

PDF
AIFrienz_Webinar_Tomomi_Research_Inc).pdf
PPTX
Tensor Explained
PPTX
Installing tensorflow object detection on raspberry pi
PDF
TD4 Assembly Instruction
PDF
4bit-CPU : TD4の解説
PPTX
딥러닝 추천교재 및 강좌
PPTX
Python : Class
PPTX
Python : for文の解説
PDF
NVIDIA ディープラーニング入門
PPTX
DC-DC-Converter Evaluation Report
PPTX
LTSpice : How to import the transistor spice model
PPTX
RF Power Amplifier Tutorial (2) Class A, B and C
PPTX
RF Power Amplifier Tutorial (1)
PPTX
Impedance matching of the RF sputtering system
PPTX
Introduction of the Wireless Power Transfer System using Inductive resonant ...
AIFrienz_Webinar_Tomomi_Research_Inc).pdf
Tensor Explained
Installing tensorflow object detection on raspberry pi
TD4 Assembly Instruction
4bit-CPU : TD4の解説
딥러닝 추천교재 및 강좌
Python : Class
Python : for文の解説
NVIDIA ディープラーニング入門
DC-DC-Converter Evaluation Report
LTSpice : How to import the transistor spice model
RF Power Amplifier Tutorial (2) Class A, B and C
RF Power Amplifier Tutorial (1)
Impedance matching of the RF sputtering system
Introduction of the Wireless Power Transfer System using Inductive resonant ...
Ad

20170315 deeplearning from_scratch_ch01

  • 1. Tomomi Research Inc. Ch01. Python (Python入門) 2012/03/13 (Mon) Seong-Hun Choe
  • 3. Tomomi Research Inc. Class 2017/9/11 class Man: """サンプルクラス""" def __init__(self, name): self.name = name print("Initilized!") def hello(self): print("Hello " + self.name + "!") def goodbye(self): print("Good-bye " + self.name + "!") m = Man("David") m.hello() m.goodbye() C:/Users/SChoe672007022/Dropbox /Python/deep-learning-from- scratch-master/ch01/man.py Initilized! Hello David! Good-bye David! Process finished with exit code 0
  • 4. Tomomi Research Inc. Perceptron -> Neural Network 2017/9/11 中間層:Hidden Layer
  • 5. Tomomi Research Inc. Review: Perceptron 2017/9/11
  • 6. Tomomi Research Inc. Review: Perceptron : Activate Function 2017/9/11
  • 7. Tomomi Research Inc. Activate Function 活性化関数:閾値を境にして出力が切り替わる関数。 2017/9/11 1. Step Function 2. Sigmoid Function
  • 8. Tomomi Research Inc. Activate Function : New Star 2017/9/11 3. ReLu Function ReLU : Rectified Linear Unit ダイオードのIV特性の似ているから
  • 9. Tomomi Research Inc. Multiplying the Matrix 2017/9/11
  • 10. Tomomi Research Inc. Neural Network 2017/9/11 [X] [W] [Y] 𝑋 = 𝑋1 𝑋2 𝑊 = 1 3 5 2 4 6 𝑌 = 𝑌1 𝑌2 𝑌3 [X][W] = [Y] 𝑋1 𝑋2 1 3 5 2 4 6 = 𝑌1 𝑌2 𝑌3
  • 11. Tomomi Research Inc. 3 Layer Neural Network 2017/9/11 Input layer (Oth layer) 1st hidden layer (1st layer) 2nd hidden layer (2nd layer) Output layer (3rd layer)
  • 12. Tomomi Research Inc. 3 Layer Neural Network 2017/9/11 Original Adding bias Adding Activate function
  • 13. Tomomi Research Inc. Activate function on output layer 2017/9/11 • 機械学習の問題は、大きく分けて2種類 1. 回帰問題 (Regression ) 2. 分類問題 (Classfication) 活性化関数σ 回帰問題 恒等関数 分類問題 分類 シグモイド関数 多重分類 ソフトマックス 関数
  • 14. Tomomi Research Inc. Activate function on output layer 2017/9/11 活性化関数σ 回帰問題 恒等関数 分類問題 分類 シグモイド関数 多重分類 ソフトマックス 関数 回帰問題: 入力データから連続的数値を 予測する問題。 例えば、写真に写っている人物の体重 (54.7kg)を予測する。 恒等関数
  • 15. Tomomi Research Inc. Activate function on output layer 2017/9/11 活性化関数σ 回帰問題 恒等関数 分類問題 分類 シグモイド関数 多重分類 ソフトマックス 関数 ソフトマックス関数 分類問題 : 被測定物がどのクラスに属している かを判断する問題。 例:写真の動物をみて、その種類を判別する。 猫:95% , 犬:1% , イルカ:0.5% , 虎:3.5%
  • 16. Tomomi Research Inc. Number of neurons at output layer 2017/9/11 In case of reading handwriting numbers. the # of neurons will be 10. (0,1,2,… 9)
  • 17. Tomomi Research Inc. いよいよMNIST 2017/9/11 Handwritten digits : forward propagation in neural network https://rstudio.github.io/tensorflow/tutorial_mnist_beginners.html * Mixed National Institute of Standards and Technology database
  • 18. Tomomi Research Inc. Training with Python 2017/9/11
  • 19. Tomomi Research Inc. Summary 1. Activate function at NN : Sigmoid, ReLU function 2. 回帰問題、 分類問題 3. 出力層の活性化関数:回帰問題 恒等関数、 分類問題 ソフトマックス関数 4. 分類問題での、出力層のニューロンの数 5. MNIST実装 2017/9/11