pm4py.algo.discovery.declare package#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
Subpackages#
- pm4py.algo.discovery.declare.variants package
- Submodules
- pm4py.algo.discovery.declare.variants.classic module
Parametersexistence_template_step1()exactly_one_template_step1()init_template_step1()responded_existence_template_step1()response_template_step1()precedence_template_step1()altresponse_template_step1()chainresponse_template_step1()altprecedence_template_step1()chainprecedence_template_step1()absence_template()exactly_one_template_step2()responded_existence_template_step2()response_template_step2()precedence_template_step2()altresponse_template_step2()chainresponse_template_step2()altprecedence_template_step2()chainprecedence_template_step2()succession_template()altsuccession_template()chainsuccession_template()coexistence_template()noncoexistence_template()nonsuccession_template()nonchainsuccession_template()form_rules_table()get_rules_from_rules_df()apply()
Submodules#
pm4py.algo.discovery.declare.algorithm module#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
- class pm4py.algo.discovery.declare.algorithm.Variants(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum- CLASSIC = <module 'pm4py.algo.discovery.declare.variants.classic' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\discovery\\declare\\variants\\classic.py'>#
- pm4py.algo.discovery.declare.algorithm.apply(log: EventLog | DataFrame, variant=Variants.CLASSIC, parameters: Dict[Any, Any] | None = None) Dict[str, Dict[Any, Dict[str, int]]][source]#
Discovers a DECLARE model from the provided event log
Parameters#
- log
Log object (EventLog, Pandas dataframe)
- variant
Variant of the algorithm to be used, including: - Variants.CLASSIC
- parameters
Variant-specific parameters
Returns#
- declare_model
DECLARE model (as Python dictionary), where each template is associated with its own rules
pm4py.algo.discovery.declare.templates module#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions