Weitere ähnliche Inhalte
Ähnlich wie Masterclass Machine Learning (Ronald Kleijn) (20)
Mehr von Twan van den Broek (20)
Kürzlich hochgeladen (20)
Masterclass Machine Learning (Ronald Kleijn)
- 3. Agenda
1. Intro to Machine Learning ( ~ 20 min)
2. Intro to Neural Networks and Deep Learning (~ 60 min)
3. Break (~ 10 min)
4. ML@SAP (~ 30 min)
5. TensorFlow (~ 60 min)
- 6. 6EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Machine learning is the reality behind artificial intelligence
§ Big Data (for example, business networks,
cloud applications, the Internet of Things,
and SAP S/4HANA)
§ Massive improvements in hardware
(graphics processing unit [GPU] and
multicore)
§ Deep learning algorithms
§ Computers learn from data without
being explicitly programmed.
§ Machines can see, read, listen,
understand, and interact.
What is machine learning?
Why now?
- 7. 7EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
General Machine Learning Process
- 8. 8EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Train, validate and test
- 10. 10EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Train, validate and test
- 12. 12EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Deep Learning Positioning
- 13. 13EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Deep Learning Positioning
- 15. 15EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network Example
- 16. 16EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network Example
- 17. 17EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network Example
- 18. 18EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network Example
- 19. 19EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network Example
- 20. 20EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network Example
- 21. 21EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network Example
- 22. 22EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network Example
- 23. 23EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network Example
- 24. 24EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network Example
- 27. 27EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network – Learning process
- 28. 28EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Neural Network – Learning process
- 29. 29EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Different Type of Neural Network Architectures
- 30. 30EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Exercise Neural Network
Teachable Machine
Short url: https://goo.gl/DtWUcR
Long url: https://teachablemachine.withgoogle.com/
- 31. 31EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
What is Deep Learning
- 33. 33EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
When to use Deep Learning
- 34. 34EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
When not to use Deep Learning
- 35. 35EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Little decision flow to guide you when to use deep learning…
- 36. 36EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Common Deep Learning Terminology
1. Hidden Layers
Ÿ The self learning grouped neurons which job is to transform input to
something the output can use.
2. Neurons (or nodes) in a hidden layer
Ÿ Calculates a weighted sum of its inputs and adds a bias plus decides
whether it should be ”fired”
3. Weight
Ÿ Defines the strength of the connection between 2 nodes
4. Features
Ÿ What you feed into the network. For example weight, height if you would like
to identify a man or woman in a dataset.
5. Epoch
Ÿ A complete run over the dataset.
- 37. 37EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Exercise Deep Neural Network
Neural Network Playground
Short url: https://goo.gl/T44G42
Long url: http://playground.tensorflow.org/additionalprops
For additional properties:
Short url: https://goo.gl/4sYKGB
Long url: http://playground.tensorflow.org/
- 40. 40EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
SAP needs to make the leap to become the Intelligent Enterprise
Transactional Enterprise Digital Enterprise Intelligent Enterprise
Maturity
Impact
§ Enterprise software
guides processes
§ Programmed/rule based
§ Human knowledge work
§ First autonomous
process steps with ML
§ Learning from single
customer data sets
§ End-to-end processes
require human-in-loop
with some predictive
support
2017
§ End-to-end AI drives core
business & support functions
§ Highly personalized by
business & user context
§ Humans focus on exceptions
and higher value work
2020
Yesterday
- 41. 41EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
SAP Leonardo Digital Innovation System
Design
Thinking
Services
SAP Leonardo
Technologies
SAP Cloud Platform Microservices Open APIs Flexible Runtimes Integration
Multi-Cloud Infrastructure SAP Data Center Microsoft Azure
Machine
Learning
Blockchain
Big Data
Internet of
Things
Analytics
Data
Intelligence
Solution Ideation
& Vision
Rapid
Prototyping
Business Case
Development
Technology
Blueprint
- 42. 42EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
SAP Leonardo Machine Learning enables the intelligent enterprise
76% of the world’s
transaction revenue
25 industries
12 lines of business
The world’s largest
business network
Data
Science
Platform
Intelligent Apps
Intelligent
Services
In-Database
ML
SAP Leonardo
Machine Learning & Conversational AI
Re-imagine business
processes with digital
intelligence
Increased customer
satisfaction with
superior service
Increase revenue with
superior sales targeting
and execution
Improving quality time
at work for employees
Enabling product,
process & business
model innovations
Business Outcomes
- 43. 43EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
SAP Leonardo Machine Learning enables the intelligent enterprise
76% of the world’s
transaction revenue
25 industries
12 lines of business
The world’s largest
business network
Data
Science
Platform
Intelligent Apps
Intelligent
Services
In-Database
ML
SAP Leonardo
Machine Learning & Conversational AI
Re-imagine business
processes with digital
intelligence
Increased customer
satisfaction with
superior service
Increase revenue with
superior sales targeting
and execution
Improving quality time
at work for employees
Enabling product,
process & business
model innovations
Business Outcomes
- 44. 44EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
SAP Leonardo Machine Learning Foundation
Enabling customers and partners to build the intelligent enterprise
Applications
Ready to use
Training
Inference
SAP Leonardo Machine Learning Foundation
Ready to use Services
Bring your own Model
Customize Model
Create Training
SAP Cloud Platform
- 45. 45EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Ready-to-use Services: Easy Consumption
Calling REST APIS through the API Business Hub
- 46. 46EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Combine Machine Learning services
Broken product similarity search use case
Images DB
Image Feature
Extraction Service
Vectors DB
Image Feature
Extraction Service
Similarity Scoring
Result
- 47. 47EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Exercise ML@SAP
Excersize 1: Image Classification
Short url: https://goo.gl/tEgVqM
Long url: https://www.sap.com/developer/tutorials/ml-
fs-api-hub-image.html
Excersize 2: Topic Detection
Short url: https://goo.gl/GPXRqs
Long url: https://www.sap.com/developer/tutorials/ml-
fs-api-hub-text.html
Direct link to the API:
Short url: https://goo.gl/6SpDxm
If you do not have an s-number then you can use
one of the following users:
Username: connecttoinnovate<number>@grr.la
Example: connecttoinnovate01@grr.la
Password: Abcd1234!
- 48. 48EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
SAP Leonardo Machine Learning Strategic Partnerships
§ Study & formulate best practices on AI tech,
§ Advance the public’s understanding of AI,
§ Serve as an open platform for discussion
and engagement about AI,
§ and its influences on people and society
§ SAP accepted as partner
§ Enables one global answer
to ML & AI ethics
§ SAP ML in Nvidia CEO Keynote
§ Access to latest pre-release
hardware (e.g. DGX station)
§ Open-source software library for
Machine Intelligence
§ Our standard ML framework
(ease of training, enablement)
Partners Focus Areas Achievements
- 53. 53EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
TensorFlow Architecture
- 54. 54EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Exercise TensorFlow Fun 2
Short url: https://goo.gl/Aks8yy
Long url: https://magenta.tensorflow.org/assets/sketch_rnn_demo/index.html
- 58. 58EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Common Deep Learning Terminology
1. Hidden Layers
Ÿ The self learning grouped neurons which job is to transform input to
something the output can use.
2. Neurons (or nodes) in a hidden layer
Ÿ Calculates a weighted sum of its inputs and adds a bias plus decides
whether it should be ”fired”
3. Weight
Ÿ Defines the strength of the connection between 2 nodes
4. Features
Ÿ What you feed into the network. For example weight, height if you would like
to identify a man or woman in a dataset.
5. Epoch
Ÿ A complete run over the dataset.
- 59. 59EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Common Deep Learning Terminology
1. Bias
Ÿ Influence what elements are more likely to occur defined outside of the input
data.
2. Label
Ÿ Identifying what the input should be.
3. Loss (or error)
Ÿ Whether or not the model has predicted to outcome correctly or not based
on data point, prediction and label, so the lower the loss the better!
4. Backpropagation
Ÿ The process of adjusting your variables (generally weight and bias) to
reduce loss
- 60. 60EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
First, let’s install
TensorFlow
(native pip please)
Short url: https://goo.gl/jww1LE
Long url: https://www.tensorflow.org/install/
- 61. 61EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Exercise TensorFlow
Short url: https://goo.gl/yMU3pi
Long url: https://www.tensorflow.org/get_started/mnist/beginners
- 62. 62EXTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Links and Further Information
Official Website
Explore SAP Leonardo ML under http://www.sap.com/ml
• Watch the intro video
• Download the solution brief
• Read about the intelligent enterprise
• Learn about our Machine Learning foundation
Education
Participate in the openSAP course Enterprise Machine Learning in a Nutshell:
https://open.sap.com/courses/ml1 (overview course)
This masterclass was mainly based on the following openSAP deep-dive course
Enterprise Deep Learning with TensorFlow: https://open.sap.com/courses/ml2
Additional info
TensorFlow site
Deeplearn.js, a web based machine learning library for the web
AI Experiments with google