🗂️

Supervised Learning

🏠 Home

คือการเรียนรู้จากโจทย์(Input) และ เฉลย(Output) เช่นการมีชุดค่า xx ที่มีคำตอบเป็น y y จำนวนหนึ่งแล้ว supervised machine learning จะต้องหาความสัมพันธ์ระหว่าง xx และ yy และจะต้องทำนายค่า yy ผ่านค่า xx ที่ไม่เคยเจอได้อย่างแม่นยำ

ตัวอย่าง

Input (xx)Output (yy)Application
Emailspam? (0/1)spam filtering
audiotext transcriptsspeech recognition
EnglishThaimachine translation
ad, user infoclick? (0,1)online advertising
💡
Notation

ก่อนจะเริ่มลงรายละเอียดของ Supervised Learning ผู้เขียนขอสร้างความเข้าใจเกี่ยวกับ notation ให้ไปในทิศทางเดียวกันก่อน

xxinputfeature
yyoutputtarget
y^\hat{y}estimated yyprediction
mmจำนวนตัวอย่าง สำหรับการ train
(x,y)(x,y)ชุดตัวอย่าง สำหรับการ train
(x(i),y(i))(x^{(i)},y^{(i)})ชุดตัวอย่าง สำหรับการ train ตัวที่ ith i^{th} (1st,2nd,3rd,...)(1^{st},2^{nd},3^{rd},...)
ww weightcoefficient
bbbiasintercept

  • Linear Regression Model (with univariate)
  • Cost Function
  • Gradient Descent

💡
Tips: ลองคลิกที่ตอนสิ