SlideShare a Scribd company logo
A practical look at how to build &
run IoT business logic
Veselin Pizurica, CTO and co-founder
Belgian B2B software company, founded in 2014
Automation and time series analytics for IoT
Deployed at 40 enterprise customers in USA, Europe,
Australia
Connect & Collect Visualize Analytics Automation
1. Typical/standard IoT Architecture is not designed with
automation in mind
2. Difficulties (of complexity, scale etc.) in implementing
automation scenarios using existing Rules Engines
Where to place the
automation dot?
Analytics Automation
Automation requires constant connections to:
● Stream data
● Time series (historical) data
● Anomaly detection/prediction models
● Meta model (digital twins, relations etc.)
● ERP (IT) systems
● Notifications (email, SMS, calls …)
● ML (REST)
● API (external services)
1. Typical/standard IoT Architecture is not designed with
automation in mind
2. Difficulties (in complexity, scale etc.) to implement
automation scenarios using existing Rules Engines
define a benchmark
scoremetrics
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Explainability Adaptability Operability Scalability
Is the technology powerful enough? Can it easily be deployed in IoT use cases?
1. Combining multiple non-binary outcomes of functions (observations) in
the rule, beyond Boolean true/false states.
2. Dealing with majority voting conditions in the rule
3. Handling conditional executions of functions based on the outcomes of
previous observations
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
1. Set up a condition where any 2 out of 3 measurements are out of range:
a. Is the room temperature below 18 or above 26?
b. Is the humidity below 60 or above 80?
c. Is the CO2 level above 500?
2. If the condition is met, check the weather outside.
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
Combining multiple non-binary outcomes and
dealing with majority voting conditions in the rule (54 possible outcomes)
Handling conditional executions of functions
based on the outcomes of previous
observations
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
CO2 temperature humidity
Above In Range Below
Above In Range Above
Above Below In Range
In Range Below Below
Below Below Below
Above Below Below
In Range Below Above
Below Below Above
Above Below Above
Above Above In Range
In Range Above Below
Below Above Below
Above Above Below
In Range Above Above
Below Above Above
Above Above Above
1. Dealing with the past
→ handling expired or soon-to-expire information
2. Dealing with the present
→ combining asynchronous and synchronous information
3. Dealing with the future
→ forecasting for prediction and anomaly detection
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
Two door motions sensors would trigger further
processing only if they both happen within 10 seconds
Searching for “on/off/on” events, before taking
further actions
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
Dealing with time in the rule
Stream data sensor will be executed as soon as it receives stream data, while the polling sensor
will be checking outside temperature every 5 minutes.
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
Synch and asynch events in the rule
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
Waylay NV 2019 | Proprietary & Confidential
“I just want to do basic anomaly detection”
Waylay NV 2019 | Proprietary & Confidential
Expected pattern Anomaly pattern
Anomalous outlier
● Granularity?
● Aggregation?
● Sampling rate?
● Sensitivity?
● Confidence?
● Algorithm?
● Window size?
● Seasonality?
● Reaction time?
rule
Using anomalies and predictions inside the
rules, just like any other sensory input
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
Anomaly detection & prediction
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
Anomaly detection & prediction
Anomaly detection
Inactivity
detection
Forecast
Time to target
prediction
Classification
1. Modeling the utility function
→ as we rank and define our preferences among alternative uncertain outcomes, we need rules
where for the same outcome of an observation, different actions can be taken.
2. Support for probabilistic reasoning
→ for even more advanced use cases, the rule engine should support logic building based on
the likelihood of different outcomes for one given sensory output.
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
1. Fridge is not open before 10AM,
2. Medicines were not taken in the morning,
3. There was no motion detected in the bathroom for the past 8 hours
If two out of three indicators are present, send SMS to children (so they can try
to call and reach out), if all three indicators are present, call the ambulance.
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
1 ➔
Modeling
complex logic
Modeling
time
Modeling
uncertainty
Is the technology powerful enough?
2 ➔
3 ➔
4 ➔
The confidence of alarms changes based on the observations
1. The intent of the rule should be easily understandable by all users,
developers and business owners alike.
2. The representation of the logic should be compact.
3. Simulation and debugging (exploration) should be available:
a. during design time - verify the intended logic by testing rules against data logs or
simulating logic statements to verify outcomes.
b. at runtime - reconstruct decisions made by the rule engine based on the rules logs and
the states of observations.
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Explainability - simple translation from rules schema to UI
API rule
Fridge temperature goes above 15 degrees
a. We need to check the asset location in order to create a ticket
b. In case we find person responsible for maintenance and location is
known:
i. Check who is on support call over the week
ii. Send him an email
iii. Send SMS
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Find asset in SAP database
Fridge temperature above
Create ticket
Get the day in the week
Find a support person and his contact details
We know the location
and contact person
Notify that person
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
State observations
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Simulation during design time
Checking
runtime rules,
observations
and data
State observations
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Debugging rules at runtime
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Template Batch run, running rules against data logs
1. Flexibility
→ changing and updating rules should be easy and performing these changes at runtime
should be possible with no service interruption or downtime.
2. Extensibility
→ in order to account for future growth, the rule engine should be capable to support
extensions and integration with external systems, such as third-party API services.
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
A water sample is evaluated for compliance with an established water
standard. Sometimes, the presence of one condition modifies another.
For example, consider a case in which new research shows that the
permissible concentration of benzene (nominally at 0.005 mg/L) should be
reduced in the presence of carbofuran (permissible limit of 0.04 mg/L) by 50
percent (new limit = 0.0025 mg/L).
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Benzene level monitoring template
Running rule in production
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Create rule with only one threshold
1. Template update:
A. change the threshold for benzene,
B. add additional condition for carbofuran levels
C. change the alarm logic
3. New logic applied
2. Update rules at runtime, with zero downtime
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Update rule at runtime
Customer starts a POC with one ERP system and wants to roll out another one
in production
Customer wants to switch from one CRM provider to another one
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Use case with one set of IT systems
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
The same use case with SalesForce
● Templating
.. so that you can apply the same rule to multiple of devices, or to similar use cases
● Versioning
.. of both templates and running rules, for snapshotting and rollbacks
● Searchability
.. to easily search rules by name, API in use, type of device and other filters
● Rules analytics
.. to understand which of your rules triggered the most, most common actions
● Bulk upgrades
.. to perform lifecycle mngt across groups of rules, useful for updates or end-of-life
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Templating
Bulk template upgrade
Version changes
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Versioning & upgrades
Fuzzy search, based on
template or task names
Search by sensors or
actuators that are in use
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Searching rules
To enable easy sharding, the rules engine should provide a good initial
framework and abstractions for distributed computing.
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
1. Sharded inference engine for rules evaluation
2. CEP engine for fast stream in memory processing
3. API calls delegated to sharded sandbox executors - stateless
serverless pattern
4. Sharded broker (protocol bridge with sharded stream forwarders)
5. Time Series database based on Cassandra
6. Metamodels backed by Elastic
7. Anomaly detection and prediction module are sharded
microservices
Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
Forward
Chaining
Flow Based
Processing
Condition - Action Decision Trees /
Tables
- Red Hat Drools
- OpenHab
- Cumulocity
- AWS rule engine
- Thingsboard
- Node-RED
- Yahoo Pipes
- IFTTT - Drools
Stream Processing Complex Event
Processing
Finite State
Machines
Bayesian Inference
Engines
- Flink
- Spark
- Storm
- WS02
- Foghorn
- Litmus
- SalesForce IoT
Explorer
- AWS Step
Functions
- Waylay
Bayesian Inference
Engines (Waylay)
Forward Chaining
Engines
Condition - Action
Engines
Flow Processing
Engines
Decision Trees /
Decision Tables
Stream Processing
Engines
Complex Event
Processing Engines
Finite State
Machines
Healthcare
Agriculture
Tracking /
Utility
Smart Home Industry 4.0
Smart City Edge
Connected
Building
Use the benchmark to evaluate any automation
tool for IoT
https://www.waylay.io/download-how-to-choose-a-rules-engine.html
Check out the in-depth scores for popular
automation frameworks
https://www.waylay.io/download-the-guide-to-iot-rules-engines.html
Q&A!
Veselin Pizurica
CTO, Waylay
@pizuricv
www.waylay.io

More Related Content

What's hot

Machine Learning and Internet of Things
Machine Learning and Internet of ThingsMachine Learning and Internet of Things
Machine Learning and Internet of Things
Sofian Hadiwijaya
 
Zühlke Meetup - Mai 2017
Zühlke Meetup - Mai 2017Zühlke Meetup - Mai 2017
Zühlke Meetup - Mai 2017
Boris Adryan
 
Think Big | Enterprise Artificial Intelligence
Think Big | Enterprise Artificial IntelligenceThink Big | Enterprise Artificial Intelligence
Think Big | Enterprise Artificial Intelligence
Data Science Milan
 
Data science for smart manufacturing at Pirelli
Data science for smart manufacturing at PirelliData science for smart manufacturing at Pirelli
Data science for smart manufacturing at Pirelli
Data Science Milan
 
eBay Intelligent Architecture
eBay Intelligent ArchitectureeBay Intelligent Architecture
eBay Intelligent Architecture
Hanzhang Wang
 
Image Caption Generation: Intro to Distributed Tensorflow and Distributed Sco...
Image Caption Generation: Intro to Distributed Tensorflow and Distributed Sco...Image Caption Generation: Intro to Distributed Tensorflow and Distributed Sco...
Image Caption Generation: Intro to Distributed Tensorflow and Distributed Sco...
ICTeam S.p.A.
 
Insights and Graph-based ML Anomaly Detection for eBay Edge Services
 Insights and Graph-based ML Anomaly Detection for eBay Edge Services Insights and Graph-based ML Anomaly Detection for eBay Edge Services
Insights and Graph-based ML Anomaly Detection for eBay Edge Services
Hanzhang Wang
 
Real-Time Machine Learning at Industrial scale (University of Oxford, 9th Oct...
Real-Time Machine Learning at Industrial scale (University of Oxford, 9th Oct...Real-Time Machine Learning at Industrial scale (University of Oxford, 9th Oct...
Real-Time Machine Learning at Industrial scale (University of Oxford, 9th Oct...
TUMRA | Big Data Science - Gain a competitive advantage through Big Data & Data Science
 
DN18 | Applied Machine Learning in Cybersecurity: Detect malicious DGA Domain...
DN18 | Applied Machine Learning in Cybersecurity: Detect malicious DGA Domain...DN18 | Applied Machine Learning in Cybersecurity: Detect malicious DGA Domain...
DN18 | Applied Machine Learning in Cybersecurity: Detect malicious DGA Domain...
Dataconomy Media
 
EclipseCon France 2015 - Science Track
EclipseCon France 2015 - Science TrackEclipseCon France 2015 - Science Track
EclipseCon France 2015 - Science Track
Boris Adryan
 
Architecting AI Applications
Architecting AI ApplicationsArchitecting AI Applications
Architecting AI Applications
Mikio L. Braun
 
Artificial Intelligence (AI) in media applications and services
Artificial Intelligence (AI) in media applications and servicesArtificial Intelligence (AI) in media applications and services
Artificial Intelligence (AI) in media applications and services
Förderverein Technische Fakultät
 
Big image analytics for (Re-) insurer
 Big image analytics for (Re-) insurer Big image analytics for (Re-) insurer
Big image analytics for (Re-) insurer
Flavio Trolese
 
Scaling AI in production using PyTorch
Scaling AI in production using PyTorchScaling AI in production using PyTorch
Scaling AI in production using PyTorch
geetachauhan
 
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...
Dataconomy Media
 
Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...
Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...
Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...
Hong-Linh Truong
 
IoT-Lite: A Lightweight Semantic Model for the Internet of Things
IoT-Lite:  A Lightweight Semantic Model for the Internet of ThingsIoT-Lite:  A Lightweight Semantic Model for the Internet of Things
IoT-Lite: A Lightweight Semantic Model for the Internet of Things
PayamBarnaghi
 
Machine Learning in the Real World
Machine Learning in the Real WorldMachine Learning in the Real World
Machine Learning in the Real World
Srinath Perera
 

What's hot (18)

Machine Learning and Internet of Things
Machine Learning and Internet of ThingsMachine Learning and Internet of Things
Machine Learning and Internet of Things
 
Zühlke Meetup - Mai 2017
Zühlke Meetup - Mai 2017Zühlke Meetup - Mai 2017
Zühlke Meetup - Mai 2017
 
Think Big | Enterprise Artificial Intelligence
Think Big | Enterprise Artificial IntelligenceThink Big | Enterprise Artificial Intelligence
Think Big | Enterprise Artificial Intelligence
 
Data science for smart manufacturing at Pirelli
Data science for smart manufacturing at PirelliData science for smart manufacturing at Pirelli
Data science for smart manufacturing at Pirelli
 
eBay Intelligent Architecture
eBay Intelligent ArchitectureeBay Intelligent Architecture
eBay Intelligent Architecture
 
Image Caption Generation: Intro to Distributed Tensorflow and Distributed Sco...
Image Caption Generation: Intro to Distributed Tensorflow and Distributed Sco...Image Caption Generation: Intro to Distributed Tensorflow and Distributed Sco...
Image Caption Generation: Intro to Distributed Tensorflow and Distributed Sco...
 
Insights and Graph-based ML Anomaly Detection for eBay Edge Services
 Insights and Graph-based ML Anomaly Detection for eBay Edge Services Insights and Graph-based ML Anomaly Detection for eBay Edge Services
Insights and Graph-based ML Anomaly Detection for eBay Edge Services
 
Real-Time Machine Learning at Industrial scale (University of Oxford, 9th Oct...
Real-Time Machine Learning at Industrial scale (University of Oxford, 9th Oct...Real-Time Machine Learning at Industrial scale (University of Oxford, 9th Oct...
Real-Time Machine Learning at Industrial scale (University of Oxford, 9th Oct...
 
DN18 | Applied Machine Learning in Cybersecurity: Detect malicious DGA Domain...
DN18 | Applied Machine Learning in Cybersecurity: Detect malicious DGA Domain...DN18 | Applied Machine Learning in Cybersecurity: Detect malicious DGA Domain...
DN18 | Applied Machine Learning in Cybersecurity: Detect malicious DGA Domain...
 
EclipseCon France 2015 - Science Track
EclipseCon France 2015 - Science TrackEclipseCon France 2015 - Science Track
EclipseCon France 2015 - Science Track
 
Architecting AI Applications
Architecting AI ApplicationsArchitecting AI Applications
Architecting AI Applications
 
Artificial Intelligence (AI) in media applications and services
Artificial Intelligence (AI) in media applications and servicesArtificial Intelligence (AI) in media applications and services
Artificial Intelligence (AI) in media applications and services
 
Big image analytics for (Re-) insurer
 Big image analytics for (Re-) insurer Big image analytics for (Re-) insurer
Big image analytics for (Re-) insurer
 
Scaling AI in production using PyTorch
Scaling AI in production using PyTorchScaling AI in production using PyTorch
Scaling AI in production using PyTorch
 
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...
 
Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...
Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...
Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...
 
IoT-Lite: A Lightweight Semantic Model for the Internet of Things
IoT-Lite:  A Lightweight Semantic Model for the Internet of ThingsIoT-Lite:  A Lightweight Semantic Model for the Internet of Things
IoT-Lite: A Lightweight Semantic Model for the Internet of Things
 
Machine Learning in the Real World
Machine Learning in the Real WorldMachine Learning in the Real World
Machine Learning in the Real World
 

Similar to A practical look at how to build & run IoT business logic

From Duke of DevOps to Queen of Chaos - Api days 2018
From Duke of DevOps to Queen of Chaos - Api days 2018From Duke of DevOps to Queen of Chaos - Api days 2018
From Duke of DevOps to Queen of Chaos - Api days 2018
Christophe Rochefolle
 
STOCK MARKET PREDICTION USING NEURAL NETWORKS
STOCK MARKET PREDICTION USING NEURAL NETWORKSSTOCK MARKET PREDICTION USING NEURAL NETWORKS
STOCK MARKET PREDICTION USING NEURAL NETWORKS
IRJET Journal
 
Optimizing connected system performance md&m-anaheim-sandhi bhide 02-07-2017
Optimizing connected system performance md&m-anaheim-sandhi bhide 02-07-2017Optimizing connected system performance md&m-anaheim-sandhi bhide 02-07-2017
Optimizing connected system performance md&m-anaheim-sandhi bhide 02-07-2017
sandhibhide
 
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
Curiosity Software Ireland
 
Getting Started with IoT by Niraj Shah
Getting Started with IoT by Niraj ShahGetting Started with IoT by Niraj Shah
Getting Started with IoT by Niraj Shah
momoahmedabad
 
Webinar - Transforming Manufacturing with IoT
Webinar - Transforming Manufacturing with IoTWebinar - Transforming Manufacturing with IoT
Webinar - Transforming Manufacturing with IoT
HARMAN Services
 
Machine Learning + Analytics in Splunk
Machine Learning + Analytics in Splunk Machine Learning + Analytics in Splunk
Machine Learning + Analytics in Splunk
Splunk
 
Smart Grids and Big Data
Smart Grids and Big DataSmart Grids and Big Data
Smart Grids and Big Data
Dave Callaghan
 
A Survey on Batch Auditing Systems for Cloud Storage
A Survey on Batch Auditing Systems for Cloud StorageA Survey on Batch Auditing Systems for Cloud Storage
A Survey on Batch Auditing Systems for Cloud Storage
IRJET Journal
 
Highly dependable automotive software
Highly dependable automotive softwareHighly dependable automotive software
Highly dependable automotive software
Alan Tatourian
 
Smart Home Automation using Voice Assistant
Smart Home Automation using Voice AssistantSmart Home Automation using Voice Assistant
Smart Home Automation using Voice Assistant
Tezpur University
 
Internet of Things Microservices
Internet of Things MicroservicesInternet of Things Microservices
Internet of Things Microservices
Capgemini
 
SplunkLive! Zurich 2018: Integrating Metrics and Logs
SplunkLive! Zurich 2018: Integrating Metrics and LogsSplunkLive! Zurich 2018: Integrating Metrics and Logs
SplunkLive! Zurich 2018: Integrating Metrics and Logs
Splunk
 
Skynet project: Monitor, analyze, scale, and maintain a system in the Cloud
Skynet project: Monitor, analyze, scale, and maintain a system in the CloudSkynet project: Monitor, analyze, scale, and maintain a system in the Cloud
Skynet project: Monitor, analyze, scale, and maintain a system in the Cloud
Sylvain Kalache
 
Comparing the performance of a business process: using Excel & Python
Comparing the performance of a business process: using Excel & PythonComparing the performance of a business process: using Excel & Python
Comparing the performance of a business process: using Excel & Python
IRJET Journal
 
IRJET- Smart Home Automation using IoT and Deep Learning
IRJET-  	  Smart Home Automation using IoT and Deep LearningIRJET-  	  Smart Home Automation using IoT and Deep Learning
IRJET- Smart Home Automation using IoT and Deep Learning
IRJET Journal
 
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM France Lab
 
SplunkLive! Paris 2018: Integrating Metrics and Logs
SplunkLive! Paris 2018: Integrating Metrics and LogsSplunkLive! Paris 2018: Integrating Metrics and Logs
SplunkLive! Paris 2018: Integrating Metrics and Logs
Splunk
 
On the Application of AI for Failure Management: Problems, Solutions and Algo...
On the Application of AI for Failure Management: Problems, Solutions and Algo...On the Application of AI for Failure Management: Problems, Solutions and Algo...
On the Application of AI for Failure Management: Problems, Solutions and Algo...
Jorge Cardoso
 
Dynamic Semantics for Semantics for Dynamic IoT Environments
Dynamic Semantics for Semantics for Dynamic IoT EnvironmentsDynamic Semantics for Semantics for Dynamic IoT Environments
Dynamic Semantics for Semantics for Dynamic IoT Environments
PayamBarnaghi
 

Similar to A practical look at how to build & run IoT business logic (20)

From Duke of DevOps to Queen of Chaos - Api days 2018
From Duke of DevOps to Queen of Chaos - Api days 2018From Duke of DevOps to Queen of Chaos - Api days 2018
From Duke of DevOps to Queen of Chaos - Api days 2018
 
STOCK MARKET PREDICTION USING NEURAL NETWORKS
STOCK MARKET PREDICTION USING NEURAL NETWORKSSTOCK MARKET PREDICTION USING NEURAL NETWORKS
STOCK MARKET PREDICTION USING NEURAL NETWORKS
 
Optimizing connected system performance md&m-anaheim-sandhi bhide 02-07-2017
Optimizing connected system performance md&m-anaheim-sandhi bhide 02-07-2017Optimizing connected system performance md&m-anaheim-sandhi bhide 02-07-2017
Optimizing connected system performance md&m-anaheim-sandhi bhide 02-07-2017
 
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
Curiosity and Sauce Labs present - When to stop testing: 3 dimensions of test...
 
Getting Started with IoT by Niraj Shah
Getting Started with IoT by Niraj ShahGetting Started with IoT by Niraj Shah
Getting Started with IoT by Niraj Shah
 
Webinar - Transforming Manufacturing with IoT
Webinar - Transforming Manufacturing with IoTWebinar - Transforming Manufacturing with IoT
Webinar - Transforming Manufacturing with IoT
 
Machine Learning + Analytics in Splunk
Machine Learning + Analytics in Splunk Machine Learning + Analytics in Splunk
Machine Learning + Analytics in Splunk
 
Smart Grids and Big Data
Smart Grids and Big DataSmart Grids and Big Data
Smart Grids and Big Data
 
A Survey on Batch Auditing Systems for Cloud Storage
A Survey on Batch Auditing Systems for Cloud StorageA Survey on Batch Auditing Systems for Cloud Storage
A Survey on Batch Auditing Systems for Cloud Storage
 
Highly dependable automotive software
Highly dependable automotive softwareHighly dependable automotive software
Highly dependable automotive software
 
Smart Home Automation using Voice Assistant
Smart Home Automation using Voice AssistantSmart Home Automation using Voice Assistant
Smart Home Automation using Voice Assistant
 
Internet of Things Microservices
Internet of Things MicroservicesInternet of Things Microservices
Internet of Things Microservices
 
SplunkLive! Zurich 2018: Integrating Metrics and Logs
SplunkLive! Zurich 2018: Integrating Metrics and LogsSplunkLive! Zurich 2018: Integrating Metrics and Logs
SplunkLive! Zurich 2018: Integrating Metrics and Logs
 
Skynet project: Monitor, analyze, scale, and maintain a system in the Cloud
Skynet project: Monitor, analyze, scale, and maintain a system in the CloudSkynet project: Monitor, analyze, scale, and maintain a system in the Cloud
Skynet project: Monitor, analyze, scale, and maintain a system in the Cloud
 
Comparing the performance of a business process: using Excel & Python
Comparing the performance of a business process: using Excel & PythonComparing the performance of a business process: using Excel & Python
Comparing the performance of a business process: using Excel & Python
 
IRJET- Smart Home Automation using IoT and Deep Learning
IRJET-  	  Smart Home Automation using IoT and Deep LearningIRJET-  	  Smart Home Automation using IoT and Deep Learning
IRJET- Smart Home Automation using IoT and Deep Learning
 
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
 
SplunkLive! Paris 2018: Integrating Metrics and Logs
SplunkLive! Paris 2018: Integrating Metrics and LogsSplunkLive! Paris 2018: Integrating Metrics and Logs
SplunkLive! Paris 2018: Integrating Metrics and Logs
 
On the Application of AI for Failure Management: Problems, Solutions and Algo...
On the Application of AI for Failure Management: Problems, Solutions and Algo...On the Application of AI for Failure Management: Problems, Solutions and Algo...
On the Application of AI for Failure Management: Problems, Solutions and Algo...
 
Dynamic Semantics for Semantics for Dynamic IoT Environments
Dynamic Semantics for Semantics for Dynamic IoT EnvironmentsDynamic Semantics for Semantics for Dynamic IoT Environments
Dynamic Semantics for Semantics for Dynamic IoT Environments
 

More from Veselin Pizurica

Has serverless adoption hit a roadblock?
Has serverless adoption hit a roadblock?Has serverless adoption hit a roadblock?
Has serverless adoption hit a roadblock?
Veselin Pizurica
 
How to use probabilistic inference programming for application orchestration ...
How to use probabilistic inference programming for application orchestration ...How to use probabilistic inference programming for application orchestration ...
How to use probabilistic inference programming for application orchestration ...
Veselin Pizurica
 
Waylay - We are hiring
Waylay - We are hiringWaylay - We are hiring
Waylay - We are hiring
Veselin Pizurica
 
Waylay building smart city solution: IoT convention Antwerp
Waylay building smart city solution: IoT convention AntwerpWaylay building smart city solution: IoT convention Antwerp
Waylay building smart city solution: IoT convention Antwerp
Veselin Pizurica
 
Artificial intelligence by Aleksandra Pizurica
Artificial intelligence by Aleksandra PizuricaArtificial intelligence by Aleksandra Pizurica
Artificial intelligence by Aleksandra Pizurica
Veselin Pizurica
 
Automation is eating the world
Automation is eating the worldAutomation is eating the world
Automation is eating the world
Veselin Pizurica
 
LPWAN - IoT (Platform) Killer Application
LPWAN - IoT (Platform) Killer ApplicationLPWAN - IoT (Platform) Killer Application
LPWAN - IoT (Platform) Killer Application
Veselin Pizurica
 
Automation, intelligence and knowledge modelling
Automation, intelligence and knowledge modellingAutomation, intelligence and knowledge modelling
Automation, intelligence and knowledge modelling
Veselin Pizurica
 
When IoT Meets Artificial Intelligence
 When IoT Meets Artificial Intelligence When IoT Meets Artificial Intelligence
When IoT Meets Artificial Intelligence
Veselin Pizurica
 
Internet of Things introduction
Internet of Things introductionInternet of Things introduction
Internet of Things introduction
Veselin Pizurica
 
My life in one picture
My life in one pictureMy life in one picture
My life in one picture
Veselin Pizurica
 
WebRTC presentation
WebRTC presentationWebRTC presentation
WebRTC presentation
Veselin Pizurica
 
A Cloud-Based Bayesian Smart Agent Architecture for Internet-of-Things Applic...
A Cloud-Based Bayesian Smart Agent Architecture for Internet-of-Things Applic...A Cloud-Based Bayesian Smart Agent Architecture for Internet-of-Things Applic...
A Cloud-Based Bayesian Smart Agent Architecture for Internet-of-Things Applic...
Veselin Pizurica
 
Artificial intelligence and IoT
Artificial intelligence and IoTArtificial intelligence and IoT
Artificial intelligence and IoT
Veselin Pizurica
 

More from Veselin Pizurica (14)

Has serverless adoption hit a roadblock?
Has serverless adoption hit a roadblock?Has serverless adoption hit a roadblock?
Has serverless adoption hit a roadblock?
 
How to use probabilistic inference programming for application orchestration ...
How to use probabilistic inference programming for application orchestration ...How to use probabilistic inference programming for application orchestration ...
How to use probabilistic inference programming for application orchestration ...
 
Waylay - We are hiring
Waylay - We are hiringWaylay - We are hiring
Waylay - We are hiring
 
Waylay building smart city solution: IoT convention Antwerp
Waylay building smart city solution: IoT convention AntwerpWaylay building smart city solution: IoT convention Antwerp
Waylay building smart city solution: IoT convention Antwerp
 
Artificial intelligence by Aleksandra Pizurica
Artificial intelligence by Aleksandra PizuricaArtificial intelligence by Aleksandra Pizurica
Artificial intelligence by Aleksandra Pizurica
 
Automation is eating the world
Automation is eating the worldAutomation is eating the world
Automation is eating the world
 
LPWAN - IoT (Platform) Killer Application
LPWAN - IoT (Platform) Killer ApplicationLPWAN - IoT (Platform) Killer Application
LPWAN - IoT (Platform) Killer Application
 
Automation, intelligence and knowledge modelling
Automation, intelligence and knowledge modellingAutomation, intelligence and knowledge modelling
Automation, intelligence and knowledge modelling
 
When IoT Meets Artificial Intelligence
 When IoT Meets Artificial Intelligence When IoT Meets Artificial Intelligence
When IoT Meets Artificial Intelligence
 
Internet of Things introduction
Internet of Things introductionInternet of Things introduction
Internet of Things introduction
 
My life in one picture
My life in one pictureMy life in one picture
My life in one picture
 
WebRTC presentation
WebRTC presentationWebRTC presentation
WebRTC presentation
 
A Cloud-Based Bayesian Smart Agent Architecture for Internet-of-Things Applic...
A Cloud-Based Bayesian Smart Agent Architecture for Internet-of-Things Applic...A Cloud-Based Bayesian Smart Agent Architecture for Internet-of-Things Applic...
A Cloud-Based Bayesian Smart Agent Architecture for Internet-of-Things Applic...
 
Artificial intelligence and IoT
Artificial intelligence and IoTArtificial intelligence and IoT
Artificial intelligence and IoT
 

Recently uploaded

How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
natyesu
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Sanjeev Rampal
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptxInternet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
VivekSinghShekhawat2
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 

Recently uploaded (20)

How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptxInternet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 

A practical look at how to build & run IoT business logic

  • 1. A practical look at how to build & run IoT business logic Veselin Pizurica, CTO and co-founder
  • 2.
  • 3. Belgian B2B software company, founded in 2014 Automation and time series analytics for IoT Deployed at 40 enterprise customers in USA, Europe, Australia
  • 4.
  • 5. Connect & Collect Visualize Analytics Automation
  • 6. 1. Typical/standard IoT Architecture is not designed with automation in mind 2. Difficulties (of complexity, scale etc.) in implementing automation scenarios using existing Rules Engines
  • 7.
  • 8. Where to place the automation dot?
  • 10. Automation requires constant connections to: ● Stream data ● Time series (historical) data ● Anomaly detection/prediction models ● Meta model (digital twins, relations etc.) ● ERP (IT) systems ● Notifications (email, SMS, calls …) ● ML (REST) ● API (external services)
  • 11. 1. Typical/standard IoT Architecture is not designed with automation in mind 2. Difficulties (in complexity, scale etc.) to implement automation scenarios using existing Rules Engines
  • 12.
  • 14.
  • 15. Modeling complex logic Modeling time Modeling uncertainty Explainability Adaptability Operability Scalability Is the technology powerful enough? Can it easily be deployed in IoT use cases?
  • 16. 1. Combining multiple non-binary outcomes of functions (observations) in the rule, beyond Boolean true/false states. 2. Dealing with majority voting conditions in the rule 3. Handling conditional executions of functions based on the outcomes of previous observations Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough?
  • 17. 1. Set up a condition where any 2 out of 3 measurements are out of range: a. Is the room temperature below 18 or above 26? b. Is the humidity below 60 or above 80? c. Is the CO2 level above 500? 2. If the condition is met, check the weather outside. Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough?
  • 18. Combining multiple non-binary outcomes and dealing with majority voting conditions in the rule (54 possible outcomes) Handling conditional executions of functions based on the outcomes of previous observations Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough? CO2 temperature humidity Above In Range Below Above In Range Above Above Below In Range In Range Below Below Below Below Below Above Below Below In Range Below Above Below Below Above Above Below Above Above Above In Range In Range Above Below Below Above Below Above Above Below In Range Above Above Below Above Above Above Above Above
  • 19. 1. Dealing with the past → handling expired or soon-to-expire information 2. Dealing with the present → combining asynchronous and synchronous information 3. Dealing with the future → forecasting for prediction and anomaly detection Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough?
  • 20. Two door motions sensors would trigger further processing only if they both happen within 10 seconds Searching for “on/off/on” events, before taking further actions Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough? Dealing with time in the rule
  • 21. Stream data sensor will be executed as soon as it receives stream data, while the polling sensor will be checking outside temperature every 5 minutes. Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough? Synch and asynch events in the rule
  • 22. Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough? Waylay NV 2019 | Proprietary & Confidential “I just want to do basic anomaly detection” Waylay NV 2019 | Proprietary & Confidential Expected pattern Anomaly pattern Anomalous outlier ● Granularity? ● Aggregation? ● Sampling rate? ● Sensitivity? ● Confidence? ● Algorithm? ● Window size? ● Seasonality? ● Reaction time?
  • 23. rule Using anomalies and predictions inside the rules, just like any other sensory input Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough? Anomaly detection & prediction
  • 24. Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough? Anomaly detection & prediction Anomaly detection Inactivity detection Forecast Time to target prediction Classification
  • 25. 1. Modeling the utility function → as we rank and define our preferences among alternative uncertain outcomes, we need rules where for the same outcome of an observation, different actions can be taken. 2. Support for probabilistic reasoning → for even more advanced use cases, the rule engine should support logic building based on the likelihood of different outcomes for one given sensory output. Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough?
  • 26. 1. Fridge is not open before 10AM, 2. Medicines were not taken in the morning, 3. There was no motion detected in the bathroom for the past 8 hours If two out of three indicators are present, send SMS to children (so they can try to call and reach out), if all three indicators are present, call the ambulance. Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough?
  • 27. 1 ➔ Modeling complex logic Modeling time Modeling uncertainty Is the technology powerful enough? 2 ➔ 3 ➔ 4 ➔ The confidence of alarms changes based on the observations
  • 28. 1. The intent of the rule should be easily understandable by all users, developers and business owners alike. 2. The representation of the logic should be compact. 3. Simulation and debugging (exploration) should be available: a. during design time - verify the intended logic by testing rules against data logs or simulating logic statements to verify outcomes. b. at runtime - reconstruct decisions made by the rule engine based on the rules logs and the states of observations. Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
  • 29. Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases? Explainability - simple translation from rules schema to UI API rule
  • 30. Fridge temperature goes above 15 degrees a. We need to check the asset location in order to create a ticket b. In case we find person responsible for maintenance and location is known: i. Check who is on support call over the week ii. Send him an email iii. Send SMS Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
  • 31. Find asset in SAP database Fridge temperature above Create ticket Get the day in the week Find a support person and his contact details We know the location and contact person Notify that person Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
  • 32. State observations Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases? Simulation during design time
  • 33. Checking runtime rules, observations and data State observations Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases? Debugging rules at runtime
  • 34. Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases? Template Batch run, running rules against data logs
  • 35. 1. Flexibility → changing and updating rules should be easy and performing these changes at runtime should be possible with no service interruption or downtime. 2. Extensibility → in order to account for future growth, the rule engine should be capable to support extensions and integration with external systems, such as third-party API services. Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
  • 36. A water sample is evaluated for compliance with an established water standard. Sometimes, the presence of one condition modifies another. For example, consider a case in which new research shows that the permissible concentration of benzene (nominally at 0.005 mg/L) should be reduced in the presence of carbofuran (permissible limit of 0.04 mg/L) by 50 percent (new limit = 0.0025 mg/L). Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
  • 37. Benzene level monitoring template Running rule in production Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases? Create rule with only one threshold
  • 38. 1. Template update: A. change the threshold for benzene, B. add additional condition for carbofuran levels C. change the alarm logic 3. New logic applied 2. Update rules at runtime, with zero downtime Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases? Update rule at runtime
  • 39. Customer starts a POC with one ERP system and wants to roll out another one in production Customer wants to switch from one CRM provider to another one Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
  • 40. Use case with one set of IT systems Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases? The same use case with SalesForce
  • 41. ● Templating .. so that you can apply the same rule to multiple of devices, or to similar use cases ● Versioning .. of both templates and running rules, for snapshotting and rollbacks ● Searchability .. to easily search rules by name, API in use, type of device and other filters ● Rules analytics .. to understand which of your rules triggered the most, most common actions ● Bulk upgrades .. to perform lifecycle mngt across groups of rules, useful for updates or end-of-life Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
  • 42. Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases? Templating
  • 43. Bulk template upgrade Version changes Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases? Versioning & upgrades
  • 44. Fuzzy search, based on template or task names Search by sensors or actuators that are in use Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases? Searching rules
  • 45. To enable easy sharding, the rules engine should provide a good initial framework and abstractions for distributed computing. Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
  • 46. 1. Sharded inference engine for rules evaluation 2. CEP engine for fast stream in memory processing 3. API calls delegated to sharded sandbox executors - stateless serverless pattern 4. Sharded broker (protocol bridge with sharded stream forwarders) 5. Time Series database based on Cassandra 6. Metamodels backed by Elastic 7. Anomaly detection and prediction module are sharded microservices Explainability Adaptability Operability ScalabilityCan it easily be deployed in IoT use cases?
  • 47. Forward Chaining Flow Based Processing Condition - Action Decision Trees / Tables - Red Hat Drools - OpenHab - Cumulocity - AWS rule engine - Thingsboard - Node-RED - Yahoo Pipes - IFTTT - Drools Stream Processing Complex Event Processing Finite State Machines Bayesian Inference Engines - Flink - Spark - Storm - WS02 - Foghorn - Litmus - SalesForce IoT Explorer - AWS Step Functions - Waylay
  • 48. Bayesian Inference Engines (Waylay) Forward Chaining Engines Condition - Action Engines Flow Processing Engines Decision Trees / Decision Tables Stream Processing Engines Complex Event Processing Engines Finite State Machines
  • 49.
  • 50. Healthcare Agriculture Tracking / Utility Smart Home Industry 4.0 Smart City Edge Connected Building
  • 51.
  • 52. Use the benchmark to evaluate any automation tool for IoT https://www.waylay.io/download-how-to-choose-a-rules-engine.html Check out the in-depth scores for popular automation frameworks https://www.waylay.io/download-the-guide-to-iot-rules-engines.html