pgmpy / pgmpy_notebook

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

Adapt to import structure in pgmpy.factors #23

Closed chaonan99 closed 6 years ago

chaonan99 commented 6 years ago

Seems that we cannot import everything we need directly from pgmpy.factors, symbols are separated into sub modules (but I feel it a little messy). To be concrete,

(There is also a bug in the implementation of LinearGaussianBayesianNetwork.add_cpds so the notebook contains a little hack to deal with that which should be removed after the bug fixed.)

ankurankan commented 6 years ago

@chaonan99 Thanks a lot for the PR.