SlideShare a Scribd company logo
1 of 20
Download to read offline
© 2019 KNIME AG. All Right Reserved.
Discover Unknown Frauds and Anomalies
using Machine Learning
Kathrin Melcher
kathrin.melcher@knime.com
© 2019 KNIME AG. All Rights Reserved.
Anomaly Detection: Use Cases
3
Fault Detection
Fraud Detection
Predictive Maintenance
Intrusion
Medicine
Heart Beat
Sensor Data
AssemblingDetails
Transactions
Networks
Finance
IoT
Weather Information
Fraud Detection
Predictive Maintenance
System Health Monitoring
© 2019 KNIME AG. All Rights Reserved.
Anomaly Detection
What have all those use cases in common?
• Discover rare events that shouldn’t happen => often no labeled data
• Find a problem before other people see it => anomaly is unknown
Example with 2 dimensions, e.g. vibration and heat of an engine:
4
Historical data of normal
New data samples
How can we detect the anomalies?
© 2019 KNIME AG. All Rights Reserved.
Use Case 1:
Fraud Detection
6
© 2019 KNIME AG. All Rights Reserved.
The Dataset
• Kaggle Dataset https://www.kaggle.com/mlg-ulb/creditcardfraud
• 284 807 credit card transactions performed in September 2013 by
European cardholders
• 492 (0.2 %) transactions in the dataset are fraudulent
• Features:
– 28 principal components
– Time from the first transaction
– Amount of money
7
© 2019 KNIME AG. All Rights Reserved.
The KNIME Community Workflow Hub
8
https://hub.knime.com
© 2019 KNIME AG. All Rights Reserved.
Fraud Detection with Labeled Data
Model Training
Model Deployment
© 2019 KNIME AG. All Rights Reserved.
Fraud Detection using Autoencoder
11
Input Layer Hidden Layers Output Layer
Input ! Output !‘
!#$% − !#$%
' ( > * ⇒ anomaly
Each layer:
23(!356) = 9(: !356 ) = 9(;356 !356))
f is a non-linear activation function,
e.g. tanh, relu.
min
;= 3∈(6,(,@,A)
B(!, !') with
B !, !’ =
1
E
F
GH6
I
! − !' (
Execution of the Network:
The network structure on the left:
! ∈ ℝK
ℎ6 ! = 96 ;6! ∈ ℝ@
ℎ( ! = 9((;(26) ∈ ℝ(
ℎ@ ! = 9@ ;@2( ∈ ℝ@
!′ = 9A ;A2@ ∈ ℝK
Training of the network:
© 2019 KNIME AG. All Rights Reserved.
Fraud Detection using Autoencoder
13
© 2019 KNIME AG. All Rights Reserved.
Deployment via REST on KNIME Server
14
Workflow deployed as (REST) web service on KNIME Server
Workflow calling another workflow on KNIME Server
© 2019 KNIME AG. All Rights Reserved.
Use Case II
Anomaly Detection in Predictive Maintenance (IoT)
15
© 2019 KNIME AG. All Rights Reserved.
The Data
• 28 time series from 28 sensors attached to 8 different part of a rotor
• Time Series are FFT-derived Spectral Amplitudes
[date, time, FFT frequency, FFT amplitude]
• After Preprocessing: 313 time series for different frequency bands (100
Hz-wide) falling between 0 Hz and 1200 Hz and different sensors
• One breakdown, which is visible only from some sensors and only in
some frequency bands
16
© 2019 KNIME AG. All Rights Reserved.
A1-SV3 [500, 600] Hz
New motor piece
Old motor piece
Breaking point
July 21, 2008
Only some Spectral Time Series shows the break down
A1-SV3 [0, 100] Hz
Data Visualization: Time Plots by Frequency Bands
18
White paper: https://files.knime.com/sites/default/files/inline-images/knime_anomaly_detection_visualization.pdf
Community Hub: https://hub.knime.com/knime/workflows/*Ra9zhH3q0zKo-tUu
© 2019 KNIME AG. All Rights Reserved.
Control Chart (Rule Based)
• Define signal boundaries based on anomaly-free time windows
!"# = %&' + 2 ∗ +,--.& /.%+01. > !"# ⇒ 4.&.4 1 %4%1/
#"# = %&' − 2 ∗ +,--.& /.%+01. < #"# ⇒ 4.&.4 1 %4%1/
• Sequence of level 1 alarms across many time series => level 2 alarm
19
White paper: https://files.knime.com/sites/default/files/181212_Whitepaper_Anomaly_Detection_Predictive_Maintenance_KNIME.pdf
Community Hub: https://hub.knime.com/knime/workflows/*OwayKRE08PXVWiqx
© 2019 KNIME AG. All Rights Reserved.
A1-SV3 [0, 100] Hz
A1-SV3 [500, 600] Hz
Breaking point
July 21, 2008
31 August 2007
Training Set
Predictive Maintenance
Learn “normal”: Training Set
21
Idea:
1. Train Auto-Regressive (AR)
Model for each time series
on “ normal” data
2. Apply model and calculate
distance between predicted
and real values
3. Define alarm levels based
on distance statistics
© 2019 KNIME AG. All Rights Reserved.
Training of an Auto-Regressive Model
22
Community Hub: https://hub.knime.com/knime/workflows/*OwayKRE08PXVWiqx
© 2019 KNIME AG. All Rights Reserved.
Deployment of an Auto-Regressive Model
23
Community Hub: https://hub.knime.com/knime/workflows/*OwayKRE08PXVWiqx
© 2019 KNIME AG. All Rights Reserved.
Time Series Production: Use KNIME to Send Alarms !!!
25
© 2019 KNIME AG. All Rights Reserved.
Free Copy Practicing Data Science
26
• 2nd Edition: 22 Case Studies!
• Available at KNIME Press:
https://www.knime.com/knimepress
• Select book “Practicing Data Science”
• For free copy, use promotion code:
MEETUP-VIENNA-PDS
© 2019 KNIME AG. All Rights Reserved.
The KNIME® trademark and logo and OPEN FOR INNOVATION® trademark are used by
KNIME AG under license from KNIME GmbH, and are registered in the United States.
KNIME® is also registered in Germany.
27

More Related Content

What's hot

Advanced analytics for the Internet of Things. Restocking Rental Bike Stations
Advanced analytics for the Internet of Things. Restocking Rental Bike StationsAdvanced analytics for the Internet of Things. Restocking Rental Bike Stations
Advanced analytics for the Internet of Things. Restocking Rental Bike StationsKNIMESlides
 
Automating Inferences out of Financial Data
Automating Inferences out of Financial DataAutomating Inferences out of Financial Data
Automating Inferences out of Financial DataKNIMESlides
 
Sharing and Deploying Data Science with KNIME Server
Sharing and Deploying Data Science with KNIME ServerSharing and Deploying Data Science with KNIME Server
Sharing and Deploying Data Science with KNIME ServerKNIMESlides
 
Webinar: Behind the Scenes on Guided Analytics
Webinar: Behind the Scenes on Guided AnalyticsWebinar: Behind the Scenes on Guided Analytics
Webinar: Behind the Scenes on Guided AnalyticsKNIMESlides
 
Sentiment Analysis with KNIME Analytics Platform
Sentiment Analysis with KNIME Analytics PlatformSentiment Analysis with KNIME Analytics Platform
Sentiment Analysis with KNIME Analytics PlatformKNIMESlides
 
Heterogeneous Data Mining with Spark
Heterogeneous Data Mining with SparkHeterogeneous Data Mining with Spark
Heterogeneous Data Mining with SparkKNIMESlides
 
Chemistry Data Basics with KNIME Analytics Platform
Chemistry Data Basics with KNIME Analytics PlatformChemistry Data Basics with KNIME Analytics Platform
Chemistry Data Basics with KNIME Analytics PlatformKNIMESlides
 
From Raw Data to Deployment
From Raw Data to DeploymentFrom Raw Data to Deployment
From Raw Data to DeploymentKNIMESlides
 
What's New in KNIME Analytics Platform 4.1
What's New in KNIME Analytics Platform 4.1What's New in KNIME Analytics Platform 4.1
What's New in KNIME Analytics Platform 4.1KNIMESlides
 
Daho.am meetup kubernetes evolution @abi
Daho.am meetup   kubernetes evolution @abiDaho.am meetup   kubernetes evolution @abi
Daho.am meetup kubernetes evolution @abiOvidiu Hutuleac
 
AWS reInvent 2019 Trip Report
AWS reInvent 2019 Trip ReportAWS reInvent 2019 Trip Report
AWS reInvent 2019 Trip ReportCraig Milroy
 
#AI + #Cloud = #DigitalTransformation
#AI + #Cloud = #DigitalTransformation#AI + #Cloud = #DigitalTransformation
#AI + #Cloud = #DigitalTransformationCraig Milroy
 
Software-Cluster Internationalisation focusing Bahia/Brazil: R+D project of t...
Software-Cluster Internationalisation focusing Bahia/Brazil: R+D project of t...Software-Cluster Internationalisation focusing Bahia/Brazil: R+D project of t...
Software-Cluster Internationalisation focusing Bahia/Brazil: R+D project of t...ElisabethStemmler
 
Big Data LDN 2017: Your flight is boarding now!
Big Data LDN 2017: Your flight is boarding now!Big Data LDN 2017: Your flight is boarding now!
Big Data LDN 2017: Your flight is boarding now!Matt Stubbs
 
Jan Kema - Fugro
Jan Kema - FugroJan Kema - Fugro
Jan Kema - FugroDutch Power
 
The Race To Better Datacenters - Tailormade Colocation by Globalways AG
The Race To Better Datacenters - Tailormade Colocation by Globalways AGThe Race To Better Datacenters - Tailormade Colocation by Globalways AG
The Race To Better Datacenters - Tailormade Colocation by Globalways AGMarkus Binder
 
Real Time Analytics
Real Time AnalyticsReal Time Analytics
Real Time AnalyticsPeter Milne
 

What's hot (19)

Advanced analytics for the Internet of Things. Restocking Rental Bike Stations
Advanced analytics for the Internet of Things. Restocking Rental Bike StationsAdvanced analytics for the Internet of Things. Restocking Rental Bike Stations
Advanced analytics for the Internet of Things. Restocking Rental Bike Stations
 
Automating Inferences out of Financial Data
Automating Inferences out of Financial DataAutomating Inferences out of Financial Data
Automating Inferences out of Financial Data
 
Sharing and Deploying Data Science with KNIME Server
Sharing and Deploying Data Science with KNIME ServerSharing and Deploying Data Science with KNIME Server
Sharing and Deploying Data Science with KNIME Server
 
Webinar: Behind the Scenes on Guided Analytics
Webinar: Behind the Scenes on Guided AnalyticsWebinar: Behind the Scenes on Guided Analytics
Webinar: Behind the Scenes on Guided Analytics
 
Sentiment Analysis with KNIME Analytics Platform
Sentiment Analysis with KNIME Analytics PlatformSentiment Analysis with KNIME Analytics Platform
Sentiment Analysis with KNIME Analytics Platform
 
Heterogeneous Data Mining with Spark
Heterogeneous Data Mining with SparkHeterogeneous Data Mining with Spark
Heterogeneous Data Mining with Spark
 
Chemistry Data Basics with KNIME Analytics Platform
Chemistry Data Basics with KNIME Analytics PlatformChemistry Data Basics with KNIME Analytics Platform
Chemistry Data Basics with KNIME Analytics Platform
 
From Raw Data to Deployment
From Raw Data to DeploymentFrom Raw Data to Deployment
From Raw Data to Deployment
 
What's New in KNIME Analytics Platform 4.1
What's New in KNIME Analytics Platform 4.1What's New in KNIME Analytics Platform 4.1
What's New in KNIME Analytics Platform 4.1
 
Daho.am meetup kubernetes evolution @abi
Daho.am meetup   kubernetes evolution @abiDaho.am meetup   kubernetes evolution @abi
Daho.am meetup kubernetes evolution @abi
 
AWS reInvent 2019 Trip Report
AWS reInvent 2019 Trip ReportAWS reInvent 2019 Trip Report
AWS reInvent 2019 Trip Report
 
#AI + #Cloud = #DigitalTransformation
#AI + #Cloud = #DigitalTransformation#AI + #Cloud = #DigitalTransformation
#AI + #Cloud = #DigitalTransformation
 
Software-Cluster Internationalisation focusing Bahia/Brazil: R+D project of t...
Software-Cluster Internationalisation focusing Bahia/Brazil: R+D project of t...Software-Cluster Internationalisation focusing Bahia/Brazil: R+D project of t...
Software-Cluster Internationalisation focusing Bahia/Brazil: R+D project of t...
 
Big Data LDN 2017: Your flight is boarding now!
Big Data LDN 2017: Your flight is boarding now!Big Data LDN 2017: Your flight is boarding now!
Big Data LDN 2017: Your flight is boarding now!
 
Jan Kema - Fugro
Jan Kema - FugroJan Kema - Fugro
Jan Kema - Fugro
 
Progress on the New York Declaration on Forests
Progress on the New York Declaration on ForestsProgress on the New York Declaration on Forests
Progress on the New York Declaration on Forests
 
Precisition Agriculture - (Stephan Vormbrock, CLAAS)
Precisition Agriculture - (Stephan Vormbrock, CLAAS)Precisition Agriculture - (Stephan Vormbrock, CLAAS)
Precisition Agriculture - (Stephan Vormbrock, CLAAS)
 
The Race To Better Datacenters - Tailormade Colocation by Globalways AG
The Race To Better Datacenters - Tailormade Colocation by Globalways AGThe Race To Better Datacenters - Tailormade Colocation by Globalways AG
The Race To Better Datacenters - Tailormade Colocation by Globalways AG
 
Real Time Analytics
Real Time AnalyticsReal Time Analytics
Real Time Analytics
 

Similar to Anomaly Detection - Discover unknown Frauds and Anomalies using Machine Learning

Credit Card Fraud Detection Tutorial
Credit Card Fraud Detection TutorialCredit Card Fraud Detection Tutorial
Credit Card Fraud Detection TutorialKNIMESlides
 
Safety Verification and Software aspects of Automotive SoC
Safety Verification and Software aspects of Automotive SoCSafety Verification and Software aspects of Automotive SoC
Safety Verification and Software aspects of Automotive SoCPankaj Singh
 
ATM Security System Based on the Video Surveillance Using Neural Networks
ATM Security System Based on the Video Surveillance Using Neural NetworksATM Security System Based on the Video Surveillance Using Neural Networks
ATM Security System Based on the Video Surveillance Using Neural NetworksIRJET Journal
 
IRJET- EVM Monitoring and Security over IoT
IRJET- EVM Monitoring and Security over IoTIRJET- EVM Monitoring and Security over IoT
IRJET- EVM Monitoring and Security over IoTIRJET Journal
 
Advanced Anti-Theft & Home Safety System using GSM
Advanced Anti-Theft & Home Safety System using GSMAdvanced Anti-Theft & Home Safety System using GSM
Advanced Anti-Theft & Home Safety System using GSMIRJET Journal
 
Sensor Fault Detection in IoT System Using Machine Learning
Sensor Fault Detection in IoT System Using Machine LearningSensor Fault Detection in IoT System Using Machine Learning
Sensor Fault Detection in IoT System Using Machine LearningIRJET Journal
 
IRJET-An Automatic Fire Detection and Warning System under Home Video Surveil...
IRJET-An Automatic Fire Detection and Warning System under Home Video Surveil...IRJET-An Automatic Fire Detection and Warning System under Home Video Surveil...
IRJET-An Automatic Fire Detection and Warning System under Home Video Surveil...IRJET Journal
 
Study on Smart Security Technology for Women based on IOT
Study on Smart Security Technology for Women based on IOTStudy on Smart Security Technology for Women based on IOT
Study on Smart Security Technology for Women based on IOTIRJET Journal
 
Synthesis and Refinement of Artificial HVAC Sensor Data Intended for Supervis...
Synthesis and Refinement of Artificial HVAC Sensor Data Intended for Supervis...Synthesis and Refinement of Artificial HVAC Sensor Data Intended for Supervis...
Synthesis and Refinement of Artificial HVAC Sensor Data Intended for Supervis...IES VE
 
Supervision Reporting Service
Supervision Reporting ServiceSupervision Reporting Service
Supervision Reporting Servicem0gabr79
 
S4x20 - Tuning ICS Security Alerts: An Alarm Management Approach
S4x20 - Tuning ICS Security Alerts: An Alarm Management ApproachS4x20 - Tuning ICS Security Alerts: An Alarm Management Approach
S4x20 - Tuning ICS Security Alerts: An Alarm Management ApproachChris Sistrunk
 
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety Critical ...
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety Critical ...IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety Critical ...
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety Critical ...IRJET Journal
 
GDPR Session - TYPO3 - t3dd
GDPR Session - TYPO3 - t3dd GDPR Session - TYPO3 - t3dd
GDPR Session - TYPO3 - t3dd Karen Falkenberg
 
CLASS 2016 - Palestra Márcio Santos
CLASS 2016 - Palestra Márcio Santos CLASS 2016 - Palestra Márcio Santos
CLASS 2016 - Palestra Márcio Santos TI Safe
 
Final nc paper
Final nc  paperFinal nc  paper
Final nc paperchaithrdg
 
machinelearningedgedetectionfaultdetection.pptx
machinelearningedgedetectionfaultdetection.pptxmachinelearningedgedetectionfaultdetection.pptx
machinelearningedgedetectionfaultdetection.pptxlalithavaddadi
 
Journey to the Center of Security Operations
Journey to the Center of Security OperationsJourney to the Center of Security Operations
Journey to the Center of Security Operations♟Sergej Epp
 
"Can We Have Both Safety and Performance in AI for Autonomous Vehicles?," a P...
"Can We Have Both Safety and Performance in AI for Autonomous Vehicles?," a P..."Can We Have Both Safety and Performance in AI for Autonomous Vehicles?," a P...
"Can We Have Both Safety and Performance in AI for Autonomous Vehicles?," a P...Edge AI and Vision Alliance
 

Similar to Anomaly Detection - Discover unknown Frauds and Anomalies using Machine Learning (20)

Credit Card Fraud Detection Tutorial
Credit Card Fraud Detection TutorialCredit Card Fraud Detection Tutorial
Credit Card Fraud Detection Tutorial
 
Safety Verification and Software aspects of Automotive SoC
Safety Verification and Software aspects of Automotive SoCSafety Verification and Software aspects of Automotive SoC
Safety Verification and Software aspects of Automotive SoC
 
ATM Security System Based on the Video Surveillance Using Neural Networks
ATM Security System Based on the Video Surveillance Using Neural NetworksATM Security System Based on the Video Surveillance Using Neural Networks
ATM Security System Based on the Video Surveillance Using Neural Networks
 
IRJET- EVM Monitoring and Security over IoT
IRJET- EVM Monitoring and Security over IoTIRJET- EVM Monitoring and Security over IoT
IRJET- EVM Monitoring and Security over IoT
 
Advanced Anti-Theft & Home Safety System using GSM
Advanced Anti-Theft & Home Safety System using GSMAdvanced Anti-Theft & Home Safety System using GSM
Advanced Anti-Theft & Home Safety System using GSM
 
Sensor Fault Detection in IoT System Using Machine Learning
Sensor Fault Detection in IoT System Using Machine LearningSensor Fault Detection in IoT System Using Machine Learning
Sensor Fault Detection in IoT System Using Machine Learning
 
Reliability Case Results
Reliability Case ResultsReliability Case Results
Reliability Case Results
 
IRJET-An Automatic Fire Detection and Warning System under Home Video Surveil...
IRJET-An Automatic Fire Detection and Warning System under Home Video Surveil...IRJET-An Automatic Fire Detection and Warning System under Home Video Surveil...
IRJET-An Automatic Fire Detection and Warning System under Home Video Surveil...
 
Study on Smart Security Technology for Women based on IOT
Study on Smart Security Technology for Women based on IOTStudy on Smart Security Technology for Women based on IOT
Study on Smart Security Technology for Women based on IOT
 
SBCCI08
SBCCI08SBCCI08
SBCCI08
 
Synthesis and Refinement of Artificial HVAC Sensor Data Intended for Supervis...
Synthesis and Refinement of Artificial HVAC Sensor Data Intended for Supervis...Synthesis and Refinement of Artificial HVAC Sensor Data Intended for Supervis...
Synthesis and Refinement of Artificial HVAC Sensor Data Intended for Supervis...
 
Supervision Reporting Service
Supervision Reporting ServiceSupervision Reporting Service
Supervision Reporting Service
 
S4x20 - Tuning ICS Security Alerts: An Alarm Management Approach
S4x20 - Tuning ICS Security Alerts: An Alarm Management ApproachS4x20 - Tuning ICS Security Alerts: An Alarm Management Approach
S4x20 - Tuning ICS Security Alerts: An Alarm Management Approach
 
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety Critical ...
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety Critical ...IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety Critical ...
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety Critical ...
 
GDPR Session - TYPO3 - t3dd
GDPR Session - TYPO3 - t3dd GDPR Session - TYPO3 - t3dd
GDPR Session - TYPO3 - t3dd
 
CLASS 2016 - Palestra Márcio Santos
CLASS 2016 - Palestra Márcio Santos CLASS 2016 - Palestra Márcio Santos
CLASS 2016 - Palestra Márcio Santos
 
Final nc paper
Final nc  paperFinal nc  paper
Final nc paper
 
machinelearningedgedetectionfaultdetection.pptx
machinelearningedgedetectionfaultdetection.pptxmachinelearningedgedetectionfaultdetection.pptx
machinelearningedgedetectionfaultdetection.pptx
 
Journey to the Center of Security Operations
Journey to the Center of Security OperationsJourney to the Center of Security Operations
Journey to the Center of Security Operations
 
"Can We Have Both Safety and Performance in AI for Autonomous Vehicles?," a P...
"Can We Have Both Safety and Performance in AI for Autonomous Vehicles?," a P..."Can We Have Both Safety and Performance in AI for Autonomous Vehicles?," a P...
"Can We Have Both Safety and Performance in AI for Autonomous Vehicles?," a P...
 

More from KNIMESlides

Practicing Data Science: A Collection of Case Studies
Practicing Data Science: A Collection of Case StudiesPracticing Data Science: A Collection of Case Studies
Practicing Data Science: A Collection of Case StudiesKNIMESlides
 
What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9
What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9
What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9KNIMESlides
 
Sentiment Analysis with Deep Learning, Machine Learning or Lexicon based
Sentiment Analysis with Deep Learning, Machine Learning or Lexicon basedSentiment Analysis with Deep Learning, Machine Learning or Lexicon based
Sentiment Analysis with Deep Learning, Machine Learning or Lexicon basedKNIMESlides
 
KNIME Data Science Learnathon: From Raw Data To Deployment
KNIME Data Science Learnathon: From Raw Data To DeploymentKNIME Data Science Learnathon: From Raw Data To Deployment
KNIME Data Science Learnathon: From Raw Data To DeploymentKNIMESlides
 
KNIME Software Overview
KNIME Software OverviewKNIME Software Overview
KNIME Software OverviewKNIMESlides
 
From raw data to deployment
From raw data to deployment From raw data to deployment
From raw data to deployment KNIMESlides
 
Knime customer intelligence on social media: Text Analytics vs. Network Mining
Knime customer intelligence on social media: Text Analytics vs. Network MiningKnime customer intelligence on social media: Text Analytics vs. Network Mining
Knime customer intelligence on social media: Text Analytics vs. Network MiningKNIMESlides
 
Text Processing with KNIME
Text Processing with KNIMEText Processing with KNIME
Text Processing with KNIMEKNIMESlides
 
Big Data with KNIME is as easy as 1, 2, 3, ...4!
Big Data with KNIME is as easy as 1, 2, 3, ...4!Big Data with KNIME is as easy as 1, 2, 3, ...4!
Big Data with KNIME is as easy as 1, 2, 3, ...4!KNIMESlides
 

More from KNIMESlides (9)

Practicing Data Science: A Collection of Case Studies
Practicing Data Science: A Collection of Case StudiesPracticing Data Science: A Collection of Case Studies
Practicing Data Science: A Collection of Case Studies
 
What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9
What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9
What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9
 
Sentiment Analysis with Deep Learning, Machine Learning or Lexicon based
Sentiment Analysis with Deep Learning, Machine Learning or Lexicon basedSentiment Analysis with Deep Learning, Machine Learning or Lexicon based
Sentiment Analysis with Deep Learning, Machine Learning or Lexicon based
 
KNIME Data Science Learnathon: From Raw Data To Deployment
KNIME Data Science Learnathon: From Raw Data To DeploymentKNIME Data Science Learnathon: From Raw Data To Deployment
KNIME Data Science Learnathon: From Raw Data To Deployment
 
KNIME Software Overview
KNIME Software OverviewKNIME Software Overview
KNIME Software Overview
 
From raw data to deployment
From raw data to deployment From raw data to deployment
From raw data to deployment
 
Knime customer intelligence on social media: Text Analytics vs. Network Mining
Knime customer intelligence on social media: Text Analytics vs. Network MiningKnime customer intelligence on social media: Text Analytics vs. Network Mining
Knime customer intelligence on social media: Text Analytics vs. Network Mining
 
Text Processing with KNIME
Text Processing with KNIMEText Processing with KNIME
Text Processing with KNIME
 
Big Data with KNIME is as easy as 1, 2, 3, ...4!
Big Data with KNIME is as easy as 1, 2, 3, ...4!Big Data with KNIME is as easy as 1, 2, 3, ...4!
Big Data with KNIME is as easy as 1, 2, 3, ...4!
 

Recently uploaded

Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
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
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
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
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
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
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 

Recently uploaded (20)

꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
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
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
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
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
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
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 

Anomaly Detection - Discover unknown Frauds and Anomalies using Machine Learning

  • 1. © 2019 KNIME AG. All Right Reserved. Discover Unknown Frauds and Anomalies using Machine Learning Kathrin Melcher kathrin.melcher@knime.com
  • 2. © 2019 KNIME AG. All Rights Reserved. Anomaly Detection: Use Cases 3 Fault Detection Fraud Detection Predictive Maintenance Intrusion Medicine Heart Beat Sensor Data AssemblingDetails Transactions Networks Finance IoT Weather Information Fraud Detection Predictive Maintenance System Health Monitoring
  • 3. © 2019 KNIME AG. All Rights Reserved. Anomaly Detection What have all those use cases in common? • Discover rare events that shouldn’t happen => often no labeled data • Find a problem before other people see it => anomaly is unknown Example with 2 dimensions, e.g. vibration and heat of an engine: 4 Historical data of normal New data samples How can we detect the anomalies?
  • 4. © 2019 KNIME AG. All Rights Reserved. Use Case 1: Fraud Detection 6
  • 5. © 2019 KNIME AG. All Rights Reserved. The Dataset • Kaggle Dataset https://www.kaggle.com/mlg-ulb/creditcardfraud • 284 807 credit card transactions performed in September 2013 by European cardholders • 492 (0.2 %) transactions in the dataset are fraudulent • Features: – 28 principal components – Time from the first transaction – Amount of money 7
  • 6. © 2019 KNIME AG. All Rights Reserved. The KNIME Community Workflow Hub 8 https://hub.knime.com
  • 7. © 2019 KNIME AG. All Rights Reserved. Fraud Detection with Labeled Data Model Training Model Deployment
  • 8. © 2019 KNIME AG. All Rights Reserved. Fraud Detection using Autoencoder 11 Input Layer Hidden Layers Output Layer Input ! Output !‘ !#$% − !#$% ' ( > * ⇒ anomaly Each layer: 23(!356) = 9(: !356 ) = 9(;356 !356)) f is a non-linear activation function, e.g. tanh, relu. min ;= 3∈(6,(,@,A) B(!, !') with B !, !’ = 1 E F GH6 I ! − !' ( Execution of the Network: The network structure on the left: ! ∈ ℝK ℎ6 ! = 96 ;6! ∈ ℝ@ ℎ( ! = 9((;(26) ∈ ℝ( ℎ@ ! = 9@ ;@2( ∈ ℝ@ !′ = 9A ;A2@ ∈ ℝK Training of the network:
  • 9. © 2019 KNIME AG. All Rights Reserved. Fraud Detection using Autoencoder 13
  • 10. © 2019 KNIME AG. All Rights Reserved. Deployment via REST on KNIME Server 14 Workflow deployed as (REST) web service on KNIME Server Workflow calling another workflow on KNIME Server
  • 11. © 2019 KNIME AG. All Rights Reserved. Use Case II Anomaly Detection in Predictive Maintenance (IoT) 15
  • 12. © 2019 KNIME AG. All Rights Reserved. The Data • 28 time series from 28 sensors attached to 8 different part of a rotor • Time Series are FFT-derived Spectral Amplitudes [date, time, FFT frequency, FFT amplitude] • After Preprocessing: 313 time series for different frequency bands (100 Hz-wide) falling between 0 Hz and 1200 Hz and different sensors • One breakdown, which is visible only from some sensors and only in some frequency bands 16
  • 13. © 2019 KNIME AG. All Rights Reserved. A1-SV3 [500, 600] Hz New motor piece Old motor piece Breaking point July 21, 2008 Only some Spectral Time Series shows the break down A1-SV3 [0, 100] Hz Data Visualization: Time Plots by Frequency Bands 18 White paper: https://files.knime.com/sites/default/files/inline-images/knime_anomaly_detection_visualization.pdf Community Hub: https://hub.knime.com/knime/workflows/*Ra9zhH3q0zKo-tUu
  • 14. © 2019 KNIME AG. All Rights Reserved. Control Chart (Rule Based) • Define signal boundaries based on anomaly-free time windows !"# = %&' + 2 ∗ +,--.& /.%+01. > !"# ⇒ 4.&.4 1 %4%1/ #"# = %&' − 2 ∗ +,--.& /.%+01. < #"# ⇒ 4.&.4 1 %4%1/ • Sequence of level 1 alarms across many time series => level 2 alarm 19 White paper: https://files.knime.com/sites/default/files/181212_Whitepaper_Anomaly_Detection_Predictive_Maintenance_KNIME.pdf Community Hub: https://hub.knime.com/knime/workflows/*OwayKRE08PXVWiqx
  • 15. © 2019 KNIME AG. All Rights Reserved. A1-SV3 [0, 100] Hz A1-SV3 [500, 600] Hz Breaking point July 21, 2008 31 August 2007 Training Set Predictive Maintenance Learn “normal”: Training Set 21 Idea: 1. Train Auto-Regressive (AR) Model for each time series on “ normal” data 2. Apply model and calculate distance between predicted and real values 3. Define alarm levels based on distance statistics
  • 16. © 2019 KNIME AG. All Rights Reserved. Training of an Auto-Regressive Model 22 Community Hub: https://hub.knime.com/knime/workflows/*OwayKRE08PXVWiqx
  • 17. © 2019 KNIME AG. All Rights Reserved. Deployment of an Auto-Regressive Model 23 Community Hub: https://hub.knime.com/knime/workflows/*OwayKRE08PXVWiqx
  • 18. © 2019 KNIME AG. All Rights Reserved. Time Series Production: Use KNIME to Send Alarms !!! 25
  • 19. © 2019 KNIME AG. All Rights Reserved. Free Copy Practicing Data Science 26 • 2nd Edition: 22 Case Studies! • Available at KNIME Press: https://www.knime.com/knimepress • Select book “Practicing Data Science” • For free copy, use promotion code: MEETUP-VIENNA-PDS
  • 20. © 2019 KNIME AG. All Rights Reserved. The KNIME® trademark and logo and OPEN FOR INNOVATION® trademark are used by KNIME AG under license from KNIME GmbH, and are registered in the United States. KNIME® is also registered in Germany. 27