machine learning and applications

51
MACHINE LEARNING AND APPLICATIONS Geeta Arora Expert Session delivered during Workshop on Image Processing and Machine Learning for Pattern Recoginition on 11th July 2016 at University Institute of Engineering and Technology, Chandigarh

Upload: geeta-arora

Post on 12-Jan-2017

190 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Machine Learning and Applications

MACHINE LEARNING AND APPLICATIONS Geeta Arora

Expert Session delivered during Workshop on Image Processing and Machine Learning for Pattern Recoginition on 11th July 2016 at University Institute of Engineering and Technology, Chandigarh

Page 2: Machine Learning and Applications

What is Machine Learning?

Hello World of Machine Learning

Types of Machine Learning

Why Machine Learning?

AGENDA

Libraries

Applications

Demo

Workflow

Page 3: Machine Learning and Applications

What is Machine Learning?

Hello World of Machine Learning

Types of Machine Learning

Why Machine Learning?

AGENDA

Libraries

Applications

Demo

Workflow

Page 4: Machine Learning and Applications

Machine Learning is not the future

Page 5: Machine Learning and Applications

Why Machine Learning?

Develop systems that can automatically adapt themselves to users

• Personalized news or emails

Discover new knowledge from large databases

Ability to mimic humans and replace monotonous tasks which require some intelligence

• Recognizing handwritten characters

Develop systems that are too difficult or expensive to

construct manually or knowledge tuned to a

specific task

Page 6: Machine Learning and Applications

Why the increased interest in Machine Learning? 1. Growing volumes and varieties of available data

Page 7: Machine Learning and Applications

2. Cheaper and more powerful computational processing

Page 8: Machine Learning and Applications

3. Better and inexpensive storage capacities

Page 9: Machine Learning and Applications

4. Open source revolution

Page 10: Machine Learning and Applications

What is Machine Learning?

Hello World of Machine Learning

Types of Machine Learning

Why Machine Learning?

AGENDA

Libraries

Applications

Demo

Workflow

Page 11: Machine Learning and Applications

What is Machine Learning?

Field of study that gives the computers the ability to learn without being explicitly programmed. (Arthur Sameul, 1959)

Page 12: Machine Learning and Applications
Page 13: Machine Learning and Applications

What is Machine Learning?

Hello World of Machine Learning

Types of Machine Learning

Why Machine Learning?

AGENDA

Libraries

Applications

Demo

Workflow

Page 14: Machine Learning and Applications

Problem –

Distinguish Apple from Orange

Page 15: Machine Learning and Applications

Write a function which takes and image file and outputs if it is an apple or not?

Page 16: Machine Learning and Applications

Start writing rules…

Page 17: Machine Learning and Applications

Rules start breaking ….

Page 18: Machine Learning and Applications

Lets solve with machine learning

Classifier

Apple

Page 19: Machine Learning and Applications

How do you solve the problem using Machine Learning?

Collect Training Data

Train Classifier Make

Predictions

Page 20: Machine Learning and Applications

Collect Training Data

Train Classifier Make

Predictions

Feature 1 Feature 2 Example

Example

Page 21: Machine Learning and Applications

The Code – Hello World of Machine Learning

from sklearn import tree features = [[140, "smooth"], [130, "smooth"], [150, "bumpy"], [170, "bumpy"]] labels = ["apples", "apples", "orange", "orange"] features = [[140, 1], [130, 1], [150, 0], [170, 0]] labels = [0, 0, 1, 1] clf = tree.DecisionTreeClassifier() clf.fit(features, labels) print(clf.predict([[160, 0]]))

Page 22: Machine Learning and Applications

clf.fit(features, labels) Under the hood…

Page 23: Machine Learning and Applications
Page 24: Machine Learning and Applications
Page 25: Machine Learning and Applications

What is Machine Learning?

Hello World of Machine Learning

Types of Machine Learning

Why Machine Learning?

AGENDA

Libraries

Applications

Demo

Workflow

Page 26: Machine Learning and Applications

Types of Machine Learning

Machine Learning

Supervised

Regression

Classification

Unsupervised Clustering

Reinforcement Recommendations

Page 27: Machine Learning and Applications
Page 28: Machine Learning and Applications
Page 29: Machine Learning and Applications
Page 30: Machine Learning and Applications

What is Machine Learning?

Hello World of Machine Learning

Types of Machine Learning

Why Machine Learning?

AGENDA

Libraries

Applications

Demo

Workflow

Page 31: Machine Learning and Applications

Machine Learning Workflow

Page 32: Machine Learning and Applications

What is Machine Learning?

Hello World of Machine Learning

Types of Machine Learning

Why Machine Learning?

AGENDA

Libraries s

Applications

Demo

Workflow

Page 33: Machine Learning and Applications

Machine Learning Libraries

Page 34: Machine Learning and Applications
Page 35: Machine Learning and Applications
Page 36: Machine Learning and Applications
Page 37: Machine Learning and Applications

What is Machine Learning?

Hello World of Machine Learning

Types of Machine Learning

Why Machine Learning?

AGENDA

Libraries

Applications

Demo

Workflow

Page 38: Machine Learning and Applications
Page 39: Machine Learning and Applications

Gmail: ensuring a spam-free inbox with Machine Learning

Page 40: Machine Learning and Applications

Google's Smart Email Reply

Page 41: Machine Learning and Applications

Google Photos uses machine learning to create customized albums

Page 42: Machine Learning and Applications
Page 43: Machine Learning and Applications
Page 44: Machine Learning and Applications

Google Keyboard

Page 45: Machine Learning and Applications

Google Speech Recognition

Page 46: Machine Learning and Applications

Apple Siri

Page 47: Machine Learning and Applications
Page 48: Machine Learning and Applications

Amazon Echo

Page 49: Machine Learning and Applications
Page 50: Machine Learning and Applications

https://play.google.com/store/apps/details?id=com.scigh.cricketworldcup2015

DEMO Scigh Cricket App