discover_petri_net
Mine a Petri net from an event log using inductive, heuristics, or alpha algorithm. Optionally prune infrequent behavior with a noise threshold.
Instructions
Discover a Petri net from an event log.
algorithm dispatches to one of three PM4Py miners:
"inductive"(default) — Inductive Miner, sound-by-construction. Acceptsnoise_thresholdin [0, 1] to prune infrequent behavior."heuristics"— Heuristics Miner, robust to noise."alpha"— classical Alpha Miner.
Returns a handle to the (net, initial_marking, final_marking) triple
plus structural counts. The model is stored with kind petri_net.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_id | Yes | ||
| algorithm | No | inductive | |
| noise_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||