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
機械学習のための数学 〜1次方程式と線形変換, マージンの距離〜
Search
kkeeth
December 12, 2016
Science
3.8k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
機械学習のための数学 〜1次方程式と線形変換, マージンの距離〜
機械学習を学ぶ上で必要な数学の、「1次方程式」についての資料になります。先にベクトル・行列の計算ができる方が対象となりますのでご注意下さい。
kkeeth
December 12, 2016
Transcript
40 slides
Copyright© 2016 Leprachaun Corp. All Rights Reserved 機械学習のための数学 1次方程式と線形変換, マージンの距離
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 1次方程式
Copyright© 2016 Leprachaun Corp. All Rights Reserved 方程式とは
Copyright© 2016 Leprachaun Corp. All Rights Reserved 方程式とは この子らは2次方程式 この子らは1次方程式
Copyright© 2016 Leprachaun Corp. All Rights Reserved 方程式の次数
Copyright© 2016 Leprachaun Corp. All Rights Reserved 方程式の次数 最大値は「1」 最大値は「2」
Copyright© 2016 Leprachaun Corp. All Rights Reserved 1次方程式を視覚的に見てみよう!
Copyright© 2016 Leprachaun Corp. All Rights Reserved 1次方程式のグラフ
Copyright© 2016 Leprachaun Corp. All Rights Reserved 1次方程式のグラフ 切片と傾きを制すれば、 1次方程式を制す!
Copyright© 2016 Leprachaun Corp. All Rights Reserved 方程式はベクトルで表現できる!
Copyright© 2016 Leprachaun Corp. All Rights Reserved ベクトル方程式 このtを媒介変数と言う このdを方向ベクトルと言う
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 線形変換
Copyright© 2016 Leprachaun Corp. All Rights Reserved 線形変換(イメージ) A x y
x+y Ax Ay A(x+y) 手書きですみません…
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 線形変換:拡大・縮小 f 3 0
0 2 0 2b 3a 0
Copyright© 2016 Leprachaun Corp. All Rights Reserved 線形変換:回転 1 0 0
1 -sinθ cosθ cosθ sinθ f
Copyright© 2016 Leprachaun Corp. All Rights Reserved 線形変換:反転 f 1 0
0 1 0 1 -1 0
Copyright© 2016 Leprachaun Corp. All Rights Reserved 線形変換(余談1) 解き方に興味がある方は、 ガウスの消去法で調べて みてください!
Copyright© 2016 Leprachaun Corp. All Rights Reserved 線形変換(余談2) Googleで検索すると 「線型」 「線形」 上記の二つを目にすると思いますが,
どちらでも構いません. 昔は「線型」がよく使われていたのですが, 岩波書店などの書籍が「線形」に統一した ため, 現在は「線形」が主流になりました. 「函数」と「関数」 の違いみたいなものです.
Copyright© 2016 Leprachaun Corp. All Rights Reserved マージン(点と直線の距離)
Copyright© 2016 Leprachaun Corp. All Rights Reserved マージン(点と直線の距離):イメージ
Copyright© 2016 Leprachaun Corp. All Rights Reserved この距離がマージンd マージン(点と直線の距離):イメージ
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 ありがとうございました!
More Decks by kkeeth
See All by kkeeth
Programming to play with p5.js
clown0082
0
130
とある EM の初めての育休からの学び
clown0082
1
6.1k
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
690
JavaScript × Mathematics go to Digital Art
clown0082
1
490
In-house study group at YUMEMI
clown0082
0
250
Playing Ionic Logo by p5.js
clown0082
0
380
Other Decks in Science
See All in Science
データベース03: 関係データモデル
trycycle
PRO
1
960
データベース05: SQL(2/3) 結合質問
trycycle
PRO
0
1.4k
Controller Design for Symbolic Input-Output Systems Using Feedforward Neural Networks
konakalab
0
160
O(log n)-Approximation Algorithms for Bipartiteness Ratio
tasusu
0
320
CAD / B-rep の ML 解析と DreamCAD — ECCV 2026 読み会
daigo0927
0
380
明治薬科大学講義_ビッグデータ解析を支えるデータベース技術とクラウドコンピューティング
ktatsuya
1
220
自社のレビュー履歴からAIコードレビュアーをつくる方法
estie
5
2k
現代AI入門: 大規模言語モデルから思考するシステムへ — Test-Time Scaling, Loop, Harness, RSI
stillpedant
PRO
49
25k
機械学習 - K-means & 階層的クラスタリング
trycycle
PRO
0
2.4k
[Webinaire presse] Sécheresse 2026 : quelles conséquences techniques en élevage de ruminants et quels leviers d'action ?
institutdelelevage
PRO
0
390
Where does the rigor go? Research software and the future of trustworthy science.
arfon
0
430
機械学習 - K近傍法 & 機械学習のお作法
trycycle
PRO
1
1.7k
Featured
See All Featured
How to Talk to Developers About Accessibility
jct
2
620
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
460
Building Adaptive Systems
keathley
44
3.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
670
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
400
GraphQLとの向き合い方2022年版
quramy
50
15k
RailsConf 2023
tenderlove
30
1.6k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Building AI with AI
inesmontani
PRO
1
1.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k