pm4py.algo.organizational_mining.sna.variants.log.working_together module#

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

Bases: Enum

ACTIVITY_KEY = 'pm4py:param:activity_key'#
RESOURCE_KEY = 'pm4py:param:resource_key'#
METRIC_NORMALIZATION = 'metric_normalization'#
pm4py.algo.organizational_mining.sna.variants.log.working_together.apply(log: EventLog, parameters: Dict[str | Parameters, Any] | None = None) SNA[source]#

Calculates the Working Together metric

Parameters:
  • log – Log

  • parameters – Possible parameters of the algorithm

Returns:

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

Return type:

tuple