template for matlab expo 2019€¦ · matlab expo germany, june 27, 2017, munich germany. machine...
TRANSCRIPT
머신러닝다양한산업군에적용된응용사례및새로운기능
엄준상, MathWorks
Machine Learning Success Stories
Kinesis Health Technologies
Predicting a patient’s fall risk with
machine learning.
Machine Learning+
Industry Knowledge Application Knowledge
Your Own Expertise
Examples of Successful Machine Learning Applications
Fleet Data Analytics
Energy Forecasting
Manufacturing Analytics
4
New Capabilities
▪ MATLAB apps
▪ AutoML
▪ Signal Processing with Machine Learning
▪ C/C++ Code Generation
Fleet Data Analytics
5
Design Decisions
Test Plans
0.15
0.0
7
Temperature
0 50 100 150 200 250 300 350
Temperature (oF)
0
2
4
6
8
10
12
14
16
Cou
nt
What Level of Data?
Equipment
Signals
Messages
Trip/Session
Time – Value pairs
What Type of Question?
7
For each (trip, day, serial #, customer,
etc) in the fleet data set, calculate
some Key Performance Indicator
(KPI*) given parameters XYZ".
Across All (data) in the fleet data set,
calculate descriptive statistics of
specific variables (min, max, median,
count, etc.) to summarize and
visualize (histograms).
Question Type “Across All”“For Each”
Scale to Large Collections of Data with Datastore
8
Available Datastores
General datastore
spreadsheetDatastore
tabularTextDatastore
fileDatastore
Database databaseDatastore
Image imageDatastore
denoisingImageDatastore
randomPatchExtractionDatastore
pixelLabelDatastore
augmentedImageDatastore
Audio audioDatastore
Predictive
Maintenance
fileEnsembleDatastore
simulationEnsembleDatastore
Simulink SimulationDatastore
Automotive mdfDatastore
Custom subclass matlab.io.Datastore
Transformed transform an existing datastore
Performing “Across All” Calculations with Tall
9
▪ Visualizations
▪ Data preprocessing
▪ Machine Learning
Exploring Fleet Data with Unsupervised Learning
10
Unsupervised Learning for Operational Mode Clustering
11
“Cold Storage” “Hot Storage”
Data
Historic data:
• Batch processing
• Large data on cluster
• Explore long term trends
• Build models
Streaming data:
• Near real-time
• Test and implement model
for new data
• Stream processing
Vehicle data, driver
profiles
Deploying Fleet Analytics
Fleet Analytics in Practice: Volkswagen Data Lab
Develop technology building block for tailoring
car features and services to individual
▪ Driver and Fleet Safety
▪ Driver Coaching
▪ Driver-Specific Insurance
Data sources
▪ Logged CAN bus data and travel record
Results
▪ Proof-of-concept model for “telematic fingerprint”
▪ Basis for the “pay-as-you-drive” concept
Source: “Connected Car – Fahrererkennung mit MATLAB“
Julia Fumbarev, Volkswagen Data Lab
MATLAB EXPO Germany, June 27, 2017, Munich Germany
Machine Learning + X
14
Fleet Analytics
Equipment Expertise
Design Specs
Operating Modes
Operating Conditions
Machine Learning
Statistical Analysis
Unsupervised Learning
Energy Forecasting
Electrical Grid Expertise
Seasonality
Weather Effects
Generator Characteristics
Machine Learning
Time Series Modeling
Regression
Manufacturing Analytics
Manufacturing Expertise
Process Equipment
Process Variables
Performance Metrics
Machine Learning
Anomaly Detection
Regression
Classification
The Need for Energy Forecasts
15
Jul 01 Jul 02 Jul 03 Jul 04 Jul 05 Jul 06 Jul 07 Jul 08 Jul 09 Jul 10 Jul 11 Jul 12 Jul 13
Time 2019
0
1
2
3
4
5
6
7
8
9
10
Win
d S
pe
ed
(m
/s)
Wind
Aug 04 Aug 05 Aug 06 Aug 07 Aug 08 Aug 09 Aug 10 Aug 11
Time 2019
2000
2500
3000
3500
4000
4500
5000
5500
6000
6500
Lo
ad
(M
W)
Demand
Price
Jun 01 Jun 02 Jun 03 Jun 04 Jun 05 Jun 06 Jun 07 Jun 08 Jun 09 Jun 10 Jun 11 Jun 12
Time of day 2018
0
50
100
150
200
250
En
erg
y p
rodu
ctio
n (
kW
)
Solar
Using Energy Forecasting Models
16
New Data
Electricity Demand
Weather
Electricity Prices
Jul 01 Jul 02 Jul 03 Jul 04 Jul 05 Jul 06 Jul 07 Jul 08 Jul 09 Jul 10 Jul 11 Jul 12 Jul 13
Time 2019
0
1
2
3
4
5
6
7
8
9
10
Win
d S
pe
ed
(m
/s)
Aug 04 Aug 05 Aug 06 Aug 07 Aug 08 Aug 09 Aug 10 Aug 11
Time 2019
2000
2500
3000
3500
4000
4500
5000
5500
6000
6500
Lo
ad
(M
W)
Combine Features Trained
Machine
Learning
Model
Forecast
load
temp
wind
daymonth
24hr
1week
Deploying Energy Forecasts
Dashboards for operators
and traders
17
API for App Developers
Combining Forecasting with Optimization
“When should I operate my generators to maximize the return on my investment?”
18
Optimization Problem:
Minimize:
Cost of generating
electricity
Constraints:
1) Meet forecasted
demand
2) Operational
constraints
3) Etc.
ChallengeMaximize margins in energy trading by predicting
available supply and peak demand
SolutionUse MATLAB to build and optimize models
that incorporate historical data, weather forecasts,
and regulatory rules
Results▪ Response time reduced by months
▪ Productivity doubled
▪ Program maintenance simplified
“Because we need to rapidly respond to shifting production
constraints and changing demands, we cannot depend on
closed or proprietary solutions. With MathWorks tools we get
more accurate results — and we have the flexibility to develop,
update, and optimize our models in response to changing
needs.”
- Angel Caballero, Gas Natural FenosaLink to user story
Portomouros hydroelectric dam.
Energy Forecasting in Practice: Naturgy Energy Group S.A.
Machine Learning apps
▪ Try out many models
▪ Compare Results
▪ Get to a reasonable model
without worrying about the
details
20
Perform
Hyperparameter
Optimization in apps
AutoML
▪ Build many machine learning models
▪ Find a good model without becoming
an expert
21
Preprocess
DataDeploy &
Integrate
Train
Model
Extract
Features
Import
Data
Wavelet
Scattering
Decision Tree?
SVM?
KNN?
Ensemble?
…?
fitcauto
Wavelet
Scattering
Hyper-
parameter
Optimization
Feature
Selection
Model
Selection
Wavelet
Scattering
AutoML “in action”
What is Manufacturing Analytics?
Definition: Apply modeling (AI) to process and sensor data to maximize operational
performance
Key Use Cases:
1. Automate the monitoring of manufacturing process
2. Ensure product quality
3. Optimize yield of complex production processes
23
Plant
Operator
People: • Monitor manufacturing
process operational
• Immediate action if
drifting outside of
acceptable rangeProcess
Engineer
• Got all this data, how
do I draw insight?
• I’m not familiar with
Machine learning
Challenges in Applying AI to Manufacturing
Lots of Data – much in “Data Historians” (SCADA, LIMS, OSISoft PI)
Reliable measurements or modeling
– Sensor failures
– Hidden variables
Use of many different tools
– Limited Predictive modeling
– Handle streaming data
– Customization
Uncover Hidden Variables with Process Modeling
25
pretty big →
Case Study: Anomaly Detection
2. One-class SVM1. Cluster with DBSCAN
Deployment
Integration with Data Historians
▪ OPC Toolbox (Database tbx via ODBC
or JDBC) connects with PI Server
▪ Access MATLAB from streaming PI
Asset Framework and write results
back to PI pointCustomize Analytics
Delivery
▪ Accessing insights via
GUI critical for plant staff
and process engineers
▪ Build a custom GUI with
App Designer
27
PI Data
Archive
OPC, ODBC,
JDBC
MATLAB Production Server
Calls
MATLAB
function
PI Asset
Framework
Write
result to
PI point
PI System
Explorer
Machine Learning + Signal Processing
28
Data Preprocessing Feature Engineering
Frequency domain
Time domain
Bandwidth measurements Spectral statisticsDetrending Smoothing
Resampling Filtering
Kinesis Health Technologies
Predicting a patient’s fall risk with
machine learning.
From Desktop to Production
Reasons for Updates:
▪ Found a better model
▪ New data became available
▪ Business needs change
▪ …
30
C/C++
Automatic C/C++ Code Generation
1. Prediction for most Classification and Regression models
2. Update deployed models without regenerating code
1. SVM, Decision Trees, Linear Models
3. Fixed-Point support
1. SVM, Decision Trees, Ensemble of Trees
2. Shallow Neural Network (through Simulink)
4. Integrate with Simulink models as
MATLAB Function Block
Machine Learning+
XFleet Data Analytics
Energy Forecasting
Manufacturing Analytics
Signal Processing
Industry Knowledge
Application Knowledge
Medical Devices Mining
AppsC/C++ Code
GenerationAutoML
Learn More
33
- Exploratory Data Analysis- Data Processing and Feature Engineering- Predictive Modeling and Machine Learning- Data Science Project
Training Courses
MATLAB Fundamentals (3 days)
MATLAB for Data Processing and
Visualization (1 day)
Processing Big Data with MATLAB (1 day)
Statistical Methods in MATLAB (2 days)
Machine Learning with MATLAB (2 days)
Signal Preprocessing and Feature
Extraction with MATLAB (1 day)
Deep Learning with MATLAB (2 days)
Accelerating and Parallelizing MATLAB
Code (2 days)
Learn More
▪ 머신러닝을활용한배관안정성예측모델개발
▪ 풍력발전기예지적유지보수를위한 MATLAB의활용
▪ 클라우드와에지(edge) 컴퓨팅으로구현하는예지보전알고리즘
▪ 진동, 자장및음향을통한복합장치의고장진단예측을위한시스템구현
34
www.mathworks.com/solutions/machine-learning Mastering Machine Learning eBook