# pm4py.algo.organizational_mining.network_analysis package

## pm4py.algo.organizational_mining.network_analysis.algorithm module

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

class pm4py.algo.organizational_mining.network_analysis.algorithm.Variants(value)[source]

Bases: enum.Enum

An enumeration.

DATAFRAME = <module 'pm4py.algo.organizational_mining.network_analysis.variants.dataframe' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\organizational_mining\\network_analysis\\variants\\dataframe.py'>
pm4py.algo.organizational_mining.network_analysis.algorithm.apply(log: Union[pandas.core.frame.DataFrame, pm4py.objects.log.obj.EventLog, pm4py.objects.log.obj.EventStream], variant=Variants.DATAFRAME, parameters: Optional[Dict[Any, Any]] = None) Dict[Tuple[str, str], Dict[str, Any]][source]

Performs the network analysis on the provided event log

Parameters
• log – Event log

• parameters – Version-specific parameters

Returns

Edges of the network analysis (first key: edge; second key: type; value: number of occurrences)

Return type

network_analysis