Continues fixing #1205. Fixes BayesianModel.to_markov_model to work with disconnected graphs [refs #1209]
Continues fixing #1205. Fixes BayesianModel.to_markov_model to work with disconnected graphs [refs #1209]

pgmpy/pgmpy,pgmpy/pgmpy,ankurankan/pgmpy,ankurankan/pgmpy