forked from SWISDATA/processintel
mining.genetic: reduce the genetic miner's runtime and default settings #39
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ffrauenberger/ProcessIntel#39
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: improvement (high: the defaults make a run take long on real logs)
Where
app/mining_algorithms/genetic_mining.py:42-49,:337-416,:623-684,:744-779app/converters/petri_net_converter.py:331-482Problem
population_size = 500andmax_generations = 100, i.e. up to 50,000 fitness evaluations.PetriNetToolkit.simulate_trace, including a recursive_ensure_token)._clone_individualdrops_petri_net, so every child rebuilds its Petri net from scratch, even unchanged clones._crossoverstarts withparent1 == parent2, a deep dict comparison that includes the cached Petri net dictionaries._update_related_activitiesscans all I/O sets several times per mutation.Related: #31, #54.
Fix
(I, O); only rebuild the Petri net if crossover or mutation changed somethingProcessPoolExecutorfrom
issues/PERF-003-genetic-miner-cost-and-defaults.md(code analysis of commit6bcc646, 2026-10-03)