Top Banner
Exploring Machine Learning in Python with Scikit-Learn Kan Ouivirach Code Mania 10
36

Exploring Machine Learning in Python with Scikit-Learn

Aug 07, 2015

Download

Science

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Exploring Machine Learning in Python with Scikit-Learn

Exploring Machine Learning in Python with Scikit-Learn

Kan Ouivirach

Code Mania 10

Page 2: Exploring Machine Learning in Python with Scikit-Learn

Kan Ouivirach

Research & Development Engineer

www.kanouivirach.com

Page 3: Exploring Machine Learning in Python with Scikit-Learn

What is Machine Learning?

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

Page 4: Exploring Machine Learning in Python with Scikit-Learn

Programming vs. Machine Learning?

Page 5: Exploring Machine Learning in Python with Scikit-Learn

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)

Page 6: Exploring Machine Learning in Python with Scikit-Learn

Why is Machine Learning so hard?

http://veronicaforand.com/

Page 7: Exploring Machine Learning in Python with Scikit-Learn

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

What do you see?

Page 8: Exploring Machine Learning in Python with Scikit-Learn

Why do Programmers need to know Machine Learning?

Page 9: Exploring Machine Learning in Python with Scikit-Learn

http://www.mbs.ac.uk/news/school-news/an-outstanding-alumnus/

Page 10: Exploring Machine Learning in Python with Scikit-Learn

We are now living in the world of data.

Unlimited Sources

Page 11: Exploring Machine Learning in Python with Scikit-Learn

Real-World Applications

Page 12: Exploring Machine Learning in Python with Scikit-Learn

Recommendation System on Amazon

Page 13: Exploring Machine Learning in Python with Scikit-Learn

Advertisement System on Facebook

Page 14: Exploring Machine Learning in Python with Scikit-Learn

Speech Recognition from Microsoft

Page 15: Exploring Machine Learning in Python with Scikit-Learn

Robot Localization

https://github.com/mjl/particle_filter_demo

Page 16: Exploring Machine Learning in Python with Scikit-Learn

http://www.npr.org/sections/money/2011/11/15/142366953/the-tuesday-podcast-from-harvard-economist-to-casino-ceo

Ceasars Entertainment CorporationGary Loveman

Page 17: Exploring Machine Learning in Python with Scikit-Learn

God’s EyeFast & Furious 7

http://www.standbyformindcontrol.com/2015/04/furious-7-gets-completely-untethered/

Page 18: Exploring Machine Learning in Python with Scikit-Learn
Page 19: Exploring Machine Learning in Python with Scikit-Learn

Why Python?

Page 20: Exploring Machine Learning in Python with Scikit-Learn

Popular

Page 21: Exploring Machine Learning in Python with Scikit-Learn

Easier

Page 22: Exploring Machine Learning in Python with Scikit-Learn

Java:

public class HelloWorld { public static void main(String[], args) { System.out.println("Hello, World!"); } }

Python:

print "Hello, World"

Page 23: Exploring Machine Learning in Python with Scikit-Learn

Flexible

Page 24: Exploring Machine Learning in Python with Scikit-Learn

Coding Environments and Editors

Page 25: Exploring Machine Learning in Python with Scikit-Learn

http://xkcd.com/353/

Page 26: Exploring Machine Learning in Python with Scikit-Learn

VS.

Page 27: Exploring Machine Learning in Python with Scikit-Learn

RBetter way to do data analysis

Easier for exploratory work

Better visualization

Productivity and code readability

Better integrate with apps

Better tool to implement algorithms for production use

Python

Page 28: Exploring Machine Learning in Python with Scikit-Learn

http://scikit-learn.org/

Page 29: Exploring Machine Learning in Python with Scikit-Learn

Why Scikit-Learn?

Page 30: Exploring Machine Learning in Python with Scikit-Learn

High-quality, easy-to-use, implementations of popular Machine Learning algorithms

Page 31: Exploring Machine Learning in Python with Scikit-Learn

Well-written documentation & Consistent APIs

Page 32: Exploring Machine Learning in Python with Scikit-Learn

Models and algorithms chosen and implemented by experts

Page 33: Exploring Machine Learning in Python with Scikit-Learn

Cover most Machine Learning tasks

Page 34: Exploring Machine Learning in Python with Scikit-Learn

Scale to most data problems

Page 35: Exploring Machine Learning in Python with Scikit-Learn

https://github.com/zkan/intro-to-machine-learning/blob/master/churn.ipynb

Page 36: Exploring Machine Learning in Python with Scikit-Learn

Credits

• Scikit-Learn: http://scikit-learn.org/stable/

• Images:

• http://chicagohidef-videosurveillance.com/equipment/cctv-chicago-il/

• http://www.wired.co.uk/magazine/archive/2014/09/start/sea-change