A set of tools for representing and estimating sparse Bayesian networks from continuous and discrete data, as described in Aragam, Gu, and Zhou (2017)
A set of tools for representing and estimating sparse Bayesian networks from continuous and discrete data.
This package provides various S3 classes for making it easy to estimate graphical models from data:
sparsebnData for managing experimental data with interventions.sparsebnFit for representing the output of a DAG learning algorithm.sparsebnPath for representing a solution path of estimates.The package also provides methods for manipulating these objects and for estimating parameters in graphical models:
estimate.parameters for directed graphs.get.precision for undirected graphs.get.covariance for covariance matrices.nchar argument to improve output of show.parents with long node names (#13)openCytoscape now accepts title argument -- allows multiple cytoscape networks with different names to be open at the same timeopenCytoscape method added for compatibility with Cytoscape app (sparsebn #4)select.parameter now works with discrete datasummary generics for sparsebnPath, sparsebnFit, sparsebnData, and
edgeList objectsplot generic for sparsebnData objectsspecify.prior method to simplify construction of black listspermute.nodes to throw an error when passing in a user-specified node orderingrandom.graph method to generate random edgeListsas.sparse is now significantly faster and supports Matrix inputget.solution() has been renamed select() (for consistency with select.parameter())NEWS.md file to track changes to the packageselect() now uses fuzzy matching by defaultget.nodes() to return node names from a sparsebn objectestimate.parameters() when using discrete dataplot.sparsebnPath() now accounts for omitted null graphrandom.dag() now correctly accepts FUN for user-specification of RNG