SlideShare a Scribd company logo
2021 2 26
~
2 Copyright © 2021 Oracle and/or its affiliates.
•
•
• (NN)
•
•
•
• NN
•
•
3 Copyright © 2021 Oracle and/or its affiliates.
•
•
•
• Etc.
?%
4 Copyright © 2021 Oracle and/or its affiliates.
•
•
•
• K-means
• SVM
• etc.
•
5 Copyright © 2021 Oracle and/or its affiliates.
: Wikipedia
https://ja.wikipedia.org/wiki/%E7%A5%9E%E7%B5%8C%E7%B4%B0%E8%83%9E
• ニューロン:脳の神経細胞
• シナプス:ニューロンと他のニューロンとの接合部分
• シナプス結合:ニューロンから別のニューロンへ信号が伝達される状態
• 活性化:ニューロンが受け取った刺激の大きさが特定の大きさを超える
と、次のニューロンへと信号を伝達する。この状態を活性化と呼ぶ。
• 人工ニューロン(ノード):ニューロンに相当。重みとバイアスを持つ。
• エッジ:シナプス結合に相当。ノード間を接続する。
• 重み、バイアス:シナプス結合の強度。ノード間接続時の信号の大きさの
計算に利用される。
• 活性化関数:ノード間の信号の大きさを計算するための関数。次ノードへ
伝える値を決める関数。
6 Copyright © 2021 Oracle and/or its affiliates.
( )
𝑦 = 𝑓 ෍
𝑖=0
𝑛
𝑤𝑖𝑥𝑖 + 𝑏
𝑥0w0 + 𝑥1 w1 +… +𝑥𝑛𝑤𝑛 + 𝑏 =
b
input x w
n
𝑥0
𝑥1
𝑥2
w0
w1
𝑤2
y
𝑥𝑛
input
output
𝑏
0 ⇒ 1
0 ⇒ 0
• ⇒ 1 ⇒ 0
• ⇒ 1 ⇒ 0
• ⇒ 1 ⇒ 0
input output
• ⇒ 1
• ⇒ 0
→ 1
→ 0
→ 1
→ 2
→ 1
→ 3
→ 1
→ 3
→ 7
1*2 + 0*1 + 1*3 +3 = 8
7 ⇒ 1
7 ⇒ 0
)
7 Copyright © 2021 Oracle and/or its affiliates.
• (
)
•
• (
)
• (
)
•
𝑥0
𝑥1
𝑥2
w0
w1
𝑤2
y
𝑥𝑛
input
output
𝑏
)
65
80
70
A
45
60
98
B
65
55
80
C
65
70
63
1
3
2
40
38
43
8 Copyright © 2021 Oracle and/or its affiliates.
ReLU
Tanh
Sigmoid
Step
• 0
0 0
1
• NN (※
)
• 0 1
• 1
0
• -1 1
• 1
-1
• 0
0 0
• NN
9 Copyright © 2021 Oracle and/or its affiliates.
ReLU
Tanh
Sigmoid
Step
• 0
0 0
1
• NN (※
)
• 0 1
• 1
0
• -1 1
• 1
-1
• 0
0 0
• NN
( ) ( )
10 Copyright © 2021 Oracle and/or its affiliates.
Softmax
•
•
• ( )
(※ Sigmoid )
• 0 1
• 1
•
(※ )
11 Copyright © 2021 Oracle and/or its affiliates.
Softmax
ReLU
ReLU 0.8
Softmax
ReLU
ReLU 0.2
1
0
Cat or Tiger ?
( )
Cat
Tiger
𝑥0
𝑥1
𝑥2
𝑏 𝑏 𝑏
𝑏
𝑏
𝑏
w
w
w
w
w
w
w
w
w
w
w
w
w
w
[Cat, Tiger] = [1, 0]
100 pixel
60
pixel
w ( )
( )
( ) w ( )
12 Copyright © 2021 Oracle and/or its affiliates.
= ( )
= ( ) (w)
Softmax
ReLU
ReLU 0.8
Softmax
ReLU
ReLU 0.2
1
0
Cat or Tiger ?
( )
Cat
Tiger
𝑥0
𝑥1
𝑥2
𝑏 𝑏 𝑏
𝑏
𝑏
𝑏
w
w
w
w
w
w
w
w
w
w
w
w
w
w
[Cat, Tiger] = [1, 0]
100 pixel
60
pixel
( )
13 Copyright © 2021 Oracle and/or its affiliates.
( )
w
( )
14 Copyright © 2021 Oracle and/or its affiliates.
( )
≒(( ) – ( ))2
)
• 100
• A 90
• B 120
)
• ⇒ [Cat, Tiger] = [1, 0]
• A ⇒ [Cat, Tiger] = [0.8, 0.2]
• B ⇒ [Cat, Tiger] = [0.2, 0.8]
A
(1 x log0.8 + 0 x log0.2)
(log0.8)
(0.09)
0.09 ⇒
≒ log(( ) x ( ))
B
(1 x log0.2 + 0 x log0.8)
(log0.2)
(0.69)
0.69 ⇒
A
(100 - 90)2
100 ⇒
B
(100 - 120)2
400 ⇒
15 Copyright © 2021 Oracle and/or its affiliates.
(Stochastic Gradient Descent, SGD)
(w) (w) (w)
( ) )
(w)
16 Copyright © 2021 Oracle and/or its affiliates.
Stochastic Gradient Descent(SGD) w
momentumSGD SGD
AdaGrad SGD
RMSprop AdaGrad
AdaDelta SGD
Adaptive Moment Estimation(Adam) momentumSGD RMSprop
(SDG)
17 Copyright © 2021 Oracle and/or its affiliates.
18 Copyright © 2021 Oracle and/or its affiliates.
CNN ( )
• 28x28 /
• 6
•
0 9 0 9
• 28x28 /
• 1
•
19 Copyright © 2021 Oracle and/or its affiliates.
CNN
784
2
16 10
768
1
16
0
1
2
8
9
8
784 786
10 0 9 10
768 x 1
input
input
input
input
20 Copyright © 2021 Oracle and/or its affiliates.
•
•
•
•
•
•
•
•
W
W W
21 Copyright © 2021 Oracle and/or its affiliates.
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
•
( )
• w (
)
• w
22 Copyright © 2021 Oracle and/or its affiliates.
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
23 Copyright © 2021 Oracle and/or its affiliates.
24 Copyright © 2021 Oracle and/or its affiliates.
25 Copyright © 2021 Oracle and/or its affiliates.
: http://image-net.org
: https://cifar.ca/
• ImageNet
• 160 x 160 pixel
• 140
•
• CIFAR-10
• 32 x 32 pixel
• 5
•
• MobileNetV2
• 1000
• 10
W
W
W
※MobileNetV2by Google)
NN
?%
20210226[oracle code night] 機械学習入門:ディープラーニングの基礎から転移学習まで

More Related Content

What's hot

ベイズ最適化
ベイズ最適化ベイズ最適化
ベイズ最適化
MatsuiRyo
 
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
NTT DATA Technology & Innovation
 
CatBoost on GPU のひみつ
CatBoost on GPU のひみつCatBoost on GPU のひみつ
CatBoost on GPU のひみつ
Takuji Tahara
 
アプリケーション開発者のためのAzure Databricks入門
アプリケーション開発者のためのAzure Databricks入門アプリケーション開発者のためのAzure Databricks入門
アプリケーション開発者のためのAzure Databricks入門
Yoichi Kawasaki
 
各種データベースの特徴とパフォーマンス比較
各種データベースの特徴とパフォーマンス比較各種データベースの特徴とパフォーマンス比較
各種データベースの特徴とパフォーマンス比較
株式会社オプト 仙台ラボラトリ
 
OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)
OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)
OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)
オラクルエンジニア通信
 
Exadata X8M-2 KVM仮想化ベストプラクティス
Exadata X8M-2 KVM仮想化ベストプラクティスExadata X8M-2 KVM仮想化ベストプラクティス
Exadata X8M-2 KVM仮想化ベストプラクティス
オラクルエンジニア通信
 
とにかく分かりづらいTwelve-Factor Appの解説を試みる
とにかく分かりづらいTwelve-Factor Appの解説を試みるとにかく分かりづらいTwelve-Factor Appの解説を試みる
とにかく分かりづらいTwelve-Factor Appの解説を試みる
Masatoshi Tada
 
PlaySQLAlchemy: SQLAlchemy入門
PlaySQLAlchemy: SQLAlchemy入門PlaySQLAlchemy: SQLAlchemy入門
PlaySQLAlchemy: SQLAlchemy入門
泰 増田
 
BERT分類ワークショップ.pptx
BERT分類ワークショップ.pptxBERT分類ワークショップ.pptx
BERT分類ワークショップ.pptx
Kouta Nakayama
 
MLOps に基づく AI/ML 実運用最前線 ~画像、動画データにおける MLOps 事例のご紹介~(映像情報メディア学会2021年冬季大会企画セッショ...
MLOps に基づく AI/ML 実運用最前線 ~画像、動画データにおける MLOps 事例のご紹介~(映像情報メディア学会2021年冬季大会企画セッショ...MLOps に基づく AI/ML 実運用最前線 ~画像、動画データにおける MLOps 事例のご紹介~(映像情報メディア学会2021年冬季大会企画セッショ...
MLOps に基づく AI/ML 実運用最前線 ~画像、動画データにおける MLOps 事例のご紹介~(映像情報メディア学会2021年冬季大会企画セッショ...
NTT DATA Technology & Innovation
 
Apache Airflow入門 (マーケティングデータ分析基盤技術勉強会)
Apache Airflow入門  (マーケティングデータ分析基盤技術勉強会)Apache Airflow入門  (マーケティングデータ分析基盤技術勉強会)
Apache Airflow入門 (マーケティングデータ分析基盤技術勉強会)
Takeshi Mikami
 
推薦アルゴリズムの今までとこれから
推薦アルゴリズムの今までとこれから推薦アルゴリズムの今までとこれから
推薦アルゴリズムの今までとこれから
cyberagent
 
ResNetの仕組み
ResNetの仕組みResNetの仕組み
ResNetの仕組み
Kota Nagasato
 
Azure Kubernetes Service 2019 ふりかえり
Azure Kubernetes Service 2019 ふりかえりAzure Kubernetes Service 2019 ふりかえり
Azure Kubernetes Service 2019 ふりかえり
Toru Makabe
 
猫でも分かるVariational AutoEncoder
猫でも分かるVariational AutoEncoder猫でも分かるVariational AutoEncoder
猫でも分かるVariational AutoEncoder
Sho Tatsuno
 
生成モデルの Deep Learning
生成モデルの Deep Learning生成モデルの Deep Learning
生成モデルの Deep Learning
Seiya Tokui
 
MLOps入門
MLOps入門MLOps入門
MLOps入門
Hiro Mura
 
協調フィルタリング入門
協調フィルタリング入門協調フィルタリング入門
協調フィルタリング入門
hoxo_m
 
【解説】 一般逆行列
【解説】 一般逆行列【解説】 一般逆行列
【解説】 一般逆行列
Kenjiro Sugimoto
 

What's hot (20)

ベイズ最適化
ベイズ最適化ベイズ最適化
ベイズ最適化
 
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
 
CatBoost on GPU のひみつ
CatBoost on GPU のひみつCatBoost on GPU のひみつ
CatBoost on GPU のひみつ
 
アプリケーション開発者のためのAzure Databricks入門
アプリケーション開発者のためのAzure Databricks入門アプリケーション開発者のためのAzure Databricks入門
アプリケーション開発者のためのAzure Databricks入門
 
各種データベースの特徴とパフォーマンス比較
各種データベースの特徴とパフォーマンス比較各種データベースの特徴とパフォーマンス比較
各種データベースの特徴とパフォーマンス比較
 
OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)
OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)
OCI 購入モデルの整理と Universal Credit 最新情報(2021年2月17日版)
 
Exadata X8M-2 KVM仮想化ベストプラクティス
Exadata X8M-2 KVM仮想化ベストプラクティスExadata X8M-2 KVM仮想化ベストプラクティス
Exadata X8M-2 KVM仮想化ベストプラクティス
 
とにかく分かりづらいTwelve-Factor Appの解説を試みる
とにかく分かりづらいTwelve-Factor Appの解説を試みるとにかく分かりづらいTwelve-Factor Appの解説を試みる
とにかく分かりづらいTwelve-Factor Appの解説を試みる
 
PlaySQLAlchemy: SQLAlchemy入門
PlaySQLAlchemy: SQLAlchemy入門PlaySQLAlchemy: SQLAlchemy入門
PlaySQLAlchemy: SQLAlchemy入門
 
BERT分類ワークショップ.pptx
BERT分類ワークショップ.pptxBERT分類ワークショップ.pptx
BERT分類ワークショップ.pptx
 
MLOps に基づく AI/ML 実運用最前線 ~画像、動画データにおける MLOps 事例のご紹介~(映像情報メディア学会2021年冬季大会企画セッショ...
MLOps に基づく AI/ML 実運用最前線 ~画像、動画データにおける MLOps 事例のご紹介~(映像情報メディア学会2021年冬季大会企画セッショ...MLOps に基づく AI/ML 実運用最前線 ~画像、動画データにおける MLOps 事例のご紹介~(映像情報メディア学会2021年冬季大会企画セッショ...
MLOps に基づく AI/ML 実運用最前線 ~画像、動画データにおける MLOps 事例のご紹介~(映像情報メディア学会2021年冬季大会企画セッショ...
 
Apache Airflow入門 (マーケティングデータ分析基盤技術勉強会)
Apache Airflow入門  (マーケティングデータ分析基盤技術勉強会)Apache Airflow入門  (マーケティングデータ分析基盤技術勉強会)
Apache Airflow入門 (マーケティングデータ分析基盤技術勉強会)
 
推薦アルゴリズムの今までとこれから
推薦アルゴリズムの今までとこれから推薦アルゴリズムの今までとこれから
推薦アルゴリズムの今までとこれから
 
ResNetの仕組み
ResNetの仕組みResNetの仕組み
ResNetの仕組み
 
Azure Kubernetes Service 2019 ふりかえり
Azure Kubernetes Service 2019 ふりかえりAzure Kubernetes Service 2019 ふりかえり
Azure Kubernetes Service 2019 ふりかえり
 
猫でも分かるVariational AutoEncoder
猫でも分かるVariational AutoEncoder猫でも分かるVariational AutoEncoder
猫でも分かるVariational AutoEncoder
 
生成モデルの Deep Learning
生成モデルの Deep Learning生成モデルの Deep Learning
生成モデルの Deep Learning
 
MLOps入門
MLOps入門MLOps入門
MLOps入門
 
協調フィルタリング入門
協調フィルタリング入門協調フィルタリング入門
協調フィルタリング入門
 
【解説】 一般逆行列
【解説】 一般逆行列【解説】 一般逆行列
【解説】 一般逆行列
 

Similar to 20210226[oracle code night] 機械学習入門:ディープラーニングの基礎から転移学習まで

Deep learning study 2
Deep learning study 2Deep learning study 2
Deep learning study 2
San Kim
 
Computational Linguistics week 5
Computational Linguistics  week 5Computational Linguistics  week 5
Computational Linguistics week 5
Mark Chang
 
Data Smashing
Data SmashingData Smashing
Data Smashing
Ishanu Chattopadhyay
 
The Extraordinary World of Quantum Computing
The Extraordinary World of Quantum ComputingThe Extraordinary World of Quantum Computing
The Extraordinary World of Quantum Computing
Tim Ellison
 
Functional CNN in elixir
Functional CNN in elixirFunctional CNN in elixir
Functional CNN in elixir
Masayoshi Tamura
 
Quantum Computing 101, Part 1 - Hello Quantum World
Quantum Computing 101, Part 1 - Hello Quantum WorldQuantum Computing 101, Part 1 - Hello Quantum World
Quantum Computing 101, Part 1 - Hello Quantum World
AaronTurner9
 
Neural networks across space & time : Deep learning in java
Neural networks across space & time : Deep learning in javaNeural networks across space & time : Deep learning in java
Neural networks across space & time : Deep learning in java
Dave Snowdon
 
Deep Learning for New User Interactions (Gestures, Speech and Emotions)
Deep Learning for New User Interactions (Gestures, Speech and Emotions)Deep Learning for New User Interactions (Gestures, Speech and Emotions)
Deep Learning for New User Interactions (Gestures, Speech and Emotions)
Olivia Klose
 
Find nuclei in images with U-net
Find nuclei in images with U-netFind nuclei in images with U-net
Find nuclei in images with U-net
Ding Li
 
20190417 畳み込みニューラル ネットワークの基礎と応用
20190417 畳み込みニューラル ネットワークの基礎と応用20190417 畳み込みニューラル ネットワークの基礎と応用
20190417 畳み込みニューラル ネットワークの基礎と応用
Kazuki Motohashi
 
Lec10.pptx
Lec10.pptxLec10.pptx
Lec10.pptx
AbrahamTadesse11
 
Back propagation
Back propagationBack propagation
Back propagation
San Kim
 

Similar to 20210226[oracle code night] 機械学習入門:ディープラーニングの基礎から転移学習まで (12)

Deep learning study 2
Deep learning study 2Deep learning study 2
Deep learning study 2
 
Computational Linguistics week 5
Computational Linguistics  week 5Computational Linguistics  week 5
Computational Linguistics week 5
 
Data Smashing
Data SmashingData Smashing
Data Smashing
 
The Extraordinary World of Quantum Computing
The Extraordinary World of Quantum ComputingThe Extraordinary World of Quantum Computing
The Extraordinary World of Quantum Computing
 
Functional CNN in elixir
Functional CNN in elixirFunctional CNN in elixir
Functional CNN in elixir
 
Quantum Computing 101, Part 1 - Hello Quantum World
Quantum Computing 101, Part 1 - Hello Quantum WorldQuantum Computing 101, Part 1 - Hello Quantum World
Quantum Computing 101, Part 1 - Hello Quantum World
 
Neural networks across space & time : Deep learning in java
Neural networks across space & time : Deep learning in javaNeural networks across space & time : Deep learning in java
Neural networks across space & time : Deep learning in java
 
Deep Learning for New User Interactions (Gestures, Speech and Emotions)
Deep Learning for New User Interactions (Gestures, Speech and Emotions)Deep Learning for New User Interactions (Gestures, Speech and Emotions)
Deep Learning for New User Interactions (Gestures, Speech and Emotions)
 
Find nuclei in images with U-net
Find nuclei in images with U-netFind nuclei in images with U-net
Find nuclei in images with U-net
 
20190417 畳み込みニューラル ネットワークの基礎と応用
20190417 畳み込みニューラル ネットワークの基礎と応用20190417 畳み込みニューラル ネットワークの基礎と応用
20190417 畳み込みニューラル ネットワークの基礎と応用
 
Lec10.pptx
Lec10.pptxLec10.pptx
Lec10.pptx
 
Back propagation
Back propagationBack propagation
Back propagation
 

More from Kenichi Sonoda

Ocha_MLflow_MLOps.pdf
Ocha_MLflow_MLOps.pdfOcha_MLflow_MLOps.pdf
Ocha_MLflow_MLOps.pdf
Kenichi Sonoda
 
MLflowで学ぶMLOpsことはじめ
MLflowで学ぶMLOpsことはじめMLflowで学ぶMLOpsことはじめ
MLflowで学ぶMLOpsことはじめ
Kenichi Sonoda
 
機械学習基盤として活用するAutonomous Database
機械学習基盤として活用するAutonomous Database機械学習基盤として活用するAutonomous Database
機械学習基盤として活用するAutonomous Database
Kenichi Sonoda
 
[Oracle Code Night] Reinforcement Learning Demo Code
[Oracle Code Night] Reinforcement Learning Demo Code[Oracle Code Night] Reinforcement Learning Demo Code
[Oracle Code Night] Reinforcement Learning Demo Code
Kenichi Sonoda
 
20210831 code night はじめての強化学習
20210831 code night  はじめての強化学習20210831 code night  はじめての強化学習
20210831 code night はじめての強化学習
Kenichi Sonoda
 
20210531 ora jam_stackgan
20210531 ora jam_stackgan20210531 ora jam_stackgan
20210531 ora jam_stackgan
Kenichi Sonoda
 
20200402 oracle cloud infrastructure data science
20200402 oracle cloud infrastructure data science20200402 oracle cloud infrastructure data science
20200402 oracle cloud infrastructure data science
Kenichi Sonoda
 
[Oracle big data jam session #1] Apache Spark ことはじめ
[Oracle big data jam session #1] Apache Spark ことはじめ[Oracle big data jam session #1] Apache Spark ことはじめ
[Oracle big data jam session #1] Apache Spark ことはじめ
Kenichi Sonoda
 
Oracle cloud infrastructure shared file service comparison 20181019 ss
Oracle cloud infrastructure shared file service comparison 20181019 ssOracle cloud infrastructure shared file service comparison 20181019 ss
Oracle cloud infrastructure shared file service comparison 20181019 ss
Kenichi Sonoda
 
Oci file storage service deep dive 20181001 ss
Oci file storage service deep dive 20181001 ssOci file storage service deep dive 20181001 ss
Oci file storage service deep dive 20181001 ss
Kenichi Sonoda
 
Configureing analytics system with apache spark and object storage service of...
Configureing analytics system with apache spark and object storage service of...Configureing analytics system with apache spark and object storage service of...
Configureing analytics system with apache spark and object storage service of...
Kenichi Sonoda
 
Oci object storage deep dive 20190329 ss
Oci object storage deep dive 20190329 ssOci object storage deep dive 20190329 ss
Oci object storage deep dive 20190329 ss
Kenichi Sonoda
 

More from Kenichi Sonoda (12)

Ocha_MLflow_MLOps.pdf
Ocha_MLflow_MLOps.pdfOcha_MLflow_MLOps.pdf
Ocha_MLflow_MLOps.pdf
 
MLflowで学ぶMLOpsことはじめ
MLflowで学ぶMLOpsことはじめMLflowで学ぶMLOpsことはじめ
MLflowで学ぶMLOpsことはじめ
 
機械学習基盤として活用するAutonomous Database
機械学習基盤として活用するAutonomous Database機械学習基盤として活用するAutonomous Database
機械学習基盤として活用するAutonomous Database
 
[Oracle Code Night] Reinforcement Learning Demo Code
[Oracle Code Night] Reinforcement Learning Demo Code[Oracle Code Night] Reinforcement Learning Demo Code
[Oracle Code Night] Reinforcement Learning Demo Code
 
20210831 code night はじめての強化学習
20210831 code night  はじめての強化学習20210831 code night  はじめての強化学習
20210831 code night はじめての強化学習
 
20210531 ora jam_stackgan
20210531 ora jam_stackgan20210531 ora jam_stackgan
20210531 ora jam_stackgan
 
20200402 oracle cloud infrastructure data science
20200402 oracle cloud infrastructure data science20200402 oracle cloud infrastructure data science
20200402 oracle cloud infrastructure data science
 
[Oracle big data jam session #1] Apache Spark ことはじめ
[Oracle big data jam session #1] Apache Spark ことはじめ[Oracle big data jam session #1] Apache Spark ことはじめ
[Oracle big data jam session #1] Apache Spark ことはじめ
 
Oracle cloud infrastructure shared file service comparison 20181019 ss
Oracle cloud infrastructure shared file service comparison 20181019 ssOracle cloud infrastructure shared file service comparison 20181019 ss
Oracle cloud infrastructure shared file service comparison 20181019 ss
 
Oci file storage service deep dive 20181001 ss
Oci file storage service deep dive 20181001 ssOci file storage service deep dive 20181001 ss
Oci file storage service deep dive 20181001 ss
 
Configureing analytics system with apache spark and object storage service of...
Configureing analytics system with apache spark and object storage service of...Configureing analytics system with apache spark and object storage service of...
Configureing analytics system with apache spark and object storage service of...
 
Oci object storage deep dive 20190329 ss
Oci object storage deep dive 20190329 ssOci object storage deep dive 20190329 ss
Oci object storage deep dive 20190329 ss
 

Recently uploaded

UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
pavan998932
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
Gerardo Pardo-Castellote
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 

Recently uploaded (20)

UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 

20210226[oracle code night] 機械学習入門:ディープラーニングの基礎から転移学習まで

  • 2. 2 Copyright © 2021 Oracle and/or its affiliates. • • • (NN) • • • • NN • •
  • 3. 3 Copyright © 2021 Oracle and/or its affiliates. • • • • Etc. ?%
  • 4. 4 Copyright © 2021 Oracle and/or its affiliates. • • • • K-means • SVM • etc. •
  • 5. 5 Copyright © 2021 Oracle and/or its affiliates. : Wikipedia https://ja.wikipedia.org/wiki/%E7%A5%9E%E7%B5%8C%E7%B4%B0%E8%83%9E • ニューロン:脳の神経細胞 • シナプス:ニューロンと他のニューロンとの接合部分 • シナプス結合:ニューロンから別のニューロンへ信号が伝達される状態 • 活性化:ニューロンが受け取った刺激の大きさが特定の大きさを超える と、次のニューロンへと信号を伝達する。この状態を活性化と呼ぶ。 • 人工ニューロン(ノード):ニューロンに相当。重みとバイアスを持つ。 • エッジ:シナプス結合に相当。ノード間を接続する。 • 重み、バイアス:シナプス結合の強度。ノード間接続時の信号の大きさの 計算に利用される。 • 活性化関数:ノード間の信号の大きさを計算するための関数。次ノードへ 伝える値を決める関数。
  • 6. 6 Copyright © 2021 Oracle and/or its affiliates. ( ) 𝑦 = 𝑓 ෍ 𝑖=0 𝑛 𝑤𝑖𝑥𝑖 + 𝑏 𝑥0w0 + 𝑥1 w1 +… +𝑥𝑛𝑤𝑛 + 𝑏 = b input x w n 𝑥0 𝑥1 𝑥2 w0 w1 𝑤2 y 𝑥𝑛 input output 𝑏 0 ⇒ 1 0 ⇒ 0 • ⇒ 1 ⇒ 0 • ⇒ 1 ⇒ 0 • ⇒ 1 ⇒ 0 input output • ⇒ 1 • ⇒ 0 → 1 → 0 → 1 → 2 → 1 → 3 → 1 → 3 → 7 1*2 + 0*1 + 1*3 +3 = 8 7 ⇒ 1 7 ⇒ 0 )
  • 7. 7 Copyright © 2021 Oracle and/or its affiliates. • ( ) • • ( ) • ( ) • 𝑥0 𝑥1 𝑥2 w0 w1 𝑤2 y 𝑥𝑛 input output 𝑏 ) 65 80 70 A 45 60 98 B 65 55 80 C 65 70 63 1 3 2 40 38 43
  • 8. 8 Copyright © 2021 Oracle and/or its affiliates. ReLU Tanh Sigmoid Step • 0 0 0 1 • NN (※ ) • 0 1 • 1 0 • -1 1 • 1 -1 • 0 0 0 • NN
  • 9. 9 Copyright © 2021 Oracle and/or its affiliates. ReLU Tanh Sigmoid Step • 0 0 0 1 • NN (※ ) • 0 1 • 1 0 • -1 1 • 1 -1 • 0 0 0 • NN ( ) ( )
  • 10. 10 Copyright © 2021 Oracle and/or its affiliates. Softmax • • • ( ) (※ Sigmoid ) • 0 1 • 1 • (※ )
  • 11. 11 Copyright © 2021 Oracle and/or its affiliates. Softmax ReLU ReLU 0.8 Softmax ReLU ReLU 0.2 1 0 Cat or Tiger ? ( ) Cat Tiger 𝑥0 𝑥1 𝑥2 𝑏 𝑏 𝑏 𝑏 𝑏 𝑏 w w w w w w w w w w w w w w [Cat, Tiger] = [1, 0] 100 pixel 60 pixel w ( ) ( ) ( ) w ( )
  • 12. 12 Copyright © 2021 Oracle and/or its affiliates. = ( ) = ( ) (w) Softmax ReLU ReLU 0.8 Softmax ReLU ReLU 0.2 1 0 Cat or Tiger ? ( ) Cat Tiger 𝑥0 𝑥1 𝑥2 𝑏 𝑏 𝑏 𝑏 𝑏 𝑏 w w w w w w w w w w w w w w [Cat, Tiger] = [1, 0] 100 pixel 60 pixel ( )
  • 13. 13 Copyright © 2021 Oracle and/or its affiliates. ( ) w ( )
  • 14. 14 Copyright © 2021 Oracle and/or its affiliates. ( ) ≒(( ) – ( ))2 ) • 100 • A 90 • B 120 ) • ⇒ [Cat, Tiger] = [1, 0] • A ⇒ [Cat, Tiger] = [0.8, 0.2] • B ⇒ [Cat, Tiger] = [0.2, 0.8] A (1 x log0.8 + 0 x log0.2) (log0.8) (0.09) 0.09 ⇒ ≒ log(( ) x ( )) B (1 x log0.2 + 0 x log0.8) (log0.2) (0.69) 0.69 ⇒ A (100 - 90)2 100 ⇒ B (100 - 120)2 400 ⇒
  • 15. 15 Copyright © 2021 Oracle and/or its affiliates. (Stochastic Gradient Descent, SGD) (w) (w) (w) ( ) ) (w)
  • 16. 16 Copyright © 2021 Oracle and/or its affiliates. Stochastic Gradient Descent(SGD) w momentumSGD SGD AdaGrad SGD RMSprop AdaGrad AdaDelta SGD Adaptive Moment Estimation(Adam) momentumSGD RMSprop (SDG)
  • 17. 17 Copyright © 2021 Oracle and/or its affiliates.
  • 18. 18 Copyright © 2021 Oracle and/or its affiliates. CNN ( ) • 28x28 / • 6 • 0 9 0 9 • 28x28 / • 1 •
  • 19. 19 Copyright © 2021 Oracle and/or its affiliates. CNN 784 2 16 10 768 1 16 0 1 2 8 9 8 784 786 10 0 9 10 768 x 1 input input input input
  • 20. 20 Copyright © 2021 Oracle and/or its affiliates. • • • • • • • • W W W
  • 21. 21 Copyright © 2021 Oracle and/or its affiliates. w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w • ( ) • w ( ) • w
  • 22. 22 Copyright © 2021 Oracle and/or its affiliates. w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w
  • 23. 23 Copyright © 2021 Oracle and/or its affiliates.
  • 24. 24 Copyright © 2021 Oracle and/or its affiliates.
  • 25. 25 Copyright © 2021 Oracle and/or its affiliates. : http://image-net.org : https://cifar.ca/ • ImageNet • 160 x 160 pixel • 140 • • CIFAR-10 • 32 x 32 pixel • 5 • • MobileNetV2 • 1000 • 10 W W W ※MobileNetV2by Google) NN ?%