问题
I'm using Bayesian Network Repository (http://www.bnlearn.com/bnrepository/gaussian-medium.html#ecoli70) to obtain several datasets.
To learn a Bayesian network structure, I need the observational data from each dataset. I'm not sure if Bayesian Network Repository includes this information or not.
If it does, my question is how I can extract observational data from the datasets given in Bayesian Network Repository dataset. The observational data is in the form of a matrix of size n by p where n is the number of samples and p is the number of random variables.
回答1:
I think you're looking for the ecoli
dataset, which can be found in the GeneNet
package:
install.packages("GeneNet")
data(ecoli, package="GeneNet")
来源:https://stackoverflow.com/questions/52045312/how-to-extract-observational-data-from-rda-or-rds-files-in-bayesian-network-repo