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
Adrien Couque
March 08, 2017
Technology
0
36
ML Session n°3
Adrien Couque
March 08, 2017
Tweet
Share
More Decks by Adrien Couque
See All by Adrien Couque
A roadmap to psychohistory
acq
0
32
ML Session n°8
acq
0
47
ML Session n°7
acq
0
14
ML Session n°6
acq
0
20
ML Session n°5
acq
0
41
ML Session n°4
acq
0
18
ML Session n°2
acq
1
31
ML Session n°1
acq
0
24
Intro to Machine Learning for Android developers
acq
0
170
Other Decks in Technology
See All in Technology
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
1.8k
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
0
1.9k
コードや知識を組み込む / Incorporate Code and knowledge
ks91
PRO
0
160
高専で制御を、大学でセンシングを学び、次は脳みそ
satoshirobatofujimoto
0
120
Cloud Service Mesh に触れ合う
phaya72
1
310
TailwindCSSでUIライブラリを作る際のハマりどころ
shuta13
0
120
uvを使ってストレスフリーな Python開発をしよう!
r74tech
0
260
【基本】データベース設計
oracle4engineer
PRO
2
280
TDD - Test Driven Drupal
opdavies
0
3k
kcp: Kubernetes APIs Are All You Need #techfeed_live / TechFeed Experts Night 28th
ytaka23
1
160
実例で紹介するRAG導入時の知見と精度向上の勘所
yamahiro
7
2.4k
AWSやJAWS-UGとの出会いを振り返る
yoyoyopg
1
180
Featured
See All Featured
Designing Experiences People Love
moore
136
23k
Designing the Hi-DPI Web
ddemaree
276
33k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
0
48
GraphQLとの向き合い方2022年版
quramy
33
12k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
660
120k
Optimizing for Happiness
mojombo
370
69k
Code Review Best Practice
trishagee
56
15k
How STYLIGHT went responsive
nonsquared
92
4.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
Infographics Made Easy
chrislema
238
18k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Navigating Team Friction
lara
179
13k
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