pm4py.objects.random_variables.constant0 package¶
Submodules¶
pm4py.objects.random_variables.constant0.random_variable 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.objects.random_variables.constant0.random_variable.Constant0[source]¶ Bases:
pm4py.objects.random_variables.uniform.random_variable.UniformDescribes a constant0-equal-to-0 random variable
-
calculate_loglikelihood(values, tol=0.0001)[source]¶ Calculate log likelihood
Parameters: - values – Empirical values to work on
- tol – Tolerance about float values (consider them 0?)
Returns: Log likelihood that the values follows the distribution
Return type: likelihood
-
get_distribution_parameters()[source]¶ Get a string representing distribution parameters
Returns: String representing distribution parameters Return type: distribution_parameters
-
get_distribution_type()[source]¶ Get current distribution type
Returns: String representing the distribution type Return type: distribution_type
-
get_transition_type()[source]¶ Get the type of transition associated to the current distribution
Returns: String representing the type of the transition Return type: transition_type
-
get_value()[source]¶ Get a random value following the distribution
Returns: Value obtained following the distribution Return type: value
-
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/>.