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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
110
とある EM の初めての育休からの学び
clown0082
1
5.9k
The history of Javascript frameworks: changes in front-end design philosophy
clown0082
2
250
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
670
JavaScript × Mathematics go to Digital Art
clown0082
1
470
In-house study group at YUMEMI
clown0082
0
240
Playing Ionic Logo by p5.js
clown0082
0
360
Other Decks in Science
See All in Science
人生を変えた一冊「独学大全」のはなし / Self-study ENCYCLOPEDIA: The Book Which Change My Life #独学大全 #EM推し本
expajp
0
210
科学で迫る勝敗の法則-スポーツデータ分析の最前線 (刈谷市連携講座.2026年7月) / The principle of victory discovered by science. at Kariya City, 2027.07
konakalab
0
160
機械学習 - ニューラルネットワーク入門
trycycle
PRO
0
1.2k
バランスって大事だね
akasan
1
140
プロジェクト「Azayaka」のSARの数式とジオメトリ
syuchimu
0
460
Utiliser Bitcoin sans Internet
rlifchitz
0
370
機械学習 - DBSCAN
trycycle
PRO
0
2.1k
因果推論と機械学習
sshimizu2006
1
1.4k
Cross-Media Technologies, Information Science and Human-Information Interaction
signer
PRO
3
33k
Visual Linear Algebra - Lecture at Shosen Grande
hiranabe
0
460
医療 LLM ベンチマークの現在地:多面的評価 と日本ローカライズ
analokmaus
1
690
20260722【JAWS-UG東京 ランチタイムLT会 #37④】AWS Well-Architectedフレームワークに沿った回答をするAIエージェントを作ってみた
nozakijcom
1
140
Featured
See All Featured
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
430
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
690
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
From π to Pie charts
rasagy
0
360
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
How to build a perfect <img>
jonoalderson
1
6k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
How to train your dragon (web standard)
notwaldorf
97
6.8k
Done Done
chrislema
186
16k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
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 ありがとうございました!