32
Machine Learning ? Kan Ouivirach #bcbk

Machine Learning คือ? #bcbk

Embed Size (px)

Citation preview

Machine Learning คือ?

Kan Ouivirach

#bcbk

Kan Ouivirach

Research & Development Engineer

www.kanouivirach.com

Machine Learning คือ?

http://www.bigdata-madesimple.com/

–Tom Mitchell (1988)

“A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P, if its

performance at tasks in T, as measured by P, improves with experience E.”

Programming vs. Machine Learning?

Programming?

“Given a specification of a function f, implement f that meets the specification.”

Machine Learning?

“Given example (x, y) pairs, induce f such that y = f(x) for given pairs and generalizes

well for unseen x”

–Peter Norvig (2014)

Machine Learning ยาก?

http://veronicaforand.com/

Dog and Cat?

http://thisvsthatshow.com/

Applications of Machine Learning

• Search Engines

• Medical Diagnosis

• Object Recognition

• Stock Market Analysis

• Credit Card Fraud Detection

• Speech Recognition

• etc.

Learning แบบหลักๆ

• Supervised Learning

• Unsupervised Learning

• Reinforcement Learning

Supervised Learning

y = f(x)

Given x, y pairs, find a function f that will map new x to a proper y.

Regression

y = wx + b

Classification

Outlook

Humidity Wind

SunnyOvercast

Rain

Yes

High Normal Strong Weak

No Yes No Yes

Day Outlook Temp Humidity WInd Play

D1 Sunny Hot High Weak No

D2 Sunny Hot High Strong No

D3 Overcast Mild High Strong Yes

D4 Rain Cool Normal Strong No

Play tennis?

Unsupervised Learning

f(x)

Given x, find a function f that gives a compact description of x.

Clustering

http://stackoverflow.com/questions/24645068/k-means-clustering-major-understanding-issue/24645894#24645894

Reinforcement Learning

y = f(x)

Given x and z, find a function f that generates y.

z

Flappy Bird Hack using Reinforcement Learninghttp://sarvagyavaish.github.io/FlappyBirdRL/

กระบวนการของ Machine Learning ก่อนนำไปใช้งานจริง

กำหนดปัญหา

https://youmustdesireit.wordpress.com/2014/03/05/developing-and-nurturing-creative-problem-solving/

เตรียมข้อมูล

http://vpnexpress.net/big-data-use-a-vpn-block-data-collection/

ตามหาอัลกอริธึ่มที่เหมาะสมhttps://www.flickr.com/photos/withassociates/4385364607/sizes/l/

ถ้าได้ 2 โมเดลที่มีประสิทธิภาพใกล้เคียงกัน ให้เลือกใช้โมเดลที่ซับซ้อนน้อยกว่า

ปรับปรุงผลลัพธ์ให้ดียิ่งขึ้น

http://www.mobilemechanicprosaustin.com/

นำเสนอผลงานสู่ชาวโลก

http://www.langevin.com/blog/2013/04/25/5-tips-for-projecting-confidence/presentation-skills-2/

— Feature engineering คือกุญแจสำคัญ —(ที่โคตรจะสำคัญ)

http://www.thinkgeek.com/product/f0ba/

What do you see?

ถ้าอยากเริ่มต้น?

http://www.barnstable.k12.ma.us/domain/210

ลงมือทำ!

ขอบคุณครับHappy Learning