Traceback (most recent call last):


 "F:/Python/PythonWorkSpace/BayesNet/a.py", line 22, in <module>

model.predict_probability(A)


 "F:\Python\Anaconda\Anaconda3\lib\site-packages\pgmpy\models\BayesianModel.py", line 651, in predict_probability

model_inference = VariableElimination(self)


 "F:\Python\Anaconda\Anaconda3\lib\site-packages\pgmpy\inference\base.py", line 76, in __init__

for var in cpd.scope():
AttributeError: 'LinearGaussianCPD' object has no attribute 'scope'

Traceback (most recent call last):


 "/opt/jupyterhub/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2044, in showtraceback

stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
