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
機械学習勉強会01 1次関数での回帰分析/MLStudy01
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
hachiilcane
March 03, 2022
Technology
68
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
機械学習勉強会01 1次関数での回帰分析/MLStudy01
機械学習勉強会01 1次関数での回帰分析
本格的に機械学習の話をする前に、機械学習ってどんな雰囲気のものかということだけを説明した、前説的な位置付け。
hachiilcane
March 03, 2022
Transcript
18 slides
1࣍ؔͰͷ ճؼੳ ػցֶशͷୈҰา @hachiilcane
͜Ε͔Β͢༰ ػցֶशͷΞϧΰϦζϜʮྨʯʮճؼ ੳʯʮΫϥελϦϯάʯͷ͏ͪͷʮճؼੳʯ ʮճؼੳʯΛ༧ଌ͢ΔʢҰൠతʹ ڭࢣ͋ΓͷʣΞϧΰϦζϜ ͬͱ؆୯ͳྫͱࢥΘΕΔɺ1࣍ؔͷؔ Λߟ͑Δʢઢܗճؼͱ͍͏ʣ
ྫ͑͜ΜͳͷΛߟ͑ ͍ͨ ͜ͷ˓˓ඵΛ༧ଌ͍ͨ͠ ϒϥβ ϑΝΠϧΞοϓϩʔυ c:¥doc¥photo1.jpg Upload ΫϦοΫͨ͠Β දࣔ͞ΕΔ ͨͿΜ˓˓ඵͰྃ͠·͢
ೖྗͱग़ྗΛߟ͑Δ ೖྗɺΞοϓϩʔυ͢ΔϑΝΠϧͷϑΝ ΠϧαΠζͱ͢Δ ͜Ε͕࠷దͱ͍͏อূͳ͍͕ɺͻͱ· ͣ͜͏͢Δ ग़ྗɺΞοϓϩʔυʹ͔͔Δ༧࣌ؒ ͜Ε͕Γ͍ͨ
࣮ଌͯ͠Έͨ ϑΝΠϧ αΠζ ʢMByteʣ Ξοϓϩʔυ ࣌ؒ ʢඵʣ 0.0 2.034473 0.1
1.587378 0.2 3.881768 0.3 6.662692 0.4 5.672229 0.5 6.225652 0.6 7.291185 0.7 10.383697 0.8 8.415831 0.9 9.941804
ࠓ͍ͨ͜͠ͱԿ͔ ϑΝΠϧαΠζ͕͔ͬͨΒɺΞοϓ ϩʔυʹ͔͔Δ࣌ؒΛ༧ଌͯͦ͠ΕΛը ໘্ʹද͍ࣔͨ͠
ͭ·Γ͜͏͍͏͜ͱ ઢΛҾ͚͍͍ʂ
ઢͷࣜͱ x ... ϑΝΠϧαΠζ y ... Ξοϓϩʔυʹ͔͔Δ࣌ؒʢΓ͍ͨใʣ ͭ·Γɺదͳaͱb͕͔Εɺy=ax+bͱ͍͏ࣜΛͬͯ ࣌ؒͷ༧ଌ͕Ͱ͖Δ ྫɿ
y= 5.0x+2.0 ͳΒɺϑΝΠϧαΠζ͕0.5MByteͳΒ 5.0*0.5+2.0=4.5ඵ͔͔Δ͜ͱ͕༧ଌͰ͖Δ y = ax + b
Ͳ͜ʹઢΛҾ͍ͨΒΑΓ ਖ਼͔֬ ఆͨ͠ઢ͕ͲΕ͘Β͍ਫ਼͕Α͍ͷ͔ ʢΑΓਖ਼֬ʹ࣌ؒΛ༧ଌͰ͖Δ͔ʣΛஅ͢ Δࢦඪ͕΄͍͠ ͜͏ʁ ͜͏ʁ
ʮਖ਼֬͞ʯͷࢦඪΛܾΊ Δ ͔ࣜΒಘΒΕΔ༧ଌ࣌ؒͱɺ࣮ࡍͷ σʔλ͔ΒಘΒΕΔ࣮ଌ࣌ؒͷࠩʢ͍ ΘΏΔޡࠩʣͷ߹ܭ͕খ͍͞ͱྑ͍ɺ ͱͯ͠ΈΔ ͜Ε͕ਖ਼͍͠ͱ͍͏Θ͚Ͱͳ͘ɺ ͱΓ͋͑ͣͦ͏ͯ͠ΈΔͱ͍͏͚ͩ
ࢦඪΛͱʹஅ͢Δ ϑΝΠϧ αΠζ ༧ଌ ʢඵʣ ࣮ଌ ʢඵʣ ޡࠩ ʢඵʣ 0.0
2.0 2.034473 0.0345 0.1 2.78 1.587378 -1.1926 0.2 3.56 3.881768 0.3218 0.3 4.34 6.662692 2.3227 0.4 5.12 5.672229 0.5522 0.5 5.9 6.225652 0.3257 0.6 6.68 7.291185 0.6112 0.7 7.46 10.383697 2.9237 0.8 8.24 8.415831 0.1758 0.9 9.02 9.941804 0.9218 ߹ܭ 6.9968 ͷ߹ ϑΝΠϧ αΠζ ༧ଌ ʢඵʣ ࣮ଌ ʢඵʣ ޡࠩ ʢඵʣ 0.0 2.1 2.034473 -0.0655 0.1 2.9 1.587378 -1.3126 0.2 3.7 3.881768 0.1818 0.3 4.5 6.662692 2.1627 0.4 5.3 5.672229 0.3722 0.5 6.1 6.225652 0.1257 0.6 6.9 7.291185 0.3912 0.7 7.7 10.383697 2.6837 0.8 8.5 8.415831 -0.0842 0.9 9.3 9.941804 0.6418 ߹ܭ 5.0968 y = 7.8x + 2.0 y = 8.0x + 2.1 ͷ߹ ͬͪ͜ͷํ͕ ྑͦ͞͏͔ͳʁ
͋ͱԿ͔ͷํ๏ͰΑΓ ྑ͍aͱbͷΛٻΊΔ ͜͜Ͱಛʹͦͷํ๏ʹ͍ͭͯ;Εͳ ͍͕ɺํ๏ԿͰ͍͍ ͱʹ͔͘खͰઢΛҾ͖·͘Δͱ͔ ೲಘ͍͘ਫ਼ͷ͕ࣜಘΒΕͨΒྃ
͜Ε·Ͱͬͨ͜ͱΛৼ ΓฦͬͯΈΔ 1.ͱΓ͋͑ͣɺy=ax+bͱ͍͏ࣜʹͯΊͨ 2.͕ࣜʢݴ͍͑Δͱɺaͱbͱ͍͏ύϥϝʔ λ͕ʣ͍͍͔Ͳ͏͔༧ଌ࣌ؒͱ࣮ଌ࣌ؒͷ ޡࠩͰஅͨ͠ 3.ԿΒ͔ͷํ๏Ͱ࠷ͦΕΒ͍͠aͱbͷΛٻ Ίͨ
ҰൠతͳύϥϝτϦοΫϞσ ϧͱݺΕΔख๏Ͱߟ͑Δͱ ࣍ͷ̏ͭͷεςοϓͰΰʔϧͱͳΔϞσϧɺ ͢ͳΘͪࣜΛܾఆ͢Δ 1.ύϥϝʔλΛؚΉϞσϧʢࣜʣΛઃఆ͢ Δ 2.ύϥϝʔλΛධՁ͢Δج४ΛఆΊΔ 3.࠷ྑͷධՁΛ༩͑ΔύϥϝʔλΛܾఆ͢Δ
̏ͭͷεςοϓΛҙࣝ͢ Δͱྑ͍ ͍͍ͩͨͲΜͳػցֶशͰ͜ͷ̏ͭ ͷεςοϓΛܦΔ ̏ͭͷεςοϓΛܦͯɺʮԿΒ͔ͷݱ ʹ͍ͭͯɺ౷ܭతͳख๏Λ༻͍ͯɺͦΕ Λઆ໌͋Δ͍༧ଌ͢ΔϞσϧʢ ࣜʣΛ࡞Γग़͢ʯʹʮ౷ܭϞσϧʯ
̏ͭͷεςοϓͲ͏ܾ ΊͨΒ͍͍ʁ Կਖ਼ղͳ͍ɻಘΒΕ͕ͨ͑ଥ Ͱ͋Δ͜ͱΛɺԾઆʗݕূΛ܁Γฦͯ͠ ੳ͢Δ͜ͱ͕ඞཁʹͳΔ
࣍ͷεςοϓ ΑΓҰൠతʹɺଟ߲ࣜۙࣅΛఆ͢Δ ͜Μͳͭ ࠷খೋ๏Λ༻͍ͯΑΓਖ਼֬ͳύϥϝʔλ ʢ͜͜Ͱଟ߲ࣜͷʣΛਪఆ͢Δ f(x) = w0 + w1x
+ w2x2 + ... + wM xM = M X m=0 wmxm
ࢀߟจݙ தҪ ӻ࢘ʮITΤϯδχΞͷͨΊͷػց ֶशཧೖʯٕज़ධࣾ, 2015
More Decks by hachiilcane
See All by hachiilcane
機械学習勉強会02 多項式近似と最小二乗法による推定/MLStudy02
hachiilcane
0
130
機械学習勉強会03 最急降下法/MLStudy03
hachiilcane
0
41
機械学習勉強会04 偏微分と連鎖律/MLStudy04
hachiilcane
0
47
機械学習勉強会05 パーセプトロン/MLStudy05
hachiilcane
0
48
機械学習勉強会06 ロジスティック回帰/MLStudy06
hachiilcane
0
62
機械学習勉強会07 ROC曲線/MLStudy07
hachiilcane
0
46
機械学習勉強会08 2次元入力3クラス分類/MLStudy08
hachiilcane
0
79
機械学習勉強会09 2層フィードフォワードニューラルネット/MLStudy09
hachiilcane
0
76
WPF勉強会 第1回 動的レイアウト/WPFStudy1
hachiilcane
0
220
Other Decks in Technology
See All in Technology
BALLAS Technology Deck
ballas_inc
0
840
Kansai WordPress Meetup@大阪『ブロックテーマを作る上で知っておくべきこと
torounit
0
230
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
190
WasmをRustにする技術
sansantech
PRO
1
120
Where Should Platform Complexity Live? Lessons from a Cross-Team PR Preview Platform
taiki45
0
140
DevOps Agentにあらゆるセキュリティインシデントのトリアージを任せた件
jirtosterone
1
180
「AIチャットからもできないの?」と言われたら ~業務アプリをMCP対応するときの認証・認可の勘所
oidfj
0
370
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
370
2026-11-11 Tamachi.sre#7 PaCにインフラリソースの命を救われました。 / PaC saves the infra resource life
masasuzu
1
200
マネジメントされる側の仕事は「文句」を言うこと
riyaamemiya
7
5.7k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
17
120k
農家は秘伝のタレを知らない - NOBODY KNOWS THE HIDDEN SOURCE - Kaggriculture 3rd Place Solution
masspeaks
2
510
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
Building Adaptive Systems
keathley
44
3.3k
4 Signs Your Business is Dying
shpigford
187
23k
SEO for Brand Visibility & Recognition
aleyda
0
4.9k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
540
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
810
Color Theory Basics | Prateek | Gurzu
gurzu
1
530
Amusing Abliteration
ianozsvald
1
390
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
Designing Experiences People Love
moore
143
24k
The Invisible Side of Design
smashingmag
301
52k