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
hachiilcane
March 03, 2022
Technology
67
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
機械学習勉強会01 1次関数での回帰分析/MLStudy01
機械学習勉強会01 1次関数での回帰分析
本格的に機械学習の話をする前に、機械学習ってどんな雰囲気のものかということだけを説明した、前説的な位置付け。
hachiilcane
March 03, 2022
More Decks by hachiilcane
See All by hachiilcane
機械学習勉強会02 多項式近似と最小二乗法による推定/MLStudy02
hachiilcane
0
120
機械学習勉強会03 最急降下法/MLStudy03
hachiilcane
0
40
機械学習勉強会04 偏微分と連鎖律/MLStudy04
hachiilcane
0
45
機械学習勉強会05 パーセプトロン/MLStudy05
hachiilcane
0
45
機械学習勉強会06 ロジスティック回帰/MLStudy06
hachiilcane
0
59
機械学習勉強会07 ROC曲線/MLStudy07
hachiilcane
0
45
機械学習勉強会08 2次元入力3クラス分類/MLStudy08
hachiilcane
0
76
機械学習勉強会09 2層フィードフォワードニューラルネット/MLStudy09
hachiilcane
0
75
WPF勉強会 第1回 動的レイアウト/WPFStudy1
hachiilcane
0
200
Other Decks in Technology
See All in Technology
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
190
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
280
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
430
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
190
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
Running Kotlin + Quarkus with Lambda
nealle
1
3.7k
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
130
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
580
Featured
See All Featured
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
630
Prompt Engineering for Job Search
mfonobong
0
520
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
710
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
Believing is Seeing
oripsolob
1
240
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
550
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
Transcript
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