Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
機械学習のための数学 〜ベクトルと行列の意味と計算〜
Search
kkeeth
December 12, 2016
Science
2.4k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
機械学習のための数学 〜ベクトルと行列の意味と計算〜
機械学習を学ぶ上で必要となる、「ベクトル」と「行列」についてのスライドになります。ベクトル同士・行列同士の計算、内積の計算ができることが目標です。
kkeeth
December 12, 2016
More Decks by kkeeth
See All by kkeeth
Programming to play with p5.js
clown0082
0
120
とある EM の初めての育休からの学び
clown0082
1
6k
The history of Javascript frameworks: changes in front-end design philosophy
clown0082
2
260
Visually experience the beauty of mathematics with p5.js
clown0082
1
3.4k
Rediscover the joy of coding with Creative Coding
clown0082
0
2k
全員が意思決定する会社で開発者体験や生産性を見る大変さについて
clown0082
0
680
JavaScript × Mathematics go to Digital Art
clown0082
1
480
In-house study group at YUMEMI
clown0082
0
250
Playing Ionic Logo by p5.js
clown0082
0
370
Other Decks in Science
See All in Science
機械学習 - 決定木からはじめる機械学習
trycycle
PRO
0
1.7k
データベース02: データベースの概念
trycycle
PRO
2
1.4k
Cross-Media Technologies, Information Science and Human-Information Interaction
signer
PRO
3
33k
バランスって大事だね
akasan
1
160
データベース10: 拡張実体関連モデル
trycycle
PRO
0
1.6k
AI(人工知能)の過去・現在・未来 ~AIは人類を越えるのか~
tagtag
PRO
0
170
1. CPC理論の展開と集合的知能モデル(JSAI2026 KS-27 集合的予測符号化と新たな知性の時代)
hayashiyus884
1
410
CVPR2026_VGGTとその仲間たち
mickey_0226
0
1.2k
因果探索の発展と展望
sshimizu2006
2
1.2k
ゲームと人工知能
miyayou
0
260
東北地方における過去20年間の降水量の変化
naokimuroki
1
560
科学で迫る勝敗の法則-スポーツデータ分析の最前線 (刈谷市連携講座.2026年7月) / The principle of victory discovered by science. at Kariya City, 2027.07
konakalab
0
200
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
247
13k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
730
Scaling GitHub
holman
464
140k
How STYLIGHT went responsive
nonsquared
100
6.3k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Skip the Path - Find Your Career Trail
mkilby
1
250
Embracing the Ebb and Flow
colly
88
5.2k
Ethics towards AI in product and experience design
skipperchong
2
420
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
300
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
370
Transcript
Copyright© 2016 Leprachaun Corp. All Rights Reserved 機械学習のための数学 ベクトルと行列の意味と計算
Copyright© 2016 Leprachaun Corp. All Rights Reserved 自己紹介 var my_info =
{ name : ‘Kiyohito Kuwahara’, twitter: ‘@kuwahara_jsri(ちょこちょこ変わります)’, github : ‘k-kuwahara’, qiita : ‘@clown0082’, workplace: ‘Leprachaun Corp.’ }
Copyright© 2016 Leprachaun Corp. All Rights Reserved ベクトル
Copyright© 2016 Leprachaun Corp. All Rights Reserved ベクトルとは
Copyright© 2016 Leprachaun Corp. All Rights Reserved 単位ベクトル
Copyright© 2016 Leprachaun Corp. All Rights Reserved ベクトルの和、差
Copyright© 2016 Leprachaun Corp. All Rights Reserved ベクトルの和の性質
Copyright© 2016 Leprachaun Corp. All Rights Reserved ベクトルのスカラー倍
Copyright© 2016 Leprachaun Corp. All Rights Reserved ベクトルの大きさ(ノルム)
Copyright© 2016 Leprachaun Corp. All Rights Reserved ベクトルの内積
Copyright© 2016 Leprachaun Corp. All Rights Reserved ベクトルの積(外積)・商について 結論から述べると, 今回はベクトルの積(外積), 商については扱わない.
・積(外積)について 「外積」というものが存在するが, 今回は不要と判断. ※興味のある方はGoogle先生にお聞き下さいw ・商について ベクトルについては「商」が定義できないため, 扱えないことが理由となる. 厳密には, あるベクトルの逆元が一意に定まらないからだが, この議論は話がそれるため割愛.
Copyright© 2016 Leprachaun Corp. All Rights Reserved ベクトルの転置
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列とは(1)
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列とは(2)
Copyright© 2016 Leprachaun Corp. All Rights Reserved 単位行列
Copyright© 2016 Leprachaun Corp. All Rights Reserved 単位行列
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の和・差
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列のスカラー倍
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の和とスカラー倍の性質
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(1)
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(1) なんでこんな計算の仕方なの?
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(余談) 問題) 工場Aでは「車」と「トラック」を製造している. それぞれを1台製造するのに必要な人員は以下.
・車の製造 :専門技術者3人, 作業員5人 ・トラックの製造:専門技術者4人, 作業員8人 では車2台, トラック3台を製造するのに必要な専門技術者, 作業員は何名? (http://www.slideshare.net/taketo1024/ss-44063603 より ※多少変更点有り)
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(余談) 答え) 2 × (専門技術者:3人 + 作業員:5人): 車2台
+) 3 × (専門技術者:4人 + 作業員:8人): トラック3台 専門技術者: (2×3 + 3×4) = 18人 作業員: (2×5 + 3×8) = 34人 (http://www.slideshare.net/taketo1024/ss-44063603 より ※多少変更点有り) 専門技術者 作業員 車 3人/台 5人/台 トラック 4人/台 8人/台
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(余談) 答え) 2 × (専門技術者:3人 + 作業員:5人): 車2台
+) 3 × (専門技術者:4人 + 作業員:8人): トラック3台 専門技術者: (2×3 + 3×4) = 18人 作業員: (2×5 + 3×8) = 34人 (http://www.slideshare.net/taketo1024/ss-44063603 より ※多少変更点有り) 専門技術者 作業員 車 3人/台 5人/台 トラック 4人/台 8人/台
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(余談) 行列の積で書き直すと…
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(余談) 専門技術者 作業員
車 3人/台 5人/台 トラック 4人/台 8人/台 車, トラック 専門技術者, 作業員
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(余談) 専門技術者 作業員
車 3人/台 5人/台 トラック 4人/台 8人/台 車, トラック 専門技術者, 作業員
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(余談) 専門技術者 作業員
車 3人/台 5人/台 トラック 4人/台 8人/台 車, トラック 専門技術者, 作業員
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(1) では話を戻します.
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(2)
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(2) 対応する行が 存在しない!
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(3)
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(3) 行列の積を計算する際は、 右からか、左からかに注意する!
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の積(4)
Copyright© 2016 Leprachaun Corp. All Rights Reserved ベクトルと行列の積
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の転置(1)
Copyright© 2016 Leprachaun Corp. All Rights Reserved 行列の転置(2)
Copyright© 2016 Leprachaun Corp. All Rights Reserved 復習
Copyright© 2016 Leprachaun Corp. All Rights Reserved 復習 ・ベクトルとは?単位ベクトルとは? ・ベクトルの「ノルム」とは? ・ベクトルの「内積」はどう計算する?
・行列とは?単位行列とは? ・行列の掛け算はどう計算する? ・どういう時行列は掛け算ができない?
Copyright© 2016 Leprachaun Corp. All Rights Reserved 以上です。
Copyright© 2016 Leprachaun Corp. All Rights Reserved ありがとうございました!