Supervised Learning
คือการเรียนรู้จากโจทย์(Input) และ เฉลย(Output) เช่นการมีชุดค่า ที่มีคำตอบเป็น จำนวนหนึ่งแล้ว supervised machine learning จะต้องหาความสัมพันธ์ระหว่าง และ และจะต้องทำนายค่า ผ่านค่า ที่ไม่เคยเจอได้อย่างแม่นยำ
ตัวอย่าง
Input () | Output () | Application |
spam? (0/1) | spam filtering | |
audio | text transcripts | speech recognition |
English | Thai | machine translation |
ad, user info | click? (0,1) | online advertising |
💡
Notation
ก่อนจะเริ่มลงรายละเอียดของ Supervised Learning ผู้เขียนขอสร้างความเข้าใจเกี่ยวกับ notation ให้ไปในทิศทางเดียวกันก่อน
| input | feature |
---|---|---|
| output | target |
| estimated | prediction |
| จำนวนตัวอย่าง สำหรับการ train | |
| ชุดตัวอย่าง สำหรับการ train | |
| ชุดตัวอย่าง สำหรับการ train ตัวที่ | |
| weight | coefficient |
| bias | intercept |
- Linear Regression Model (with univariate)
- Cost Function
- Gradient Descent
- Linear Regression Model (with multi-feature)
- Feature Scaling
- Feature Engineering
- …