pm4py.algo.clustering.trace_attribute_driven.leven_dist package

Submodules

pm4py.algo.clustering.trace_attribute_driven.leven_dist.leven_dist_calc module

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

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]
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:

Module contents

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.