pm4py.algo.clustering.trace_attribute_driven.leven_dist package

Submodules

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

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