pm4py.objects.ocel.util.convergence_divergence_diagnostics module#

pm4py.objects.ocel.util.convergence_divergence_diagnostics.apply(ocel: OCEL, parameters: Dict[Any, Any] | None = None)[source]#

Reports the activities and the object types for which the convergence / divergence problems occur.

Parameters:
  • ocel – Object-centric event log

  • parameters – Parameters of the algorithm

Returns:

Dictionary with two keys (“convergence” and “divergence”). Each key is associated to a set of (activity, object_type) for which the specific problem occurs. An activity/object type which does not appear neither in the “convergence” and “divergence” section does not suffer of convergence and divergence problems.

Return type:

ret