pm4py.algo.organizational_mining.sna.variants.pandas.handover module#

class pm4py.algo.organizational_mining.sna.variants.pandas.handover.Parameters(*values)[source]#

Bases: Enum

ACTIVITY_KEY = 'pm4py:param:activity_key'#
RESOURCE_KEY = 'pm4py:param:resource_key'#
CASE_ID_KEY = 'pm4py:param:case_id_key'#
BETA = 'beta'#
pm4py.algo.organizational_mining.sna.variants.pandas.handover.apply(log: DataFrame, parameters: Dict[str | Parameters, Any] | None = None) SNA[source]#

Calculates the HW metric

Parameters:
  • log – Log

  • parameters

    Possible parameters of the algorithm:

    Paramters.BETA -> beta value as described in the Wil SNA paper

Returns:

Tuple containing the metric matrix and the resources list. Moreover, last boolean indicates that the metric is directed.

Return type:

tuple