bnlearn
bnlearn copied to clipboard
Python library for learning the graphical structure of Bayesian networks, parameter learning, inference and sampling methods.
Hi again! I was thinking in using bayesian networks for continous data, do you think that an implementation in order to work with these kind of data could be possible?...
I am trying to reproduce the Inference example by making DAG with the following method; ```Python model = bn.structure_learning.fit(df, methodtype='hc', scoretype='bic') DAG = bn.make_DAG(model) q1 =bn.inference.fit(DAG, variables=['3'], evidance={'1':0}) ``` But...
Hi! I am using a model to make inference about some data that have missing in order to predict the missings and to be able to complete them with the...
Hi In https://www.bnlearn.com/bnrepository/discrete-small.html#asia, the .rds and .rda files contain the conditional probability table. I was wondering if it is possible to read in those files data using the Python bnlearn?...
Hi erdogant, It is a great library. Firstly, thanks for your efforts. I was using bn model to predict a large dataset. I found the time consuming is massive and...
Wanted to check if I can use bnlearn package in distributed environment? Can i use it with pyspark? We had a brief discussion on this some time back and you...
To make predictions based on the fit method, is pickling the best approach or is there a better way to do it? Given the size of the file that is...
Hi, I am testing bnlearn and found that the structure learning algorithms are very unstable, sometimes they generate very accurate results, sometimes very inaccurate results. I am testing the asia...
Hello, Thank you for the bnlearn library for Python! I have been playing with it for a couple of weeks and found some strange behaviour with the plot function that...
I have a potentially dumb question. So, as I understand it, we need to discretize the data to work with this package on continuous biological data, such as gene expression...