Root of Machine Learning
(Draft)
แก่นแท้การเรียนรู้ของเครื่อง
Private training @Softnix HQ
By Chakrit Phain
Softnix Technology Co.,Ltd.
Game Arcade
Somchai & Somkiat who has play AB Button game and how to detect him with
machinelearning
Let’s do Somchai & Somkiat
Unsupervised Learning
K-Means , DB-Scan , Hierarchical
LAB #1 Unsupervised
Learning
Click to add text
Click to add text
คลิกเพื่อแทรกเนื้อหา
Click to add text
Click to add text
คลิกเพื่อแทรกเนื้อหา
Click to add text
Click to add text
คลิกเพื่อแทรกเนื้อหา
What do you get with this experiment?
• Unsupervised Learning เหมาะกับงานประเภทแบ่งกลุ่มจัดกลุ่มมากกว่าการ
นำมาแยกสิ่งที่เรารู้อยู่แล้ว
• ดูเหมือนว่า DB-Scan จะดูดีสุดในงานลักษณะนี้ เพราะพฤติกรรมการกดจะใกล้
กัน
• แล้ว K-means เหมาะในงานลักษณะไหน?
• แล้ว Hierarchial ล่ะ?
Supervised Learning
Click to add text
Click to add text
คลิกเพื่อแทรกเนื้อหา
y = -1.33x+1.6
Click to add text
Click to add text
คลิกเพื่อแทรกเนื้อหา
y = -1.33x+1.6
Somchai
Somkiat
Pause ||
Welcome to Neural Network
Single Layer Perceptron
AND Gate
x1 + x2 – 1.5 > 0 Output that shown 1
x1 + x2 – 1.5 < 0 Output that shown 0
OR Gate
x1 + x2 – 0.5 > 0 Output that shown 1
x1 + x2 – 0.5 < 0 Output that shown 0
LAB #2 AND Gate , OR Gate
Continue ►
How do we solve this problem?
y = -1.33x+1.6
Let’s do with code
Why we got accuracy 0.95?
Click to add text
Click to add text
คลิกเพื่อแทรกเนื้อหา
y = -1.33x+1.6
Error
Click to add text
คลิกเพื่อแทรกเนื้อหา Overfit
Click to add text
คลิกเพื่อแทรกเนื้อหา
Multilayer Perceptron
Multilayer Perceptron
Multilayer Perceptron
Multilayer Perceptron with AND Gate
LAB #3 Solve this problem
again
Back Propagation
w1
w2
f(1.1w1+0.3w2+ w0)
Output
1.1
0.3
Error Feedback
Gradient Descent
AND GATE with Keras library
for python
AND Gate
Machine Learning Professor
Asst. Prof. Sukree Sinthupinyo, Ph.D.
Andrew Ng Ph.D.

Softnix how ml_work_0.1draft