You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As structure learning algorithms output either a pgmpy.base.PDAG or pgmpy.base.DAG object, to fit parameters to these models users currently need to convert them to a pgmpy.models.BayesianNetwork object. By moving the BayesianNetwork.fit method to DAG.fit, it would make the workflow simpler and more straightforward. As BayesianNetwork inherits DAG, there would be no change in the Bayesian Network API.
The text was updated successfully, but these errors were encountered:
As structure learning algorithms output either a
pgmpy.base.PDAG
orpgmpy.base.DAG
object, to fit parameters to these models users currently need to convert them to apgmpy.models.BayesianNetwork
object. By moving theBayesianNetwork.fit
method toDAG.fit
, it would make the workflow simpler and more straightforward. As BayesianNetwork inherits DAG, there would be no change in the Bayesian Network API.The text was updated successfully, but these errors were encountered: