Recently we refactored pgmpy (https://github.com/pgmpy/pgmpy/pull/731) so we need to update the notebooks according to that.
Recently we refactored pgmpy (pgmpy/pgmpy#731) so we need to update the notebooks according to that.