Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
機械学習のための数学 〜1次方程式と線形変換, マージンの距離〜
Search
kkeeth
December 12, 2016
Science
2
3.5k
機械学習のための数学 〜1次方程式と線形変換, マージンの距離〜
機械学習を学ぶ上で必要な数学の、「1次方程式」についての資料になります。先にベクトル・行列の計算ができる方が対象となりますのでご注意下さい。
kkeeth
December 12, 2016
Tweet
Share
More Decks by kkeeth
See All by kkeeth
とある EM の初めての育休からの学び
clown0082
1
910
The history of Javascript frameworks: changes in front-end design philosophy
clown0082
2
130
Visually experience the beauty of mathematics with p5.js
clown0082
1
2.8k
Rediscover the joy of coding with Creative Coding
clown0082
0
1.4k
全員が意思決定する会社で開発者体験や生産性を見る大変さについて
clown0082
0
570
JavaScript × Mathematics go to Digital Art
clown0082
1
340
In-house study group at YUMEMI
clown0082
0
180
Playing Ionic Logo by p5.js
clown0082
0
240
Skills that employers recommend students to acquire
clown0082
1
280
Other Decks in Science
See All in Science
証明支援系LEANに入門しよう
unaoya
0
620
20240420 Global Azure 2024 | Azure Migrate でデータセンターのサーバーを評価&移行してみる
olivia_0707
2
990
統計学入門講座 第1回スライド
techmathproject
0
220
Reconciling Accuracy, Cost, and Latency of Inference Serving Systems
pjamshidi
0
120
Tensor Representations in Signal Processing and Machine Learning (Tutorial at APSIPA-ASC 2020)
yokotatsuya
0
110
The Incredible Machine: Developer Productivity and the Impact of AI
tomzimmermann
0
510
マクロ経済学の視点で、財政健全化は必要か
ryo18cm
2
130
眼科AIコンテスト2024_特別賞_6位Solution
pon0matsu
0
270
非同期コミュニケーションの構造 -チャットツールを用いた組織における情報の流れの設計について-
koisono
0
200
白金鉱業Meetup Vol.15 DMLによる条件付処置効果の推定_sotaroIZUMI_20240919
brainpadpr
2
670
05_山中真也_室蘭工業大学大学院工学研究科教授_だてプロの挑戦.pdf
sip3ristex
0
110
理論計算機科学における 数学の応用: 擬似ランダムネス
nobushimi
1
400
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
51
7.4k
Building Your Own Lightsaber
phodgson
104
6.2k
YesSQL, Process and Tooling at Scale
rocio
171
14k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
Done Done
chrislema
182
16k
Facilitating Awesome Meetings
lara
51
6.2k
Optimizing for Happiness
mojombo
376
70k
Building Adaptive Systems
keathley
40
2.4k
How STYLIGHT went responsive
nonsquared
98
5.3k
The Language of Interfaces
destraynor
156
24k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Transcript
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 ありがとうございました!