pm4py.algo.transformation.ocel.features.objects.object_degree_centrality module#

pm4py.algo.transformation.ocel.features.objects.object_degree_centrality.apply(ocel: OCEL, parameters: Dict[Any, Any] | None = None)[source]#

Adds for each object the centrality degree as feature

Parameters:
  • ocel – OCEL

  • parameters – Parameters of the algorithm

Returns:

  • data – Values of the added features

  • feature_names – Names of the added features