SlideShare a Scribd company logo
Learning From the Past:
Automated Rule Generation for CEP
G. Cugola
Politecnico
Milano
A. Margara
USI
Lugano
G. Tamburrelli
USI
Lugano
Complex Event Processing (CEP)
Complex Event
Processing
Complex Event
Processing
sources sinksrules
Idea
The Learning Problem
• Given a composite event CE
• Given a set of historical traces
– Positive traces: CE occurs at the end of the trace
– Negative traces: CE does not occur in the trace
• Derive a rule that describes the causal relation
between:
– A pattern of primitive events
– The occurrence of CE
Event Model
Temperature @10
(room=123, value=24.5)
Rule Languages
Oracle CEPOracle CEP
Microsoft
Stream Insight
Microsoft
Stream Insight
StreamStream
CayugaCayuga
IBM WSBEIBM WSBE
Stream MillStream Mill
AuroraAurora
BorealisBorealis
SASE+SASE+
PadresPadres
EsperEsper
Telegraph
CQ
Telegraph
CQ
NextCEPNextCEP
TESLATESLA
ETALISETALIS
TIBCO Business
Events
TIBCO Business
Events
Progress
Apama
Progress
Apama
CEP Operators
Define FIRE:
within 5 min
{ Smoke(area = $a) and Temp(value>40, area = $a)
and not Rain (mm>2, area = $a) }
where { Temp -> Smoke }
SelectionSelectionCombinationCombination
NegationNegation SequenceSequence
WindowWindow
ParameterParameter
AggregatesAggregates
Solution Strategy
• Modular architecture
– Ad-hoc learning components for each operator
– Easy to modify/replace a component
• Possibly with hints from domain experts
– Easy to add new types of operators
ParameterParameterSelectionSelection
CombinationCombination
NegationNegation
SequenceSequence
WindowWindow
AggregatesAggregates
Learning Algorithm
• Key idea:
– Each operator defines a set of constraints
• E.g., the selection operator defines:
– Which event types must appear
– Which attribute values they must include
– A positive trace satisfies all the constraints in a
rule (for each operator)
– We can learn the constraints in a rule by
intersecting the constraints satisfied in each
positive trace
Learning Algorithm
• Rule: A and B must occur
ZBA CE
Y XA B CE
X
YA B CE
1
2
1
3
A
B
1
2 3
ZX
YZYW W
K K
Learning Algorithm
• Rule: A and B must occur
ZBA CE
Y XA B CE
X
YA B CE
1
2
1
3
A
B
1
2 3
X
YZYW W
K K
Z
Z
• What we learn can be a superset of the actual
constraints
• Limited impact in practice
Machine Learning
• Our initial prototype relied on supervised
machine learning algorithms and tools
• Lessons learned
– Some operators (e.g., parameters) were difficult to
encode
• Need to explicitly allocate one variable for each possible
constraint
• Space explosion
– (Significantly) higher execution time
– Lower precision
• Intersection prevents this!
iCEP
• One module for each operator
• Filtering architecture
– Positive traces are “cleaned” at each step
– Pruning “unrequired” elements
Window
(Win) Learner
Events/Attributes
(Ev) Learner
Constraints
(Constr) Learner
Aggregates
(Aggr) Learner
Parameters
(Param) Learner
Sequences (Seq)
Learner
Negations (Neg)
Learner
Negative Traces
PositiveTraces
iCEP
Window
(Win) Learner
Events/Attributes
(Ev) Learner
Constraints
(Constr) Learner
Aggregates
(Aggr) Learner
Parameters
(Param) Learner
Sequences (Seq)
Learner
Negations (Neg)
Learner
Negative Traces
PositiveTraces
Events and Attributes Learner
• Assumes the size of the evaluation window is
known
• Extracts the set of relevant event types and
attributes
– By intersecting the types and attributes that
appear in all positive traces
• Only selected types and attributes are
considered in the following modules
iCEP
Window
(Win) Learner
Events/Attributes
(Ev) Learner
Constraints
(Constr) Learner
Aggregates
(Aggr) Learner
Parameters
(Param) Learner
Sequences (Seq)
Learner
Negations (Neg)
Learner
Negative Traces
PositiveTraces
Window Learner
• Assumes that the set of relevant types is
known
• Detects the smallest window that contains
such types in all positive traces
iCEP
Window
(Win) Learner
Events/Attributes
(Ev) Learner
Constraints
(Constr) Learner
Aggregates
(Aggr) Learner
Parameters
(Param) Learner
Sequences (Seq)
Learner
Negations (Neg)
Learner
Negative Traces
PositiveTraces
Events and Window Learners
• In absence of domain knowledge about event types and
window …
• … Events and Win learners work together iteratively
– Increasing the size of the window
– Computing the set of relevant types at each step
– The process stops when the number of relevant types stabilizes
iCEP
Window
(Win) Learner
Events/Attributes
(Ev) Learner
Constraints
(Constr) Learner
Aggregates
(Aggr) Learner
Parameters
(Param) Learner
Sequences (Seq)
Learner
Negations (Neg)
Learner
Negative Traces
PositiveTraces
Constraints and Aggregates Learners
• Extract constraints on the value of attributes
– Of individual events
– Of aggregations
• E.g., Maximum, Average value
• Users can specify a set of aggregation functions
Constraints and Aggregates Learners
1. Equality constraints
– Learn by intersection
• The same value appears in all positive traces
1. Inequality constraints (≠,<,>) for numeric
attributes
– Unknown relations / operators
• Min and Max values appearing in all positive traces
– Known relations / operators (from users)
• Learning algorithm base on Support Vector Machines
iCEP
Window
(Win) Learner
Events/Attributes
(Ev) Learner
Constraints
(Constr) Learner
Aggregates
(Aggr) Learner
Parameters
(Param) Learner
Sequences (Seq)
Learner
Negations (Neg)
Learner
Negative Traces
PositiveTraces
Parameters and Sequences Learners
• Learn by intersection
– Parameters constraints satisfied by all positive
traces
• Both equality and inequality relations
– Ordering constraints satisfied by all positive traces
iCEP
Window
(Win) Learner
Events/Attributes
(Ev) Learner
Constraints
(Constr) Learner
Aggregates
(Aggr) Learner
Parameters
(Param) Learner
Sequences (Seq)
Learner
Negations (Neg)
Learner
Negative Traces
PositiveTraces
Negation Learner
• Only component that looks into negative
traces
– Selects traces that satisfy all the constraints
identified so far
– Extracts common elements in such traces
• These elements may constribute to prevent the
occurrence of the composite event
• They will be negated in the derived rule
Evaluation
• Synthetic workloads
• Real data
Synthetic Workload
Synthetic Workload
Number of Event Types 25
Distribution of Types Uniform
Number of Attributes per Event 3
Number of Constraints per Event 3
Average Window Size 10s
Average Distance Between Events 1s
Number of Parameter Constraints 0
Number of Sequence Constraints 0
Number of Aggregate Constraints 0
Number of Negation Constraints 0
Number of Positive Traces 1000
Recall Precision
0.98 0.94
Number of Events/Constraints
Window Size
Introducing Additional Constraints
Sequences Parameters
Aggregates
Presence of Negations
• We learn negation by intersection
– Looking at “common” elements in negative traces
• Multiple negations
– One negated element is sufficient for preventing the
occurrence of CE
– They are not possible to detect by intersection
Real Data
• Traffic monitoring system for public
transportation
• Rules to detect: delays from multiple bus lines
in a small time window
• Noisy data
– Not only exceptional events (delays) …
– … but also continuous operational information
from each and every bus line
Real Data
• Results in terms of precision and recall are
confimed
• Derived rules are noisy
– Include frequent events present in every trace
• A cleaning step could improve the quality of
rules
Conclusions - Lessons Learned
• First approach to automated rule generation
• Large solution space
– Many parameters to consider
• Difficult to encode in traditional machine learning
algorithms
• Modular approach
– Improved performance
– Improved accuracy
– Easier to add/replace single modules
• Integration with hints from domain experts
Future Work
• Address open problems
– Multiple negations
– Composite events that could be triggered by
multiple patterns (disjunction)
• Integrate additional operators
– E.g., detection of trends
• Develop techniques for rule cleaning
– Remove “noise”
www.inf.usi.ch/postdoc/margara

More Related Content

PDF
ACM DEBS Grand Challenge: Continuous Analytics on Geospatial Data Streams wit...
PPT
Scalable Realtime Analytics with declarative SQL like Complex Event Processin...
PDF
Deep Stream Dynamic Graph Analytics with Grapharis - Massimo Perini
PPTX
Virtual Flink Forward 2020: Cogynt: Flink without code - Samantha Chan, Aslam...
PPTX
1. introduction
PDF
Pranav Bahl & Jonathan Stacks - Robust Automated Forecasting in Python and R
PPTX
Chris Hillman – Beyond Mapreduce Scientific Data Processing in Real-time
PDF
Nathaniel Cook - Forecasting Time Series Data at scale with the TICK stack
ACM DEBS Grand Challenge: Continuous Analytics on Geospatial Data Streams wit...
Scalable Realtime Analytics with declarative SQL like Complex Event Processin...
Deep Stream Dynamic Graph Analytics with Grapharis - Massimo Perini
Virtual Flink Forward 2020: Cogynt: Flink without code - Samantha Chan, Aslam...
1. introduction
Pranav Bahl & Jonathan Stacks - Robust Automated Forecasting in Python and R
Chris Hillman – Beyond Mapreduce Scientific Data Processing in Real-time
Nathaniel Cook - Forecasting Time Series Data at scale with the TICK stack

What's hot (20)

PDF
Self-managed and automatically reconfigurable stream processing
PPTX
Continuous Processing with Apache Flink - Strata London 2016
PPTX
Flink Streaming Hadoop Summit San Jose
PPTX
Debunking Common Myths in Stream Processing
PDF
The Future of Real-Time in Spark
PPTX
First Flink Bay Area meetup
PDF
Machine Learning with Apache Flink at Stockholm Machine Learning Group
PDF
An Introduction to Prometheus
PPTX
Predictive Maintenance with Deep Learning and Apache Flink
PDF
Don't Cross The Streams - Data Streaming And Apache Flink
PDF
Introduction to near real time computing
PPTX
Flink Forward Berlin 2017: Dongwon Kim - Predictive Maintenance with Apache F...
PPTX
Flink internals web
PPTX
Apache Flink: API, runtime, and project roadmap
PDF
Unified Stream & Batch Processing with Apache Flink (Hadoop Summit Dublin 2016)
PDF
Mikio Braun – Data flow vs. procedural programming
PDF
Vasia Kalavri – Training: Gelly School
PPTX
Real-time driving score service using Flink
PDF
Efficient monitoring and alerting
PPTX
Apache Flink@ Strata & Hadoop World London
Self-managed and automatically reconfigurable stream processing
Continuous Processing with Apache Flink - Strata London 2016
Flink Streaming Hadoop Summit San Jose
Debunking Common Myths in Stream Processing
The Future of Real-Time in Spark
First Flink Bay Area meetup
Machine Learning with Apache Flink at Stockholm Machine Learning Group
An Introduction to Prometheus
Predictive Maintenance with Deep Learning and Apache Flink
Don't Cross The Streams - Data Streaming And Apache Flink
Introduction to near real time computing
Flink Forward Berlin 2017: Dongwon Kim - Predictive Maintenance with Apache F...
Flink internals web
Apache Flink: API, runtime, and project roadmap
Unified Stream & Batch Processing with Apache Flink (Hadoop Summit Dublin 2016)
Mikio Braun – Data flow vs. procedural programming
Vasia Kalavri – Training: Gelly School
Real-time driving score service using Flink
Efficient monitoring and alerting
Apache Flink@ Strata & Hadoop World London
Ad

Similar to Learning From the Past: Automated Rule Generation for CEP - DEBS 2014 (20)

PDF
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
PDF
Semantic Complex Event Processing
PDF
Deep time-to-failure: predicting failures, churns and customer lifetime with ...
PDF
Design and Implementation of A Data Stream Management System
PDF
Reaction RuleML 1.0
PPTX
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
PDF
Stream Processing Overview
PDF
Autonomous Systems for Optimization and Control
PPTX
Time Simulation Discrete Event (time) Simulation.pptx
PDF
Ali Mousavi -- Event modeling
PDF
Master Thesis Presentation
PDF
Automated and Scalable Solutions for Software Testing: The Essential Role of ...
PDF
AI in SE: A 25-year Journey
PPTX
AoA Lec Design of algorithm spresentation
PPT
2010-03-31 - VU Amsterdam - Experiences testing safety critical systems
PDF
Continuous Performance Testing
PPT
Reactive programming with examples
PDF
Autonomous Control AI Training from Data
PDF
Combinatorial optimization and deep reinforcement learning
PDF
Nafems15 Technical meeting on system modeling
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
Semantic Complex Event Processing
Deep time-to-failure: predicting failures, churns and customer lifetime with ...
Design and Implementation of A Data Stream Management System
Reaction RuleML 1.0
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
Stream Processing Overview
Autonomous Systems for Optimization and Control
Time Simulation Discrete Event (time) Simulation.pptx
Ali Mousavi -- Event modeling
Master Thesis Presentation
Automated and Scalable Solutions for Software Testing: The Essential Role of ...
AI in SE: A 25-year Journey
AoA Lec Design of algorithm spresentation
2010-03-31 - VU Amsterdam - Experiences testing safety critical systems
Continuous Performance Testing
Reactive programming with examples
Autonomous Control AI Training from Data
Combinatorial optimization and deep reinforcement learning
Nafems15 Technical meeting on system modeling
Ad

Recently uploaded (20)

PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
17 Powerful Integrations Your Next-Gen MLM Software Needs
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Cost to Outsource Software Development in 2025
PDF
AutoCAD Professional Crack 2025 With License Key
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PPTX
L1 - Introduction to python Backend.pptx
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
Reimagine Home Health with the Power of Agentic AI​
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Designing Intelligence for the Shop Floor.pdf
17 Powerful Integrations Your Next-Gen MLM Software Needs
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
wealthsignaloriginal-com-DS-text-... (1).pdf
Cost to Outsource Software Development in 2025
AutoCAD Professional Crack 2025 With License Key
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
Design an Analysis of Algorithms II-SECS-1021-03
CHAPTER 2 - PM Management and IT Context
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Digital Systems & Binary Numbers (comprehensive )
Why Generative AI is the Future of Content, Code & Creativity?
L1 - Introduction to python Backend.pptx
Navsoft: AI-Powered Business Solutions & Custom Software Development

Learning From the Past: Automated Rule Generation for CEP - DEBS 2014

  • 1. Learning From the Past: Automated Rule Generation for CEP G. Cugola Politecnico Milano A. Margara USI Lugano G. Tamburrelli USI Lugano
  • 2. Complex Event Processing (CEP) Complex Event Processing Complex Event Processing sources sinksrules
  • 4. The Learning Problem • Given a composite event CE • Given a set of historical traces – Positive traces: CE occurs at the end of the trace – Negative traces: CE does not occur in the trace • Derive a rule that describes the causal relation between: – A pattern of primitive events – The occurrence of CE
  • 6. Rule Languages Oracle CEPOracle CEP Microsoft Stream Insight Microsoft Stream Insight StreamStream CayugaCayuga IBM WSBEIBM WSBE Stream MillStream Mill AuroraAurora BorealisBorealis SASE+SASE+ PadresPadres EsperEsper Telegraph CQ Telegraph CQ NextCEPNextCEP TESLATESLA ETALISETALIS TIBCO Business Events TIBCO Business Events Progress Apama Progress Apama
  • 7. CEP Operators Define FIRE: within 5 min { Smoke(area = $a) and Temp(value>40, area = $a) and not Rain (mm>2, area = $a) } where { Temp -> Smoke } SelectionSelectionCombinationCombination NegationNegation SequenceSequence WindowWindow ParameterParameter AggregatesAggregates
  • 8. Solution Strategy • Modular architecture – Ad-hoc learning components for each operator – Easy to modify/replace a component • Possibly with hints from domain experts – Easy to add new types of operators ParameterParameterSelectionSelection CombinationCombination NegationNegation SequenceSequence WindowWindow AggregatesAggregates
  • 9. Learning Algorithm • Key idea: – Each operator defines a set of constraints • E.g., the selection operator defines: – Which event types must appear – Which attribute values they must include – A positive trace satisfies all the constraints in a rule (for each operator) – We can learn the constraints in a rule by intersecting the constraints satisfied in each positive trace
  • 10. Learning Algorithm • Rule: A and B must occur ZBA CE Y XA B CE X YA B CE 1 2 1 3 A B 1 2 3 ZX YZYW W K K
  • 11. Learning Algorithm • Rule: A and B must occur ZBA CE Y XA B CE X YA B CE 1 2 1 3 A B 1 2 3 X YZYW W K K Z Z • What we learn can be a superset of the actual constraints • Limited impact in practice
  • 12. Machine Learning • Our initial prototype relied on supervised machine learning algorithms and tools • Lessons learned – Some operators (e.g., parameters) were difficult to encode • Need to explicitly allocate one variable for each possible constraint • Space explosion – (Significantly) higher execution time – Lower precision • Intersection prevents this!
  • 13. iCEP • One module for each operator • Filtering architecture – Positive traces are “cleaned” at each step – Pruning “unrequired” elements Window (Win) Learner Events/Attributes (Ev) Learner Constraints (Constr) Learner Aggregates (Aggr) Learner Parameters (Param) Learner Sequences (Seq) Learner Negations (Neg) Learner Negative Traces PositiveTraces
  • 14. iCEP Window (Win) Learner Events/Attributes (Ev) Learner Constraints (Constr) Learner Aggregates (Aggr) Learner Parameters (Param) Learner Sequences (Seq) Learner Negations (Neg) Learner Negative Traces PositiveTraces
  • 15. Events and Attributes Learner • Assumes the size of the evaluation window is known • Extracts the set of relevant event types and attributes – By intersecting the types and attributes that appear in all positive traces • Only selected types and attributes are considered in the following modules
  • 16. iCEP Window (Win) Learner Events/Attributes (Ev) Learner Constraints (Constr) Learner Aggregates (Aggr) Learner Parameters (Param) Learner Sequences (Seq) Learner Negations (Neg) Learner Negative Traces PositiveTraces
  • 17. Window Learner • Assumes that the set of relevant types is known • Detects the smallest window that contains such types in all positive traces
  • 18. iCEP Window (Win) Learner Events/Attributes (Ev) Learner Constraints (Constr) Learner Aggregates (Aggr) Learner Parameters (Param) Learner Sequences (Seq) Learner Negations (Neg) Learner Negative Traces PositiveTraces
  • 19. Events and Window Learners • In absence of domain knowledge about event types and window … • … Events and Win learners work together iteratively – Increasing the size of the window – Computing the set of relevant types at each step – The process stops when the number of relevant types stabilizes
  • 20. iCEP Window (Win) Learner Events/Attributes (Ev) Learner Constraints (Constr) Learner Aggregates (Aggr) Learner Parameters (Param) Learner Sequences (Seq) Learner Negations (Neg) Learner Negative Traces PositiveTraces
  • 21. Constraints and Aggregates Learners • Extract constraints on the value of attributes – Of individual events – Of aggregations • E.g., Maximum, Average value • Users can specify a set of aggregation functions
  • 22. Constraints and Aggregates Learners 1. Equality constraints – Learn by intersection • The same value appears in all positive traces 1. Inequality constraints (≠,<,>) for numeric attributes – Unknown relations / operators • Min and Max values appearing in all positive traces – Known relations / operators (from users) • Learning algorithm base on Support Vector Machines
  • 23. iCEP Window (Win) Learner Events/Attributes (Ev) Learner Constraints (Constr) Learner Aggregates (Aggr) Learner Parameters (Param) Learner Sequences (Seq) Learner Negations (Neg) Learner Negative Traces PositiveTraces
  • 24. Parameters and Sequences Learners • Learn by intersection – Parameters constraints satisfied by all positive traces • Both equality and inequality relations – Ordering constraints satisfied by all positive traces
  • 25. iCEP Window (Win) Learner Events/Attributes (Ev) Learner Constraints (Constr) Learner Aggregates (Aggr) Learner Parameters (Param) Learner Sequences (Seq) Learner Negations (Neg) Learner Negative Traces PositiveTraces
  • 26. Negation Learner • Only component that looks into negative traces – Selects traces that satisfy all the constraints identified so far – Extracts common elements in such traces • These elements may constribute to prevent the occurrence of the composite event • They will be negated in the derived rule
  • 29. Synthetic Workload Number of Event Types 25 Distribution of Types Uniform Number of Attributes per Event 3 Number of Constraints per Event 3 Average Window Size 10s Average Distance Between Events 1s Number of Parameter Constraints 0 Number of Sequence Constraints 0 Number of Aggregate Constraints 0 Number of Negation Constraints 0 Number of Positive Traces 1000 Recall Precision 0.98 0.94
  • 33. Presence of Negations • We learn negation by intersection – Looking at “common” elements in negative traces • Multiple negations – One negated element is sufficient for preventing the occurrence of CE – They are not possible to detect by intersection
  • 34. Real Data • Traffic monitoring system for public transportation • Rules to detect: delays from multiple bus lines in a small time window • Noisy data – Not only exceptional events (delays) … – … but also continuous operational information from each and every bus line
  • 35. Real Data • Results in terms of precision and recall are confimed • Derived rules are noisy – Include frequent events present in every trace • A cleaning step could improve the quality of rules
  • 36. Conclusions - Lessons Learned • First approach to automated rule generation • Large solution space – Many parameters to consider • Difficult to encode in traditional machine learning algorithms • Modular approach – Improved performance – Improved accuracy – Easier to add/replace single modules • Integration with hints from domain experts
  • 37. Future Work • Address open problems – Multiple negations – Composite events that could be triggered by multiple patterns (disjunction) • Integrate additional operators – E.g., detection of trends • Develop techniques for rule cleaning – Remove “noise”

Editor's Notes

  • #3: Real time processing of continuous flows of data Generated by sources at unpredictable rates To produce new higher level knowledge in the form of composite events or situations of interests and deliver it to connected sinks According to a set of deployed rules that specify how to filter, select, and combine incoming data, based on their content and their timing relationships Focus on fast algorithms. Widely used in High Frequency Trading and partly in Computer Systems Monitoring Problem of language for expressing rules. Worked on that in the past. Today focus on a new problem: even with a good language, how to write a good rule? Understand and express the correct causal relationships between primitive events and composite ones
  • #4: Look at the past occurrences of composite events and see if we can extract some useful information
  • #6: We consider a model in which events are identified by a type, a set of attribute/value pairs, and a single timestamp. We consider a history of past occurrences of primitive and composite events. We want to infer the rule that describes the causal relationship between primitive and composite events. Which are the operators we can use to define our rule?
  • #7: System from tool vendors: IBM – Oracle – Microsoft – TIBCO (The leading one, together with Progress Apama) Also a (partially) open source solution: Esper Research proposals: Stream Mill (UCLA) – Stream (Stanford) – NextCEP (Imperial) Different languages: real-time analysis (relational operations on a stream) vs. situation detection (from patterns) We focus mainly on the second type of languages and we identify a (sub)set of common operators to focus on
  • #9: Each operator defines a set of constraints: for example, the selection operator defines which events must appear in a trace and which attribute values they must include
  • #10: Each operator defines a set of constraints: for example, the selection operator defines which events must appear in a trace and which attribute values they must include
  • #24: Parameters and sequences learners work again by intersecting all the constraints appearing in positive traces We consider equality parameters and ordering constraints
  • #31: Underconstraining reduces precision Errors in the detection of a constraint are emphasized when there are only a few constraints.
  • #32: Increasing the window size also increases the number of events to consider. This reduces the procesion, but the impact is minimal.