SlideShare uma empresa Scribd logo
1 de 51
Machine Learning
&
Its Application In Predictive Maintenance
Arnab Biswas
arnabbiswas1@gmail.com
arnabbiswas1
Table of Content
• Basics of Machine Learning
• Classical Programming vs Machine Learning
• Types of Machine Learning
• Types of Supervised Learning
• Application of ML in Predictive Maintenance (PdM)
• Types of Maintenance
• Goals & Use Cases for PdM
• Data Science For PdM
What is Machine Learning?
Task : Predict the price of an apartment in Bangalore
Classical Programming / Software 1.0
• Take help of a domain expert
• Survey existing apartments in Bangalore
• Identify factors contributing to the price of an apartment
• Area
• Size
• Number of Bedrooms, Bathrooms
• Name of the builder
• etc.
• Write a program which outputs the price based on the attributes
identified
Reference : https://medium.com/@karpathy/software-2-0-a64152b37c35
Classical Programming / Software 1.0
Software 1.0
Data
Rule
Answer
Machine Learning/Software 2.0
• First Step: Collect data (as much as possible)
Reference : https://www.kaggle.com/amitabhajoy/bengaluru-house-price-data
Machine Learning/Software 2.0
Learning
Algorithm
Data
Rule
Answer
*No explicit Programming!
Software 1.0 vs 2.0
Software 2.0
Data
Rule
Answer
Software 1.0
Data
Rule
Answer
Features Labels
Observation
Training vs Prediction
Learning
Algorithm
Model
Label
Feature
Training
Prediction
ML Works Better When…
• Problems for which classical programming requires long list of rules
which is difficult to maintain. ML can simplify the code.
• ML “automatically” discovers change in data. Classical Programming
needs manual update in the rules.
• ML performs better for complex problems (Image, Text, Audio etc.)
• Humans can gain insights from ML models
Humans can gain insights from ML models
• Stages of Cancer
• Medical textbooks decides based on number of “yes” to the questions:
1. Has the cancer affected more than one lymph node?
2. Are the cancerous lymph nodes both above & below the bottom of the rib cage?
3. Is the cancer found in organs outside lymphatic system (in patient's bone marrow)?
• A 2018 Research paper (University of Modena & Reggio Emilia)
• Analyzed 15 variables, identifying 5 features
• Due to limited cognitive ability, humans need a handful of most
obvious signifiers/features
• ML/AI decides based on hundreds if not thousands distinct features
• May include traditional as well as less intuitive features
Machine Learning : Formal Definition
• A Machine is Learning when it improves at a task based on experience
at that task, but without explicit programming.
Reference : https://cloud.google.com/products/ai/ml-comic-1/
AI vs ML
• AI: Quest for developing non-biological
systems that exhibit human-like forms of
intelligence.
Reference: https://sebastianraschka.com/blog/2020/intro-to-dl-ch01.html
Examples of Machine Learning
• Recommending a video/song (Recommender System)
• Detecting cancer based on X-Ray Image (Computer Vision)
• Forecasting company’s revenue based on various factors (Time Series
Forecasting)
• Summarizing long document into smaller, meaningful text (Language
Processing)
• Writing HTML, SQL, Unix code based on human language (Language
Processing - GTP-3)
Types of ML Systems
• Whether or not trained with human supervision
• Supervised Learning
• Unsupervised Learning
• Reinforcement Learning
• Whether learning is incremental
• Online Learning
• Batch Learning
• Instance based vs Model based learning
Supervised Learning
• User provides the algorithm with inputs (features) and desired
outputs (labels)
• The algorithm can create an output for an unseen input
• User (Teacher) is supervising the algorithm to learn
Input Output
Unsupervised Learning
• Only input data is known & passed to algorithm
• Output data is unknown
• Often used in understanding data better before solving a supervised
learning problem
• Usually harder to understand and evaluate
• Applications
• Segmenting readers based on their reading habits
• Identifying topics of news articles
• Anomaly Detection
• Dimensionality Reduction
• Clustering
Input
Unsupervised Learning : Clustering
• Each dot on plot represents a
research article on COVID
Reference: https://maksimekin.github.io/COVID19-Literature-Clustering/plots/t-sne_covid-19_interactive.html
Reinforcement Learning
• Steps
• Learning system (agent) observes an
environment
• Selects & performs actions
• Gets rewarded or punished for actions
• Learning system must learn by itself the best
strategy (policy) to win most reward over time.
• Examples
• Robotics
• AlphaGo Program
• Energy Efficiency
Reference: Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow
Supervised Machine Learning
• Regression: Goal is to predict a continuous number
• Classification: Goal is to predict a class label
Label: Continuous Number
Label: Distinct Values
Reference: https://sebastianraschka.com/blog/2020/intro-to-dl-ch01.html
Predictive Maintenance
Types of Maintenance
• Reactive Maintenance
• Parts of an equipment are replaced only on failure
• Doesn’t waste part’s life, but results in downtime, unscheduled
maintenance
• Preventive Maintenance
• Replaces a part after pre-determined useful lifespan, before it
fails
• Avoids unscheduled maintenance
• Under utilization of parts
• Predictive Maintenance
• Replaces only the parts close to their failure (Just in time
replacement)
• Extends part’s lifespan
• Reduce unscheduled maintenance
Reference: https://docs.microsoft.com/en-us/azure/machine-learning/team-data-science-process/predictive-maintenance-playbook https://arxiv.org/pdf/1912.07383.pdf
Predictive Maintenance (PdM) : Goals
• Predict if an equipment is going to fail in near future
• Predict days to failure
• Helps in scheduling a maintenance
• Predict most probable root cause of a failure
• Helps in identifying part(s) to repair/replace
Sample Use Cases
• Failure of engine parts in an aircraft
• HVAC equipment failure
• Elevators door failure
• Wind turbine failure
• Failure of wheels of train
Data Science For Predictive Maintenance
• Steps
• Convert Business Problem into Data Science problem
• Understand Data
• Prepare Data
• Building Model
• Evaluate Model
• Deploy Model
• Monitor/Maintain Model
Reference: https://en.wikipedia.org/wiki/Cross-industry_standard_process_for_data_mining
Business problem into Data Science problem
• Binary Classification
• Predict probability for an equipment to fail within a future time period
• Regression
• Predict amount of time that an equipment is operational before next failure
• Multi-class classification
• Predict probability for an equipment to fail within next ..3X, 2X, X unit of time
• Predict probability for an equipment to fail within a future time period for a particular
root cause
Binary Classification
• Goal: Predict probability of failure within next X unit of time
• Labels (Discrete Number)
• Failure within X time unit (1)
• Healthy (0)
Reference: https://docs.microsoft.com/en-us/azure/machine-learning/team-data-science-process/predictive-maintenance-playbook
Regression
• Goal: Predict remaining useful life (RUL) of the equipment
• Label: Time for which an asset is operational before next failure (RUL)
• Continuous Number
• Disadvantage
• Equipment without any failures cannot be used for modeling
Multi-class Classification (1)
• Goal: Predict the probability of failure within next …, 3X, 2X, X units of
time
• Labels (Discrete Number)
• Healthy (0)
• Failure within 3X time unit (3Z)
• Failure within 2X time unit (2Z)
• Failure within X time unit (Z)
Multi-class Classification (2)
• Goal: Predict probability of failure next X units of time due to root
cause Pi?
• Labels
• Failure due to different root causes (P1, P2, P3, ..)
• Healthy (0)
Time Series Classification
• If business permits, Classification is preferred over Regression
Data Requirement
• Relevant Data
• Discuss with domain expert
• Sufficient Data
• Duration (Year, Month, Day..)
• Larger number of failures
• Different types of failures
• Quality of data
• Garbage In, Garbage Out
Reference: Google : Hidden Technical Debt in Machine Learning Systems
Data Collection
• Data Source
• Temporal Data
• Equipment’s Health
• Example: Vibration, Voltage, Temperature, Humidity, Pressure etc.
• Collected using IoT sensors
• Temporal features reflecting aging pattern & anomalies
• Represents normal & faulty behaviors over time
• Maintenance history
• Example: Dates of Repair activities, Components replaced etc.
• Captures degradation patterns
• Failure history
• Weather
• Usage (Load) of the equipment
• Static Data
• Equipment Metadata
• Manufacturer, Make, Model
• Manufacture Date, Installation Date, Age
• Geographical Location
Data Exploration & Validation
• Goal : Visualize & Validate
• Data is relevant
• Data includes expected patterns
• In case of no obvious patterns, add more features
Reference: https://cloud.google.com/blog/products/data-analytics/a-process-for-implementing-industrial-predictive-maintenance-part-ii
Data Pre-Processing
• Structure data from various sources into tabular format
• Each row represents state of an equipment at any particular point of time
accompanied with a label
• Up-Sampling/Down-Sampling
• Data Collection frequency may not match with prediction frequency
• Data may be collected hourly, but, failure may be predicted at the day level
Data Pre-Processing
• Missing Value Handling
• Temporal Data (Examples)
• Forward Filling
• Interpolation
• Domain Specific
• Fill missing value of pressure of an equipment on 1 PM, Tuesday
• with last Tuesday 1 PM’s value
• with Tuesday 1 PM’s value averaged over last 1 month
• etc.
• Strategy should be validated using cross-validation
• Removal of duplicates
Feature Engineering
• Goal: Extracts valuable information from raw data which the
algorithm can’t see
Feature Engineering (Temporal Data)
• Aggregation
• Data over individual time units (e.g. days) is noisy
• Needs to be smoothened by aggregating over time windows
• Examples
• Temperature: Fluctuating. Average value over day may rise with degradation
• Vibration: May increase drastically before failure. Max over day could be a
good feature
https://cloud.google.com/blog/products/data-analytics/a-process-for-implementing-industrial-predictive-maintenance-part-ii
https://docs.microsoft.com/en-us/azure/machine-learning/team-data-science-process/predictive-maintenance-playbook
• “How far in future the model has to predict”
influences “how far in past the model has to
look back” to make predictions
• Lag Features
• “Looking back” period is called “Lag”
• Rolling Aggregate (Examples)
• Rolling Average of temperature over last 7, 15, 21
days
• Rolling Max of vibration over last 7, 15, 21 days
• Rolling count of alarms over last 1, 3, 5, 7 days
Feature Engineering (Temporal Data)
Rolling Aggregate
Feature Engineering (Temporal Data)
• Functions For Aggregation
• Count
• Average
• Maximum
• Minimum
• Median
• Standard Deviation
• Variance
• Count
• Sum
• Cumulative Sum
• Derivate
• 2nd Derivate
• Count of outliers
Feature Engineering
• Date
• Day
• Week
• Weekday/Weekend
• Month
• Quarter
• Year
• etc.
• Maintenance Data
• Days since last failure
• Days since last failure because of specific root cause
• Days since specific part replaced
• Days since last maintenance
• Static Data
• Age of the equipment
Model Architecture & Algorithms
Binary Classification Multi-class Classification Regression
RNN, LSTM RNN, LSTM RNN, LSTM
DNN DNN DNN
GBM
Random Forest
SVM (etc.)
GBM
Random Forest
SVM
Hidden Markov Chain (etc.)
GBM
RF Regression (etc.)
Reference: https://cloud.google.com/blog/products/data-analytics/a-process-for-implementing-industrial-predictive-maintenance-part-ii
Cross Validation
• Goal
• Validates a model during & at the end of training
• Reduces Overfitting
• Generalizes well with unknown data
https://scikit-learn.org/stable/modules/cross_validation.html
Time Series Cross Validation
• In PdM, data is ordered following time
• Training, Validation, Test data must be split in Time dependent
manner.
• Validation data must be in future compared to training data
Reference: https://eng.uber.com/forecasting-introduction/
Split between Training & Test Data
• Split by Time
• Separate Train & Test data by the window size (“Look ahead time in future”)
• Split by Equipment
• Better performance with new equipment
Model Evaluation (Binary Classification)
• Goal: What metric to optimize for?
• Determining Factors
• Imbalanced Data
• High Cost of False Alarm
• Performance Metrics
• Accuracy: Not Suitable
• Precision: Lower value corresponds to higher rate of false alarms
• Recall: Higher value corresponds to successful identification of true failures.
• F1 Score: Harmonic average of precision and recall
• RoC (Receiver Operating Characteristics) Curve
Model Serving/Prediction
• Goal: Deploy the model in production, so that it starts making
prediction on new, unseen data
• Need
• Data must be pre-processed & engineered exactly the same way as the model
training
• Suggested Approach : Batch Scoring
• Model’s decision is not needed immediately
• Example : Once in a day predict equipment those are going to fail in next 7
days
Model Monitoring/Maintenance
• Evaluate model’s performance in
production
• Compare predictions vs ground truths
• Did the failures really happened as
predicted by model?
• Was the equipment healthy when
predicted?
• Degradation of model’s performance
may indicate need for retraining
Reference: https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works-mlconcepts.html
References
• Machine Learning
• A visual introduction to machine learning
• Introduction to Machine Learning and Deep Learning by Sebastian Raschka
• Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow
• Predictive Maintenance
• Azure AI guide for predictive maintenance solutions
• A process for implementing industrial predictive maintenance
• A Survey of Predictive Maintenance: Systems, Purposes and Approaches
Question?
arnabbiswas1
arnabbiswas1@gmail.com

Mais conteúdo relacionado

Mais procurados

IoT-Enabled Predictive Maintenance
IoT-Enabled Predictive MaintenanceIoT-Enabled Predictive Maintenance
IoT-Enabled Predictive MaintenanceCloudera, Inc.
 
Ch13 Reliability
Ch13  ReliabilityCh13  Reliability
Ch13 Reliabilityzacksazu
 
Predictive Maintenance vs Preventive Maintenance
Predictive Maintenance vs Preventive MaintenancePredictive Maintenance vs Preventive Maintenance
Predictive Maintenance vs Preventive MaintenanceMobility Work
 
Jet engine remaining useful life prediction
Jet engine remaining useful life predictionJet engine remaining useful life prediction
Jet engine remaining useful life predictionAli Alhamaly
 
Maintenance Management
Maintenance ManagementMaintenance Management
Maintenance ManagementBisina Keshara
 
Edge Computing for the Industry
Edge Computing for the IndustryEdge Computing for the Industry
Edge Computing for the IndustryWilliam Liang
 
AI in Manufacturing: Opportunities & Challenges
AI in Manufacturing: Opportunities & ChallengesAI in Manufacturing: Opportunities & Challenges
AI in Manufacturing: Opportunities & ChallengesTathagat Varma
 
Preventive and predictive maintainence
Preventive and predictive maintainencePreventive and predictive maintainence
Preventive and predictive maintainenceAnkit Narain
 
AI and machine learning
AI and machine learningAI and machine learning
AI and machine learningITU
 
Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...
Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...
Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...SlideTeam
 
Plant Maintenance & Condition Monitoring
Plant Maintenance & Condition MonitoringPlant Maintenance & Condition Monitoring
Plant Maintenance & Condition MonitoringElena Maria Vaccher
 
Reliability Centered Maintenance
Reliability Centered MaintenanceReliability Centered Maintenance
Reliability Centered MaintenanceRonald Shewchuk
 
Basic Maintenance
Basic MaintenanceBasic Maintenance
Basic MaintenanceRAHMAT EIE
 
MAINTENANCE POLICIES – PREVENTIVE MAINTENANCE
MAINTENANCE POLICIES – PREVENTIVE MAINTENANCEMAINTENANCE POLICIES – PREVENTIVE MAINTENANCE
MAINTENANCE POLICIES – PREVENTIVE MAINTENANCElaxtwinsme
 
Best Practices in Maintenance and Reliability
Best Practices in Maintenance and ReliabilityBest Practices in Maintenance and Reliability
Best Practices in Maintenance and ReliabilityRicky Smith CMRP, CMRT
 

Mais procurados (20)

IoT-Enabled Predictive Maintenance
IoT-Enabled Predictive MaintenanceIoT-Enabled Predictive Maintenance
IoT-Enabled Predictive Maintenance
 
Predictive maintenance
Predictive maintenancePredictive maintenance
Predictive maintenance
 
Ch13 Reliability
Ch13  ReliabilityCh13  Reliability
Ch13 Reliability
 
Predictive Maintenance vs Preventive Maintenance
Predictive Maintenance vs Preventive MaintenancePredictive Maintenance vs Preventive Maintenance
Predictive Maintenance vs Preventive Maintenance
 
Jet engine remaining useful life prediction
Jet engine remaining useful life predictionJet engine remaining useful life prediction
Jet engine remaining useful life prediction
 
RCM
RCMRCM
RCM
 
Maintenance Management
Maintenance ManagementMaintenance Management
Maintenance Management
 
Edge Computing for the Industry
Edge Computing for the IndustryEdge Computing for the Industry
Edge Computing for the Industry
 
AI in Manufacturing: Opportunities & Challenges
AI in Manufacturing: Opportunities & ChallengesAI in Manufacturing: Opportunities & Challenges
AI in Manufacturing: Opportunities & Challenges
 
Preventive and predictive maintainence
Preventive and predictive maintainencePreventive and predictive maintainence
Preventive and predictive maintainence
 
AI and machine learning
AI and machine learningAI and machine learning
AI and machine learning
 
Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...
Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...
Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...
 
cAdaptive control
cAdaptive controlcAdaptive control
cAdaptive control
 
Plant Maintenance & Condition Monitoring
Plant Maintenance & Condition MonitoringPlant Maintenance & Condition Monitoring
Plant Maintenance & Condition Monitoring
 
Unit-1 ME 6012
Unit-1 ME 6012Unit-1 ME 6012
Unit-1 ME 6012
 
Reliability Centered Maintenance
Reliability Centered MaintenanceReliability Centered Maintenance
Reliability Centered Maintenance
 
TPM: Planned Maintenance
TPM: Planned MaintenanceTPM: Planned Maintenance
TPM: Planned Maintenance
 
Basic Maintenance
Basic MaintenanceBasic Maintenance
Basic Maintenance
 
MAINTENANCE POLICIES – PREVENTIVE MAINTENANCE
MAINTENANCE POLICIES – PREVENTIVE MAINTENANCEMAINTENANCE POLICIES – PREVENTIVE MAINTENANCE
MAINTENANCE POLICIES – PREVENTIVE MAINTENANCE
 
Best Practices in Maintenance and Reliability
Best Practices in Maintenance and ReliabilityBest Practices in Maintenance and Reliability
Best Practices in Maintenance and Reliability
 

Semelhante a Machine Learning & Predictive Maintenance

Decision Matrix for IoT Product Development
Decision Matrix for IoT Product DevelopmentDecision Matrix for IoT Product Development
Decision Matrix for IoT Product DevelopmentAlexey Pyshkin
 
Bridging the Gap: from Data Science to Production
Bridging the Gap: from Data Science to ProductionBridging the Gap: from Data Science to Production
Bridging the Gap: from Data Science to ProductionFlorian Wilhelm
 
Productionising Machine Learning Models
Productionising Machine Learning ModelsProductionising Machine Learning Models
Productionising Machine Learning ModelsTash Bickley
 
Rise of the machines -- Owasp israel -- June 2014 meetup
Rise of the machines -- Owasp israel -- June 2014 meetupRise of the machines -- Owasp israel -- June 2014 meetup
Rise of the machines -- Owasp israel -- June 2014 meetupShlomo Yona
 
AI for Software Engineering
AI for Software EngineeringAI for Software Engineering
AI for Software EngineeringMiroslaw Staron
 
Ibm colloquium 070915_nyberg
Ibm colloquium 070915_nybergIbm colloquium 070915_nyberg
Ibm colloquium 070915_nybergdiannepatricia
 
Enabling Automated Software Testing with Artificial Intelligence
Enabling Automated Software Testing with Artificial IntelligenceEnabling Automated Software Testing with Artificial Intelligence
Enabling Automated Software Testing with Artificial IntelligenceLionel Briand
 
Software Engineering Lec 1-introduction
Software Engineering Lec 1-introductionSoftware Engineering Lec 1-introduction
Software Engineering Lec 1-introductionTaymoor Nazmy
 
Building a Real-Time Security Application Using Log Data and Machine Learning...
Building a Real-Time Security Application Using Log Data and Machine Learning...Building a Real-Time Security Application Using Log Data and Machine Learning...
Building a Real-Time Security Application Using Log Data and Machine Learning...Sri Ambati
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Agile Development – Why requirements matter by Fariz Saracevic
Agile Development – Why requirements matter by Fariz SaracevicAgile Development – Why requirements matter by Fariz Saracevic
Agile Development – Why requirements matter by Fariz SaracevicAgile ME
 
Traditional Machine Learning and Deep Learning on OpenPOWER/POWER systems
Traditional Machine Learning and Deep Learning on OpenPOWER/POWER systemsTraditional Machine Learning and Deep Learning on OpenPOWER/POWER systems
Traditional Machine Learning and Deep Learning on OpenPOWER/POWER systemsGanesan Narayanasamy
 
The differing ways to monitor and instrument
The differing ways to monitor and instrumentThe differing ways to monitor and instrument
The differing ways to monitor and instrumentJonah Kowall
 
Machine Learning for Capacity Management
 Machine Learning for Capacity Management Machine Learning for Capacity Management
Machine Learning for Capacity ManagementEDB
 

Semelhante a Machine Learning & Predictive Maintenance (20)

Decision Matrix for IoT Product Development
Decision Matrix for IoT Product DevelopmentDecision Matrix for IoT Product Development
Decision Matrix for IoT Product Development
 
SESE 2021: Where Systems Engineering meets AI/ML
SESE 2021: Where Systems Engineering meets AI/MLSESE 2021: Where Systems Engineering meets AI/ML
SESE 2021: Where Systems Engineering meets AI/ML
 
Bridging the Gap: from Data Science to Production
Bridging the Gap: from Data Science to ProductionBridging the Gap: from Data Science to Production
Bridging the Gap: from Data Science to Production
 
HR management system
HR management systemHR management system
HR management system
 
Productionising Machine Learning Models
Productionising Machine Learning ModelsProductionising Machine Learning Models
Productionising Machine Learning Models
 
Rise of the machines -- Owasp israel -- June 2014 meetup
Rise of the machines -- Owasp israel -- June 2014 meetupRise of the machines -- Owasp israel -- June 2014 meetup
Rise of the machines -- Owasp israel -- June 2014 meetup
 
AI for Software Engineering
AI for Software EngineeringAI for Software Engineering
AI for Software Engineering
 
DE PPT.pptx
DE PPT.pptxDE PPT.pptx
DE PPT.pptx
 
Ibm colloquium 070915_nyberg
Ibm colloquium 070915_nybergIbm colloquium 070915_nyberg
Ibm colloquium 070915_nyberg
 
Enabling Automated Software Testing with Artificial Intelligence
Enabling Automated Software Testing with Artificial IntelligenceEnabling Automated Software Testing with Artificial Intelligence
Enabling Automated Software Testing with Artificial Intelligence
 
Seminar on Project Management by Rj
Seminar on Project Management by RjSeminar on Project Management by Rj
Seminar on Project Management by Rj
 
Visual Studio Profiler
Visual Studio ProfilerVisual Studio Profiler
Visual Studio Profiler
 
Software Engineering Lec 1-introduction
Software Engineering Lec 1-introductionSoftware Engineering Lec 1-introduction
Software Engineering Lec 1-introduction
 
Building a Real-Time Security Application Using Log Data and Machine Learning...
Building a Real-Time Security Application Using Log Data and Machine Learning...Building a Real-Time Security Application Using Log Data and Machine Learning...
Building a Real-Time Security Application Using Log Data and Machine Learning...
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Agile Development – Why requirements matter by Fariz Saracevic
Agile Development – Why requirements matter by Fariz SaracevicAgile Development – Why requirements matter by Fariz Saracevic
Agile Development – Why requirements matter by Fariz Saracevic
 
Traditional Machine Learning and Deep Learning on OpenPOWER/POWER systems
Traditional Machine Learning and Deep Learning on OpenPOWER/POWER systemsTraditional Machine Learning and Deep Learning on OpenPOWER/POWER systems
Traditional Machine Learning and Deep Learning on OpenPOWER/POWER systems
 
The differing ways to monitor and instrument
The differing ways to monitor and instrumentThe differing ways to monitor and instrument
The differing ways to monitor and instrument
 
SE Unit-1.pptx
SE Unit-1.pptxSE Unit-1.pptx
SE Unit-1.pptx
 
Machine Learning for Capacity Management
 Machine Learning for Capacity Management Machine Learning for Capacity Management
Machine Learning for Capacity Management
 

Último

Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxolyaivanovalion
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Onlineanilsa9823
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlkumarajju5765
 

Último (20)

Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptx
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
 

Machine Learning & Predictive Maintenance

  • 1. Machine Learning & Its Application In Predictive Maintenance Arnab Biswas arnabbiswas1@gmail.com arnabbiswas1
  • 2. Table of Content • Basics of Machine Learning • Classical Programming vs Machine Learning • Types of Machine Learning • Types of Supervised Learning • Application of ML in Predictive Maintenance (PdM) • Types of Maintenance • Goals & Use Cases for PdM • Data Science For PdM
  • 3. What is Machine Learning? Task : Predict the price of an apartment in Bangalore
  • 4. Classical Programming / Software 1.0 • Take help of a domain expert • Survey existing apartments in Bangalore • Identify factors contributing to the price of an apartment • Area • Size • Number of Bedrooms, Bathrooms • Name of the builder • etc. • Write a program which outputs the price based on the attributes identified Reference : https://medium.com/@karpathy/software-2-0-a64152b37c35
  • 5. Classical Programming / Software 1.0 Software 1.0 Data Rule Answer
  • 6. Machine Learning/Software 2.0 • First Step: Collect data (as much as possible) Reference : https://www.kaggle.com/amitabhajoy/bengaluru-house-price-data
  • 8. Software 1.0 vs 2.0 Software 2.0 Data Rule Answer Software 1.0 Data Rule Answer
  • 11. ML Works Better When… • Problems for which classical programming requires long list of rules which is difficult to maintain. ML can simplify the code. • ML “automatically” discovers change in data. Classical Programming needs manual update in the rules. • ML performs better for complex problems (Image, Text, Audio etc.) • Humans can gain insights from ML models
  • 12. Humans can gain insights from ML models • Stages of Cancer • Medical textbooks decides based on number of “yes” to the questions: 1. Has the cancer affected more than one lymph node? 2. Are the cancerous lymph nodes both above & below the bottom of the rib cage? 3. Is the cancer found in organs outside lymphatic system (in patient's bone marrow)? • A 2018 Research paper (University of Modena & Reggio Emilia) • Analyzed 15 variables, identifying 5 features • Due to limited cognitive ability, humans need a handful of most obvious signifiers/features • ML/AI decides based on hundreds if not thousands distinct features • May include traditional as well as less intuitive features
  • 13. Machine Learning : Formal Definition • A Machine is Learning when it improves at a task based on experience at that task, but without explicit programming. Reference : https://cloud.google.com/products/ai/ml-comic-1/
  • 14. AI vs ML • AI: Quest for developing non-biological systems that exhibit human-like forms of intelligence. Reference: https://sebastianraschka.com/blog/2020/intro-to-dl-ch01.html
  • 15. Examples of Machine Learning • Recommending a video/song (Recommender System) • Detecting cancer based on X-Ray Image (Computer Vision) • Forecasting company’s revenue based on various factors (Time Series Forecasting) • Summarizing long document into smaller, meaningful text (Language Processing) • Writing HTML, SQL, Unix code based on human language (Language Processing - GTP-3)
  • 16. Types of ML Systems • Whether or not trained with human supervision • Supervised Learning • Unsupervised Learning • Reinforcement Learning • Whether learning is incremental • Online Learning • Batch Learning • Instance based vs Model based learning
  • 17. Supervised Learning • User provides the algorithm with inputs (features) and desired outputs (labels) • The algorithm can create an output for an unseen input • User (Teacher) is supervising the algorithm to learn Input Output
  • 18. Unsupervised Learning • Only input data is known & passed to algorithm • Output data is unknown • Often used in understanding data better before solving a supervised learning problem • Usually harder to understand and evaluate • Applications • Segmenting readers based on their reading habits • Identifying topics of news articles • Anomaly Detection • Dimensionality Reduction • Clustering Input
  • 19. Unsupervised Learning : Clustering • Each dot on plot represents a research article on COVID Reference: https://maksimekin.github.io/COVID19-Literature-Clustering/plots/t-sne_covid-19_interactive.html
  • 20. Reinforcement Learning • Steps • Learning system (agent) observes an environment • Selects & performs actions • Gets rewarded or punished for actions • Learning system must learn by itself the best strategy (policy) to win most reward over time. • Examples • Robotics • AlphaGo Program • Energy Efficiency Reference: Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow
  • 21. Supervised Machine Learning • Regression: Goal is to predict a continuous number • Classification: Goal is to predict a class label Label: Continuous Number Label: Distinct Values Reference: https://sebastianraschka.com/blog/2020/intro-to-dl-ch01.html
  • 23. Types of Maintenance • Reactive Maintenance • Parts of an equipment are replaced only on failure • Doesn’t waste part’s life, but results in downtime, unscheduled maintenance • Preventive Maintenance • Replaces a part after pre-determined useful lifespan, before it fails • Avoids unscheduled maintenance • Under utilization of parts • Predictive Maintenance • Replaces only the parts close to their failure (Just in time replacement) • Extends part’s lifespan • Reduce unscheduled maintenance Reference: https://docs.microsoft.com/en-us/azure/machine-learning/team-data-science-process/predictive-maintenance-playbook https://arxiv.org/pdf/1912.07383.pdf
  • 24. Predictive Maintenance (PdM) : Goals • Predict if an equipment is going to fail in near future • Predict days to failure • Helps in scheduling a maintenance • Predict most probable root cause of a failure • Helps in identifying part(s) to repair/replace
  • 25. Sample Use Cases • Failure of engine parts in an aircraft • HVAC equipment failure • Elevators door failure • Wind turbine failure • Failure of wheels of train
  • 26. Data Science For Predictive Maintenance • Steps • Convert Business Problem into Data Science problem • Understand Data • Prepare Data • Building Model • Evaluate Model • Deploy Model • Monitor/Maintain Model Reference: https://en.wikipedia.org/wiki/Cross-industry_standard_process_for_data_mining
  • 27. Business problem into Data Science problem • Binary Classification • Predict probability for an equipment to fail within a future time period • Regression • Predict amount of time that an equipment is operational before next failure • Multi-class classification • Predict probability for an equipment to fail within next ..3X, 2X, X unit of time • Predict probability for an equipment to fail within a future time period for a particular root cause
  • 28. Binary Classification • Goal: Predict probability of failure within next X unit of time • Labels (Discrete Number) • Failure within X time unit (1) • Healthy (0) Reference: https://docs.microsoft.com/en-us/azure/machine-learning/team-data-science-process/predictive-maintenance-playbook
  • 29. Regression • Goal: Predict remaining useful life (RUL) of the equipment • Label: Time for which an asset is operational before next failure (RUL) • Continuous Number • Disadvantage • Equipment without any failures cannot be used for modeling
  • 30. Multi-class Classification (1) • Goal: Predict the probability of failure within next …, 3X, 2X, X units of time • Labels (Discrete Number) • Healthy (0) • Failure within 3X time unit (3Z) • Failure within 2X time unit (2Z) • Failure within X time unit (Z)
  • 31. Multi-class Classification (2) • Goal: Predict probability of failure next X units of time due to root cause Pi? • Labels • Failure due to different root causes (P1, P2, P3, ..) • Healthy (0)
  • 32. Time Series Classification • If business permits, Classification is preferred over Regression
  • 33. Data Requirement • Relevant Data • Discuss with domain expert • Sufficient Data • Duration (Year, Month, Day..) • Larger number of failures • Different types of failures • Quality of data • Garbage In, Garbage Out Reference: Google : Hidden Technical Debt in Machine Learning Systems
  • 34. Data Collection • Data Source • Temporal Data • Equipment’s Health • Example: Vibration, Voltage, Temperature, Humidity, Pressure etc. • Collected using IoT sensors • Temporal features reflecting aging pattern & anomalies • Represents normal & faulty behaviors over time • Maintenance history • Example: Dates of Repair activities, Components replaced etc. • Captures degradation patterns • Failure history • Weather • Usage (Load) of the equipment • Static Data • Equipment Metadata • Manufacturer, Make, Model • Manufacture Date, Installation Date, Age • Geographical Location
  • 35. Data Exploration & Validation • Goal : Visualize & Validate • Data is relevant • Data includes expected patterns • In case of no obvious patterns, add more features Reference: https://cloud.google.com/blog/products/data-analytics/a-process-for-implementing-industrial-predictive-maintenance-part-ii
  • 36. Data Pre-Processing • Structure data from various sources into tabular format • Each row represents state of an equipment at any particular point of time accompanied with a label • Up-Sampling/Down-Sampling • Data Collection frequency may not match with prediction frequency • Data may be collected hourly, but, failure may be predicted at the day level
  • 37. Data Pre-Processing • Missing Value Handling • Temporal Data (Examples) • Forward Filling • Interpolation • Domain Specific • Fill missing value of pressure of an equipment on 1 PM, Tuesday • with last Tuesday 1 PM’s value • with Tuesday 1 PM’s value averaged over last 1 month • etc. • Strategy should be validated using cross-validation • Removal of duplicates
  • 38. Feature Engineering • Goal: Extracts valuable information from raw data which the algorithm can’t see
  • 39. Feature Engineering (Temporal Data) • Aggregation • Data over individual time units (e.g. days) is noisy • Needs to be smoothened by aggregating over time windows • Examples • Temperature: Fluctuating. Average value over day may rise with degradation • Vibration: May increase drastically before failure. Max over day could be a good feature https://cloud.google.com/blog/products/data-analytics/a-process-for-implementing-industrial-predictive-maintenance-part-ii https://docs.microsoft.com/en-us/azure/machine-learning/team-data-science-process/predictive-maintenance-playbook
  • 40. • “How far in future the model has to predict” influences “how far in past the model has to look back” to make predictions • Lag Features • “Looking back” period is called “Lag” • Rolling Aggregate (Examples) • Rolling Average of temperature over last 7, 15, 21 days • Rolling Max of vibration over last 7, 15, 21 days • Rolling count of alarms over last 1, 3, 5, 7 days Feature Engineering (Temporal Data) Rolling Aggregate
  • 41. Feature Engineering (Temporal Data) • Functions For Aggregation • Count • Average • Maximum • Minimum • Median • Standard Deviation • Variance • Count • Sum • Cumulative Sum • Derivate • 2nd Derivate • Count of outliers
  • 42. Feature Engineering • Date • Day • Week • Weekday/Weekend • Month • Quarter • Year • etc. • Maintenance Data • Days since last failure • Days since last failure because of specific root cause • Days since specific part replaced • Days since last maintenance • Static Data • Age of the equipment
  • 43. Model Architecture & Algorithms Binary Classification Multi-class Classification Regression RNN, LSTM RNN, LSTM RNN, LSTM DNN DNN DNN GBM Random Forest SVM (etc.) GBM Random Forest SVM Hidden Markov Chain (etc.) GBM RF Regression (etc.) Reference: https://cloud.google.com/blog/products/data-analytics/a-process-for-implementing-industrial-predictive-maintenance-part-ii
  • 44. Cross Validation • Goal • Validates a model during & at the end of training • Reduces Overfitting • Generalizes well with unknown data https://scikit-learn.org/stable/modules/cross_validation.html
  • 45. Time Series Cross Validation • In PdM, data is ordered following time • Training, Validation, Test data must be split in Time dependent manner. • Validation data must be in future compared to training data Reference: https://eng.uber.com/forecasting-introduction/
  • 46. Split between Training & Test Data • Split by Time • Separate Train & Test data by the window size (“Look ahead time in future”) • Split by Equipment • Better performance with new equipment
  • 47. Model Evaluation (Binary Classification) • Goal: What metric to optimize for? • Determining Factors • Imbalanced Data • High Cost of False Alarm • Performance Metrics • Accuracy: Not Suitable • Precision: Lower value corresponds to higher rate of false alarms • Recall: Higher value corresponds to successful identification of true failures. • F1 Score: Harmonic average of precision and recall • RoC (Receiver Operating Characteristics) Curve
  • 48. Model Serving/Prediction • Goal: Deploy the model in production, so that it starts making prediction on new, unseen data • Need • Data must be pre-processed & engineered exactly the same way as the model training • Suggested Approach : Batch Scoring • Model’s decision is not needed immediately • Example : Once in a day predict equipment those are going to fail in next 7 days
  • 49. Model Monitoring/Maintenance • Evaluate model’s performance in production • Compare predictions vs ground truths • Did the failures really happened as predicted by model? • Was the equipment healthy when predicted? • Degradation of model’s performance may indicate need for retraining Reference: https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works-mlconcepts.html
  • 50. References • Machine Learning • A visual introduction to machine learning • Introduction to Machine Learning and Deep Learning by Sebastian Raschka • Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow • Predictive Maintenance • Azure AI guide for predictive maintenance solutions • A process for implementing industrial predictive maintenance • A Survey of Predictive Maintenance: Systems, Purposes and Approaches

Notas do Editor

  1. - If
  2. RoC : A curve of true positive rate vs. false positive rate at different classification thresholds. AuC : The Area Under the ROC curve is the probability that a classifier will be more confident that a randomly chosen positive example is actually positive than that a randomly chosen negative example is positive.