pgmpy / pgmpy_notebook

Short Tutorial to Probabilistic Graphical Models(PGM) and pgmpy
http://pgmpy.org/
MIT License
368 stars 213 forks source link

ImportError: cannot import name 'DiscreteFactor' from 'pgmpy.factors' #32

Closed stasonhan closed 8 months ago

stasonhan commented 4 years ago

ImportError: cannot import name 'DiscreteFactor' from 'pgmpy.factors'

ankurankan commented 4 years ago

@stasonhan It should be from pgmpy.factors.discrete import DiscreteFactor. Could you also tell me which notebook has the wrong statement?