Professional Documents
Culture Documents
Jrmy Huard
Applikationsingenieur
The MathWorks GmbH
Speech Recognition
Stock Prediction
Medical Diagnosis
Data Analytics
Robotics
and more
2
Machine Learning
Machine learning uses data and produces a program to perform a task
Task: Human Activity Detection
Standard Approach Machine Learning Approach
Computer Machine
Program Learning
3
Different Types of Learning
Machine Learning
4
Essentially, all models are wrong,
but some are useful
George Box
5
General Challenges in Machine Learning
Hard to get started
Steps Challenge
Access, explore and analyze Data diversity
data Numeric, Images, Signals, Text not always tabular
Lack of domain tools
Preprocess data Filtering and feature extraction
Feature selection and transformation
Time consuming
Train models Train several models to find the best
Avoid pitfalls
Assess model performance Over Fitting
Speed-Accuracy-Complexity tradeoffs
Iterate
6
Supervised Learning Workflow
Train: Iterate till you find the best model
LOAD PREPROCESS SUPERVISED MODEL
DATA DATA LEARNING
7
Statistics and Machine Learning
Whats New
Classification Learner
New app to train models and classify data
using supervised machine learning
Features
Import and interactively explore data
Choose kfold or holdout validation
Train SVM, kNN, bagged trees and other algorithms
Assess results using classification accuracy, ROC curves and Confusion Matrices
Export models to the MATLAB or generate MATLAB code
8
Train a Model with the Classification Learner App
9
Train a Model with the Classification Learner App
10
Train a Model with the Classification Learner App
11
Train a Model with the Classification Learner App
12
Train a Model with the Classification Learner App
13
Train a Model with the Classification Learner App
14
Train a Model with the Classification Learner App
15
Train a Model with the Classification Learner App
5. Share model
16
Train a Model with the Classification Learner App
17
Statistics and Machine Learning
Whats New?
New:
Classification Learner app
Multiclass SVM
Statistical tests for comparing classifiers
Kmediods Clustering (robust to outliers)
C Code Generation for PCA Requires MATLAB Coder
Enhancements:
Speedup of the kmeans and gmdistribution using the kmeans++
Performance enhancements for decision trees and performance curves
18
Key Takeaways
19
Additional Resources
Documentation mathworks.com/machine-learning
Training
20