Closed andionita closed 5 years ago
Tested on Python 3.6.5, Ubuntu 16.04, pm4py version 1.0.23 / commit e0f408a
Hi,
Thanks for signaling. The behavior of decreasingFactor in variants filter was not correct, as you would expect only to keep the first variant with a decreasingFactor of 0.6
Problem resolved in release 1.0.24
Regarding filtering on variants how does the decreasing factor play a role in the
apply_auto_filter
method?For example:
Before filtering, the variant counts were: 713, 123, 116, ..., 12, 10, 10, ..., 1.
After filtering, the most common are indeed kept, as it says in the documentation: 713, 123, 116, ..., 12.
The decreasing factor is explained in the context of filtering out the most frequent items in a multiset. How is it applied here, when removing the less frequent items and why is the cutoff at 12 in this example? Thanks.