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

➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...amitlee9823
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
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
 
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
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...amitlee9823
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...SUHANI PANDEY
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra 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
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
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
 

Recently uploaded (20)

➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
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
 
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 ...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra 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
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
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
 
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
 

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