exploring machine learning in python with scikit-learn

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

Upload: kan-ouivirach-phd

Post on 07-Aug-2015

143 views

Category:

Science


4 download

TRANSCRIPT

Exploring Machine Learning in Python with Scikit-Learn

Kan Ouivirach

Code Mania 10

Kan Ouivirach

Research & Development Engineer

www.kanouivirach.com

What is Machine Learning?

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

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)

Why is Machine Learning so hard?

http://veronicaforand.com/

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

What do you see?

Why do Programmers need to know Machine Learning?

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

We are now living in the world of data.

Unlimited Sources

Real-World Applications

Recommendation System on Amazon

Advertisement System on Facebook

Speech Recognition from Microsoft

Robot Localization

https://github.com/mjl/particle_filter_demo

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

Ceasars Entertainment CorporationGary Loveman

God’s EyeFast & Furious 7

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

Why Python?

Popular

Easier

Java:

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

Python:

print "Hello, World"

Flexible

Coding Environments and Editors

http://xkcd.com/353/

VS.

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

http://scikit-learn.org/

Why Scikit-Learn?

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

Well-written documentation & Consistent APIs

Models and algorithms chosen and implemented by experts

Cover most Machine Learning tasks

Scale to most data problems

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

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