discover_declare
Discover declarative process constraints from event logs using DECLARE notation, extracting patterns like response and precedence with support and confidence metrics.
Instructions
Discover a DECLARE model from an event log.
DECLARE is a declarative constraint notation capturing patterns like "response" (if A then eventually B) or "precedence" (B requires A earlier). PM4Py returns a nested dict: template → (activity-tuple → {"support": N, "confidence": N}).
min_support_ratio / min_confidence_ratio prune weak constraints
(both in [0, 1]; default None uses pm4py's internal defaults).
Returns a handle plus counts of templates covered and constraints found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_id | Yes | ||
| min_support_ratio | No | ||
| min_confidence_ratio | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||