Skip to content

azeller14/bn_testing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BN testing

A test framework to evaluate methods that learn Bayesian Networks from high-dimensional observed data.

Sampling

Set up the graphical model and sample data

from bn_testing.dags import GroupedGaussianBN

model = GroupedGaussianBN(n_nodes=200, n_groups=10)
df = model.sample(10000)

The observations are stored in a pandas.DataFrame where the columns are the nodes of the DAG and each row is an observation. The underlying DAG of the graphical model can be accessed with model.dag

About

A test bench for graphical models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%