Deep Diving into Machine Learning

Rakuten Group, Inc.
Rakuten Group, Inc.Rakuten Group, Inc.
28 October 2017
Ritika Nevatia
Rakuten, Inc.
28 October 2017
Ritika Nevatia
Rakuten, Inc.
3
4
5
Purrr
6
7
What is Machine Learning?
Components
Features
Feature Selection
Feature Scaling
Models
Training
Types
Supervised Learning
Linear Regression
Unsupervised Learning
Reinforcement Learning
Deep Learning
8
Ritika Nevatia
Bachelor in Computer Engineering
University of Mumbai
Previously
Currently
@nevatiaritika
9
Sound Facial Expression
Posture Time Since Last Meal Last Pampered
????
Shape of Whiskers
10
Map the Problem -> Solution
Represent the characteristics
Number to each sound?
Rules to those numbers?
Next time new sound?
Other characteristics?
11
Machine Learning
12
Input
Output
Input
Program
Programming Machine Learning
13
14
Sounds Made Facial Expression
Time since last
meal
Time since last
attention
Time since last
destructive act
Instance 1
(sound as
spectrogram)
(image as pixels) 10 sec 1 min 7 min
Instance 2
(sound as
spectrogram)
(image as pixels) 5 min 17 sec 1 hour
Instance 3
(sound as
spectrogram)
(image as pixels) 2 min 9 min 20 sec
Instance 4
(sound as
spectrogram)
(image as pixels) 90 min 1.2 min 19 min
Training Set
15
16
Irrelevant Data
More features -> More work
Create Features (eg: ratio instead of two numbers)
Unyielding features
17
Some features are large
1,000,000 to 10,000,000
Some features are small
0.1 to 1
Scale them both
100 to 1000
18
Model artifact created after training an algorithm
Use trained models to predict new input’s outputs
Complex
Input set of features (n1, n2, n3…)
Output answer (“I was bored”)
19
1. Raw Models
1. Blueprints
2. Wrong solutions?
2. Tweak nuts and bolts
1. Look at training set
2. Compare answer of model with the correct answer
3. Fix the values
4. Small Steps
5. Multiple trainings
3. Ready!
20
Classification/
Categorization
Regression
Clustering
Dimensionality Reduction
Supervised Unsupervised
Discrete
Continuous
21
Bored
Bored
Not
Bored
Supervised
Learning
Algorithm
Predictive
Model
Not
Bored
22
Decision Tree
Based on inputs
That gives out one output
Eg: Decision trees, Logistic Regression,
Random Forest
23
• Handwriting recognition (OCR - Optical Character Recognition)
• used at the post office to recognise addresses from envelopes for example.
• Spam detection
• keeps your inbox clean after seeing a great many examples of spam email.
• Object or behavior recognition from images or video
• detection and tracking of objects, behavior or beaches of interest.
• Speech recognition
• conversion of a recording of a voice to a representation in text form, used in commercial apps like Siri,
Apple's voice assistant.
24
“Hello World”
Input -> x
Output -> y
Simple linear regression
Ordinary Least Squares
y = B0 + B1*x
Extend inputs -> x1, x2, x3…
25
Unsupervised
Learning
Algorithm
Predictive
Model
Not
Bored
26
How does it learn?
More data
Come up with new representation
- Patterns
- Groups
- Similarities
- Deviations
eg: Apriori algorithm, K-means
27
• Discovering groups
• Identifying customer segments
• Anomaly Detection
• Internet scrutiny
28
Semi supervised
Learning
Algorithm
Predictive
Model
Not
Bored
Bored
Not
Bored
29
Method for training agents
Robots
Modify its actions based on reward signals
Internal Model - Policy
Select actions based on perceptions
Performed Well?
Reward
Performed Bad?
Punish
Update Policy
Select actions based on optimizing reward
Complex policy
Sub problems -> ML again?
Trial and Error
30
31
• Robotics
• Teach tasks, walking
• Financial Market Trading
• Maximize profit
• Games – Atari
32
Faster
Structure and functions of neuron
Extracts new features
Feature Learning from raw data
Wheels of car
33
34
What is a neuron?
35
Neural network
Multiple layers of neurons
Data passing
Output of one, input of another
Input Layers
Direct features
Hidden Layers
Cannot be manipulated
36
Weight of each neuron
Influential
Topology of the network
Types of neurons
Connections with each other
http://www.asimovinstitute.org/neural-network-zoo/
37
38
Python
Open Source
Google
Deep Diving into Machine Learning
1 of 39

Recommended

A neural image caption generator by
A neural image caption generatorA neural image caption generator
A neural image caption generatorheedaeKwon
18 views15 slides
When UX (guy) Meets Operations by
When UX (guy) Meets OperationsWhen UX (guy) Meets Operations
When UX (guy) Meets OperationsTim Sheiner
875 views51 slides
Artificial intelligence by
Artificial intelligenceArtificial intelligence
Artificial intelligenceBirger Moell
286 views44 slides
Strata London - Deep Learning 05-2015 by
Strata London - Deep Learning 05-2015Strata London - Deep Learning 05-2015
Strata London - Deep Learning 05-2015Turi, Inc.
2.4K views55 slides
Meetup 29042015 by
Meetup 29042015Meetup 29042015
Meetup 29042015lbishal
584 views46 slides
Machine Learning for Designers - DX Meetup Basel by
Machine Learning for Designers - DX Meetup BaselMachine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMemi Beltrame
582 views56 slides

More Related Content

Similar to Deep Diving into Machine Learning

Internship - Python - AI ML.pptx by
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptxHchethankumar
127 views50 slides
Internship - Python - AI ML.pptx by
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptxHchethankumar
23 views50 slides
Introduction to Machine Learning, Deep Learning and MXNet by
Introduction to Machine Learning, Deep Learning and MXNetIntroduction to Machine Learning, Deep Learning and MXNet
Introduction to Machine Learning, Deep Learning and MXNetAmazon Web Services
2.7K views44 slides
Lessons Learned from Building Machine Learning Software at Netflix by
Lessons Learned from Building Machine Learning Software at NetflixLessons Learned from Building Machine Learning Software at Netflix
Lessons Learned from Building Machine Learning Software at NetflixJustin Basilico
14.5K views34 slides
data-science-pdf-16588.pdf by
data-science-pdf-16588.pdfdata-science-pdf-16588.pdf
data-science-pdf-16588.pdfvkharish18
10 views19 slides
What is this UX thing 11-24-15 by
What is this UX thing 11-24-15What is this UX thing 11-24-15
What is this UX thing 11-24-15Youmna Aoukar
518 views56 slides

Similar to Deep Diving into Machine Learning(20)

Internship - Python - AI ML.pptx by Hchethankumar
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptx
Hchethankumar127 views
Internship - Python - AI ML.pptx by Hchethankumar
Internship - Python - AI ML.pptxInternship - Python - AI ML.pptx
Internship - Python - AI ML.pptx
Hchethankumar23 views
Introduction to Machine Learning, Deep Learning and MXNet by Amazon Web Services
Introduction to Machine Learning, Deep Learning and MXNetIntroduction to Machine Learning, Deep Learning and MXNet
Introduction to Machine Learning, Deep Learning and MXNet
Amazon Web Services2.7K views
Lessons Learned from Building Machine Learning Software at Netflix by Justin Basilico
Lessons Learned from Building Machine Learning Software at NetflixLessons Learned from Building Machine Learning Software at Netflix
Lessons Learned from Building Machine Learning Software at Netflix
Justin Basilico14.5K views
data-science-pdf-16588.pdf by vkharish18
data-science-pdf-16588.pdfdata-science-pdf-16588.pdf
data-science-pdf-16588.pdf
vkharish1810 views
What is this UX thing 11-24-15 by Youmna Aoukar
What is this UX thing 11-24-15What is this UX thing 11-24-15
What is this UX thing 11-24-15
Youmna Aoukar518 views
Begin with Machine Learning by Narong Intiruk
Begin with Machine LearningBegin with Machine Learning
Begin with Machine Learning
Narong Intiruk2.3K views
Machine Learning for Designers by Memi Beltrame
Machine Learning for DesignersMachine Learning for Designers
Machine Learning for Designers
Memi Beltrame324 views
Machine Learning : why we should know and how it works by Kevin Lee
Machine Learning : why we should know and how it worksMachine Learning : why we should know and how it works
Machine Learning : why we should know and how it works
Kevin Lee139 views
Introduction To Applied Machine Learning by ananth
Introduction To Applied Machine LearningIntroduction To Applied Machine Learning
Introduction To Applied Machine Learning
ananth2.2K views
Machine Learning 101 - AWS Machine Learning Web Day by AWS Germany
Machine Learning 101 - AWS Machine Learning Web DayMachine Learning 101 - AWS Machine Learning Web Day
Machine Learning 101 - AWS Machine Learning Web Day
AWS Germany810 views
How Machine Learning Can Transform The Customer Experience by Product School
How Machine Learning Can Transform The Customer ExperienceHow Machine Learning Can Transform The Customer Experience
How Machine Learning Can Transform The Customer Experience
Product School1.4K views
Machine Learning for Designers - UX Camp Switzerland by Memi Beltrame
Machine Learning for Designers - UX Camp SwitzerlandMachine Learning for Designers - UX Camp Switzerland
Machine Learning for Designers - UX Camp Switzerland
Memi Beltrame434 views
AN INTEGRATED APPROACH TO CONTENT BASED IMAGE RETRIEVAL by Madhu by Madhu Rock
AN INTEGRATED APPROACH TO CONTENT BASED IMAGERETRIEVAL by MadhuAN INTEGRATED APPROACH TO CONTENT BASED IMAGERETRIEVAL by Madhu
AN INTEGRATED APPROACH TO CONTENT BASED IMAGE RETRIEVAL by Madhu
Madhu Rock117 views
Machine learning workshop @DYP Pune by Ganesh Raskar
Machine learning workshop @DYP PuneMachine learning workshop @DYP Pune
Machine learning workshop @DYP Pune
Ganesh Raskar299 views
Örüntü tanıma - Pattern Recognition by Hassan-k Abdi
Örüntü tanıma - Pattern RecognitionÖrüntü tanıma - Pattern Recognition
Örüntü tanıma - Pattern Recognition
Hassan-k Abdi1.1K views
An Exploration of Cross-product App Experiences by Atlassian
An Exploration of Cross-product App ExperiencesAn Exploration of Cross-product App Experiences
An Exploration of Cross-product App Experiences
Atlassian7.4K views
Face Recognition System for Door Unlocking by Hassan Tariq
Face Recognition System for Door UnlockingFace Recognition System for Door Unlocking
Face Recognition System for Door Unlocking
Hassan Tariq11.7K views
Becoming a kinect hacker innovator v2 by Jeff Sipko
Becoming a kinect hacker innovator v2Becoming a kinect hacker innovator v2
Becoming a kinect hacker innovator v2
Jeff Sipko2.5K views

More from Rakuten Group, Inc.

コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話 by
コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話
コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話Rakuten Group, Inc.
125 views32 slides
楽天における安全な秘匿情報管理への道のり by
楽天における安全な秘匿情報管理への道のり楽天における安全な秘匿情報管理への道のり
楽天における安全な秘匿情報管理への道のりRakuten Group, Inc.
174 views43 slides
What Makes Software Green? by
What Makes Software Green?What Makes Software Green?
What Makes Software Green?Rakuten Group, Inc.
138 views39 slides
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At... by
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...Rakuten Group, Inc.
225 views33 slides
大規模なリアルタイム監視の導入と展開 by
大規模なリアルタイム監視の導入と展開大規模なリアルタイム監視の導入と展開
大規模なリアルタイム監視の導入と展開Rakuten Group, Inc.
526 views18 slides
楽天における大規模データベースの運用 by
楽天における大規模データベースの運用楽天における大規模データベースの運用
楽天における大規模データベースの運用Rakuten Group, Inc.
789 views20 slides

More from Rakuten Group, Inc.(20)

コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話 by Rakuten Group, Inc.
コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話
コードレビュー改善のためにJenkinsとIntelliJ IDEAのプラグインを自作してみた話
楽天における安全な秘匿情報管理への道のり by Rakuten Group, Inc.
楽天における安全な秘匿情報管理への道のり楽天における安全な秘匿情報管理への道のり
楽天における安全な秘匿情報管理への道のり
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At... by Rakuten Group, Inc.
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...
Simple and Effective Knowledge-Driven Query Expansion for QA-Based Product At...
大規模なリアルタイム監視の導入と展開 by Rakuten Group, Inc.
大規模なリアルタイム監視の導入と展開大規模なリアルタイム監視の導入と展開
大規模なリアルタイム監視の導入と展開
楽天における大規模データベースの運用 by Rakuten Group, Inc.
楽天における大規模データベースの運用楽天における大規模データベースの運用
楽天における大規模データベースの運用
楽天サービスを支えるネットワークインフラストラクチャー by Rakuten Group, Inc.
楽天サービスを支えるネットワークインフラストラクチャー楽天サービスを支えるネットワークインフラストラクチャー
楽天サービスを支えるネットワークインフラストラクチャー
楽天の規模とクラウドプラットフォーム統括部の役割 by Rakuten Group, Inc.
楽天の規模とクラウドプラットフォーム統括部の役割楽天の規模とクラウドプラットフォーム統括部の役割
楽天の規模とクラウドプラットフォーム統括部の役割
The Data Platform Administration Handling the 100 PB.pdf by Rakuten Group, Inc.
The Data Platform Administration Handling the 100 PB.pdfThe Data Platform Administration Handling the 100 PB.pdf
The Data Platform Administration Handling the 100 PB.pdf
Supporting Internal Customers as Technical Account Managers.pdf by Rakuten Group, Inc.
Supporting Internal Customers as Technical Account Managers.pdfSupporting Internal Customers as Technical Account Managers.pdf
Supporting Internal Customers as Technical Account Managers.pdf
Travel & Leisure Platform Department's tech info by Rakuten Group, Inc.
Travel & Leisure Platform Department's tech infoTravel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech info by Rakuten Group, Inc.
Travel & Leisure Platform Department's tech infoTravel & Leisure Platform Department's tech info
Travel & Leisure Platform Department's tech info
100PBを越えるデータプラットフォームの実情 by Rakuten Group, Inc.
100PBを越えるデータプラットフォームの実情100PBを越えるデータプラットフォームの実情
100PBを越えるデータプラットフォームの実情
社内エンジニアを支えるテクニカルアカウントマネージャー by Rakuten Group, Inc.
社内エンジニアを支えるテクニカルアカウントマネージャー社内エンジニアを支えるテクニカルアカウントマネージャー
社内エンジニアを支えるテクニカルアカウントマネージャー
モニタリングプラットフォーム開発の裏側 by Rakuten Group, Inc.
モニタリングプラットフォーム開発の裏側モニタリングプラットフォーム開発の裏側
モニタリングプラットフォーム開発の裏側

Recently uploaded

KubeConNA23 Recap.pdf by
KubeConNA23 Recap.pdfKubeConNA23 Recap.pdf
KubeConNA23 Recap.pdfMichaelOLeary82
24 views27 slides
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell by
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell
"Node.js vs workers — A comparison of two JavaScript runtimes", James M SnellFwdays
14 views30 slides
Generative AI: Shifting the AI Landscape by
Generative AI: Shifting the AI LandscapeGenerative AI: Shifting the AI Landscape
Generative AI: Shifting the AI LandscapeDeakin University
67 views55 slides
Evaluation of Quality of Experience of ABR Schemes in Gaming Stream by
Evaluation of Quality of Experience of ABR Schemes in Gaming StreamEvaluation of Quality of Experience of ABR Schemes in Gaming Stream
Evaluation of Quality of Experience of ABR Schemes in Gaming StreamAlpen-Adria-Universität
38 views34 slides
AI + Memoori = AIM by
AI + Memoori = AIMAI + Memoori = AIM
AI + Memoori = AIMMemoori
14 views9 slides
Netmera Presentation.pdf by
Netmera Presentation.pdfNetmera Presentation.pdf
Netmera Presentation.pdfMustafa Kuğu
22 views50 slides

Recently uploaded(20)

"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell by Fwdays
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell
Fwdays14 views
AI + Memoori = AIM by Memoori
AI + Memoori = AIMAI + Memoori = AIM
AI + Memoori = AIM
Memoori14 views
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」 by PC Cluster Consortium
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」
"Node.js Development in 2024: trends and tools", Nikita Galkin by Fwdays
"Node.js Development in 2024: trends and tools", Nikita Galkin "Node.js Development in 2024: trends and tools", Nikita Galkin
"Node.js Development in 2024: trends and tools", Nikita Galkin
Fwdays33 views
Discover Aura Workshop (12.5.23).pdf by Neo4j
Discover Aura Workshop (12.5.23).pdfDiscover Aura Workshop (12.5.23).pdf
Discover Aura Workshop (12.5.23).pdf
Neo4j15 views
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... by ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue199 views
Measurecamp Brussels - Synthetic data.pdf by Human37
Measurecamp Brussels - Synthetic data.pdfMeasurecamp Brussels - Synthetic data.pdf
Measurecamp Brussels - Synthetic data.pdf
Human37 26 views
The Power of Heat Decarbonisation Plans in the Built Environment by IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE84 views
AIM102-S_Cognizant_CognizantCognitive by PhilipBasford
AIM102-S_Cognizant_CognizantCognitiveAIM102-S_Cognizant_CognizantCognitive
AIM102-S_Cognizant_CognizantCognitive
PhilipBasford21 views
LLMs in Production: Tooling, Process, and Team Structure by Aggregage
LLMs in Production: Tooling, Process, and Team StructureLLMs in Production: Tooling, Process, and Team Structure
LLMs in Production: Tooling, Process, and Team Structure
Aggregage57 views
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
Bronack Skills - Risk Management and SRE v1.0 12-3-2023.pdf by ThomasBronack
Bronack Skills - Risk Management and SRE v1.0 12-3-2023.pdfBronack Skills - Risk Management and SRE v1.0 12-3-2023.pdf
Bronack Skills - Risk Management and SRE v1.0 12-3-2023.pdf
ThomasBronack31 views
Digital Personal Data Protection (DPDP) Practical Approach For CISOs by Priyanka Aash
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOs
Priyanka Aash162 views
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023 by BookNet Canada
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
BookNet Canada44 views
"Package management in monorepos", Zoltan Kochan by Fwdays
"Package management in monorepos", Zoltan Kochan"Package management in monorepos", Zoltan Kochan
"Package management in monorepos", Zoltan Kochan
Fwdays34 views

Deep Diving into Machine Learning