How to extract observational data from RDA or RDS files in Bayesian Network Repository?

♀尐吖头ヾ 提交于 2019-12-20 05:45:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!