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
Machine Learning Seminar (1)
Search
T.Nakayama
April 17, 2019
Technology
16
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Machine Learning Seminar (1)
Supervised Learning Basics
T.Nakayama
April 17, 2019
Other Decks in Technology
See All in Technology
その Valkey 使いこなしていますか?
onk
PRO
5
1.5k
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1.1k
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
4
1.1k
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
150
Rust で関数型ドメインモデリング
takonda
0
140
How to Design Configuration for Rails Applications
willnet
1
790
Local CI × GitHub Actions
gogutan
2
190
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
600
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
The browser strikes back
jonoalderson
0
1.8k
Statistics for Hackers
jakevdp
799
230k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
Ethics towards AI in product and experience design
skipperchong
2
430
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Transcript
(1) April 17, 2019 Tomoya Nakayama
• "/!-%+!- ' • ,. • 2(*
, • #(* • • &) →$ 2
1. 3
x y 1 3 2 5 3 7
4 9 5 11 6 ? • ! = #$ + & wb • #(weight) • &(bias) 4
(1) 1. w b+ • w b0 $
2. w b& (x y #,*"' • ! "# = %&# + ( (0 ≤ , ≤ -) n )! 0 2 4 6 8 10 12 0 1 2 3 4 5 6 y x % * #,* 5 w=1, b=0
(2) 3. ! 2 x
(Mean Squared Error) • ! = # $ ∑ &'# $ () *& − *& )- ↑ (Loss Function) 0 2 4 6 8 10 12 0 1 2 3 4 5 6 y x ! 2 (7-3)^2=16 6
(3) 4. &%!xb +* " )J’(x), J’(b)
• !" # = % %& ! • !" ' = % %( ! 5. J’(x), J’(b)(learning rate)α$ x, b x, b • # ← # − +!" # • ' ← ' − +!′(') 6. 25'(# 7
x1 x2 y 1 0 3 2 1 6
3 0 7 4 1 10 5 0 11 6 1 ? • ! = #$ %$ + #' %' + ( w1, w2, b • ) = %$ %' , + = #$ #' , = -./ + 0 • ! 8
2 1 2 64 75 77 66
82 55 49 95 58 83 69 69 ? 40 50 60 70 80 90 100 40 50 60 70 80 90 9
2 1 2 64 75 77 66
82 55 49 95 58 83 69 69 ? 40 50 60 70 80 90 100 40 50 60 70 80 90 10
2 • 27!#1;#0'71 : • +6"-1$"-0
• 1.3)0 • 4 .3&,710=895 • .3 0.5( 1 0 *< • 0.5>7/%2 11
2 • ! " = $(&'( +
*) • σ (sigmoid) • 01 ! • 1 1 0 0 ! W b 0 0.5 1 -6 -4 -2 0 2 4 6 y x 12
2 • ! = # $ ∑ &'# $
−)& log - )& − 1 − )& log 1 − - )& • ↑ (cross entropy) • σ 13
2 • %+*(accuracy)# • %'10 .
• "!1/0&- %+* • ,*($* • (precision)…1&- %'1) • (recall)…%'1 1&- ) 1 (Positive) 0 (Negative) 1 (Positive) True Positive False Positive 0 (Negative) True Negative False Negative 14
• "3 • ! " = $%&'()*(,-.
+ 0) • , = 233 234 235 243 ⋱ ⋮ 253 … ⋱ ∈ ℝ;×=, 0 = ?3 ?4 ?5 ∈ ℝ=, ! " ∈ ℝ= • $%&'()* *@ = ABC ∑ CEF G ABG • ( H" • Softmax! $" • 2!" # 15
(MLP) • Y=WTX+b),4&.4&3( 2-/$'* • 3 :hidden
layer)ReLU +%# &" 16 ←1033MLP !33 3534 !32
• .4 "EC"!#"- • 8>69(cross validation)1"7 • EC"!#"3@:?=;
• %' !,2A • 3B0(regularization)…($+!D</ • ,' !,2A • "5 • &*)5 17
2. 18
19
• numpy • scikit-learn • pandas
• matplotlib • seaborn 20
• Jupyter Notebook/Lab • • JupyterIDE
• PyCharm • Visual Studio Code • Anaconda • PCpython 21
• Amazon SageMaker • Azure Notebook • Azure
• Google Colaboratory • Google • Binder • GitHub/GitLabJupyter Notebook 22
3. 23
1. *,!/0 • Google Colab4 • Binder4 2. MNIST)2&.0
• Google Colab4 • Binder4 • Google($ Google Colab4#3 • Google($ Binder4#3 • Binder4+%10-" • Binder4GPU( %'1 24