Closed Rizzey closed 5 years ago
Clarification:
The get_prefix_variants_matrix is intended to be used in region-based algorithms (like ILP, places discovery algorithms). Indeed, in those algorithms you need 1) unique rows in the matrixes 2) more importance to entries that occur often.
I personally do not suggest to use this for remaining time prediction. There already way more useful (for the scope) representations, like the pm4py.objects.log.util.get_default_representation one.
Thanks for the clarification. In the meantime, I'm after finding a new issue that may be affecting your prediction branches - I'll close this and make a new one.
Just looking for a clarification: is this intentional or have I found a bug? I was messing about trying to do my own predictions on the remaining time left in a case and I found this. There are two ways of getting a prefix matrix from the log utility functions in
pm4py.objects.log.util
but they both return two different prefix matrices.get_prefix_matrix
returns the behaviour I was expecting but I triedget_prefix_variants_matrix
first and I'm not sure what that is.If you could
Code:
Output