fdaeca971143d2d8ff2423765accf34a0801795d,pgmpy/factors/continuous/ContinuousFactor.py,ContinuousFactor,__init__,#ContinuousFactor#Any#Any#,18
Before Change
226800.0
if not isinstance(variables, (list, tuple, np.ndarray)):
raise TypeError(
"variables: Expected type list or array-like, "
"got type {var_type}".format(var_type=type(variables))
)
if len(set(variables)) != len(variables):
raise ValueError("Variable names cannot be same.")
After Change
covariance=kwargs["covariance"],
)
else:
raise NotImplementedError(
f"{pdf} distribution not supported. Please use CustomDistribution"
)
elif isinstance(pdf, CustomDistribution):
self.distribution = pdf
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: pgmpy/pgmpy
Commit Name: fdaeca971143d2d8ff2423765accf34a0801795d
Time: 2020-06-30
Author: ankurankan@gmail.com
File Name: pgmpy/factors/continuous/ContinuousFactor.py
Class Name: ContinuousFactor
Method Name: __init__
Project Name: descarteslabs/descarteslabs-python
Commit Name: 041c556fbf2c2fdd74c849e0f4d7ee3aeb5d5d35
Time: 2020-10-22
Author: gabe@descarteslabs.com
File Name: descarteslabs/workflows/types/containers/known_dict.py
Class Name: KnownDict
Method Name: __init__
Project Name: quantumlib/Cirq
Commit Name: c791db7a575f371cc6450c8e738f3d1b50f10a7d
Time: 2021-03-30
Author: corzounai@gmail.com
File Name: cirq/ops/pauli_string.py
Class Name: PauliString
Method Name: _pass_operation_over
Project Name: pfnet-research/chainer-chemistry
Commit Name: 67136779f681f817f3e4ec4cb9a4656c0a49b6e3
Time: 2018-07-10
Author: acc1ssnn9terias@gmail.com
File Name: chainer_chemistry/datasets/molnet/molnet.py
Class Name:
Method Name: get_molnet_dataset