pm4py.algo.organizational_mining.sna.variants.pandas package
Submodules
pm4py.algo.organizational_mining.sna.variants.pandas.handover module
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
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.sna.variants.pandas.handover.Parameters(value)[source]
Bases:
enum.Enum
An enumeration.
- ACTIVITY_KEY = 'pm4py:param:activity_key'
- BETA = 'beta'
- CASE_ID_KEY = 'pm4py:param:case_id_key'
- RESOURCE_KEY = 'pm4py:param:resource_key'
- pm4py.algo.organizational_mining.sna.variants.pandas.handover.apply(log: pandas.core.frame.DataFrame, parameters: Optional[Dict[Union[str, pm4py.algo.organizational_mining.sna.variants.pandas.handover.Parameters], Any]] = None) List[Any] [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
pm4py.algo.organizational_mining.sna.variants.pandas.jointactivities module
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
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.sna.variants.pandas.jointactivities.Parameters(value)[source]
Bases:
enum.Enum
An enumeration.
- ACTIVITY_KEY = 'pm4py:param:activity_key'
- METRIC_NORMALIZATION = 'metric_normalization'
- RESOURCE_KEY = 'pm4py:param:resource_key'
- pm4py.algo.organizational_mining.sna.variants.pandas.jointactivities.apply(log: pandas.core.frame.DataFrame, parameters: Optional[Dict[Union[str, pm4py.algo.organizational_mining.sna.variants.pandas.jointactivities.Parameters], Any]] = None) List[Any] [source]
Calculates the Joint Activities / Similar Task 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 directed.
- Return type
tuple
pm4py.algo.organizational_mining.sna.variants.pandas.subcontracting module
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
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.sna.variants.pandas.subcontracting.Parameters(value)[source]
Bases:
enum.Enum
An enumeration.
- ACTIVITY_KEY = 'pm4py:param:activity_key'
- CASE_ID_KEY = 'pm4py:param:case_id_key'
- N = 'n'
- RESOURCE_KEY = 'pm4py:param:resource_key'
- pm4py.algo.organizational_mining.sna.variants.pandas.subcontracting.apply(log: pandas.core.frame.DataFrame, parameters: Optional[Dict[Union[str, pm4py.algo.organizational_mining.sna.variants.pandas.subcontracting.Parameters], Any]] = None) List[Any] [source]
Calculates the Subcontracting metric
- Parameters
log – Log
parameters –
- Possible parameters of the algorithm:
Parameters.N -> n of the algorithm proposed in the Wil SNA paper
- Returns
Tuple containing the metric matrix and the resources list
- Return type
tuple
pm4py.algo.organizational_mining.sna.variants.pandas.working_together module
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
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.sna.variants.pandas.working_together.Parameters(value)[source]
Bases:
enum.Enum
An enumeration.
- ACTIVITY_KEY = 'pm4py:param:activity_key'
- CASE_ID_KEY = 'pm4py:param:case_id_key'
- METRIC_NORMALIZATION = 'metric_normalization'
- RESOURCE_KEY = 'pm4py:param:resource_key'
- pm4py.algo.organizational_mining.sna.variants.pandas.working_together.apply(log: pandas.core.frame.DataFrame, parameters: Optional[Dict[Union[str, pm4py.algo.organizational_mining.sna.variants.pandas.working_together.Parameters], Any]] = None) List[Any] [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
Module contents
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
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/>.