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
ML Session n°3
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Adrien Couque
March 08, 2017
Technology
100
0
Share
ML Session n°3
Adrien Couque
March 08, 2017
More Decks by Adrien Couque
See All by Adrien Couque
A roadmap to psychohistory
acq
0
100
ML Session n°8
acq
0
63
ML Session n°7
acq
0
26
ML Session n°6
acq
0
34
ML Session n°5
acq
0
60
ML Session n°4
acq
0
37
ML Session n°2
acq
1
90
ML Session n°1
acq
0
93
Intro to Machine Learning for Android developers
acq
0
200
Other Decks in Technology
See All in Technology
ビジュアルプログラミングIoTLT vol.23
1ftseabass
PRO
0
130
Splunk MCPサーバの利活用事例 ーKINTOテクノロジーズの取り組み
kintotechdev
1
320
シンデレラなんかになりたくない!ガラスの靴が割れた時代にどう歩く?
nomizone
0
200
食べログのサーキットブレーカー導入を振り返って
atpons
0
110
RubyでRuby拡張を書いたらRubyより35倍速になったってどういうこと??
kazuho
3
620
Claude Codeですべての日常業務を爆速化しよう!
minorun365
PRO
15
14k
TypeScript の型で副作用の実行順序を制御する
yanaemon
2
210
インフラが苦手でも大丈夫! 紙芝居 Kubernetes -WWGT 10周年編-
aoi1
1
150
long-running-tasks
cipepser
2
360
Amazon Bedrock 経由の Claude Cowork を試してみよう・MCP にも繋いでみよう
sugimomoto
0
190
個人AIからチームAIへ:開発における品質と生産性の再設計
moongift
PRO
0
120
自称宇宙最速で不合格となったAIP-C01にリベンジを果たすべくAIで問題集アプリを作ってみた。
yama3133
0
190
Featured
See All Featured
Crafting Experiences
bethany
1
160
Faster Mobile Websites
deanohume
310
31k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
550
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.5k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
210
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Color Theory Basics | Prateek | Gurzu
gurzu
0
320
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
4 Signs Your Business is Dying
shpigford
187
22k
The Curious Case for Waylosing
cassininazir
1
360
Transcript
ML: regression March 2017
Notations : Scalar (number) : Vector : Matrix : Transpose
of matrix X : Mean of vectors x : Estimate of vector value x
Simple linear regression
Solving simple linear regression Goal : find the best and
for Best ? Minimize the square residuals (least squares)
Solving simple linear regression: finding the best estimates for a
and b
Demo 1
Multivariate linear regression
Demo 2
Polynomial regression
Trick : still a linear regression ! Just create additional
columns, derived from pre-existing ones Then it comes back to a linear regression
Demo 3
Gradient descent
Gradient descent
Gradient descent
Normal equation vs gradient descent Normal equation Gradient descent No
additional parameters Need to choose a learning step No loop Needs to iterate : for inverse Slow if is large Works well when is large In practice : n < 10.000 ⇔ normal equation
Logistic regression Used for binary classification Decision boundary : 0.5
- y < 0.5 : class A - y >= 0.5 : class B
Logistic regression : cost function
Logistic regression : cost function
Demo 4: logistic regression + gradient descent
Questions? March 2017