erdogant / bnlearn

Python library for learning the graphical structure of Bayesian networks, parameter learning, inference and sampling methods.
https://erdogant.github.io/bnlearn
Other
463 stars 45 forks source link

Intervention using do-calculas? #79

Open utkarshani opened 1 year ago

utkarshani commented 1 year ago

Hi, The bnlearn R package allows intervention using do-calculas using the bnlearn.mutilated function. I am curious is there a similar function implemented in the python version? Thanks

erdogant commented 1 year ago

At the moment no. But if you can share a link with more information, I can look into it. I am interested how it works.

utkarshani commented 1 year ago

Here is the mutilated function described in the bnlearn documentation pdf pg 43: https://www.bnlearn.com/documentation/bnlearn-manual.pdf and a detailed explanation with an example by Dr. Marcus Scutari in Advance inference section starting slide 106 https://www.bnlearn.com/about/teaching/slides-bnshort.pdf
I hope it helps.