pm4py.algo.clustering.trace_attribute_driven.leven_dist 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

Submodules#

pm4py.algo.clustering.trace_attribute_driven.leven_dist.leven_dist_calc 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

pm4py.algo.clustering.trace_attribute_driven.leven_dist.leven_dist_calc.leven_preprocess(list1, list2)[source]#

this function transform event name to alphabet for the sake of levenshtein distance :param list1: :param list2: :return:

pm4py.algo.clustering.trace_attribute_driven.leven_dist.leven_dist_calc.leven_dist(log1, log2, percent_1, percent_2)[source]#

this function compare the levenstein distance between two sublogs via the two lists of variants.

pm4py.algo.clustering.trace_attribute_driven.leven_dist.leven_dist_calc.leven_dist_avg(log1, log2, percent_1, percent_2)[source]#