bnstruct1.0.15 package

Bayesian Network Structure Learning from Data with Missing Values

learn.network

learn a network (structure and parameters) of a BN from a BNDataset .

learn.params

learn the parameters of a BN .

learn.structure

learn the structure of a network.

marginals

compute the list of inferred marginals of a BN.

name-set

set name of an object.

name

get name of an object.

node.sizes-set

set the size of variables of an object.

node.sizes

get size of the variables of an object.

num.boots-set

set number of bootstrap samples of a BNDataset.

num.boots

get number of bootstrap samples of a BNDataset.

num.items-set

set number of items of a BNDataset.

num.items

get number of items of a BNDataset.

num.nodes-set

set number of nodes of an object.

num.nodes

get number of nodes of an object.

num.time.steps-set

set number of time steps of a BN or a BNDataset.

num.time.steps

get number of time steps observed in a BN or a BNDataset.

num.variables-set

set number of variables of a BNDataset.

num.variables

get number of variables of a BNDataset.

write.dsc

Write a network saving it in a .dsc file.

observations-set

set the list of observations of an InferenceEngine.

observations

get the list of observations of an InferenceEngine.

plot

plot a BN as a picture.

print

print a BN, BNDataset or InferenceEngine to stdout.

quantiles-set

set the list of quantiles of an object.

quantiles

get the list of quantiles of an object.

raw.data-set

add raw data.

raw.data

get raw data of a BNDataset.

read.bif

Read a network from a .bif file.

read.dataset

Read a dataset from file.

read.dsc

Read a network from a .dsc file.

read.net

Read a network from a .net file.

sample.dataset

sample a BNDataset from a network of an inference engine.

sample.row

sample a row vector of values for a network.

save.to.eps

save a BN picture as .eps file.

scoring.func-set

Set the scoring function used to learn the structure of a network.

scoring.func

Read the scoring function used to learn the structure of a network.

shd

compute the Structural Hamming Distance between two adjacency matrices...

show

Show method for objects.

struct.algo-set

Set the algorithm used to learn the structure of a network.

struct.algo

Read the algorithm used to learn the structure of a network.

test.updated.bn

check if an updated BN is present in an InferenceEngine.

tune.knn.impute

tune the parameter k of the knn algorithm used in imputation.

updated.bn-method

get the updated BN object contained in an InferenceEngine.

updated.bn-set

set the updated BN object contained in an InferenceEngine.

variables-set

set variables of an object.

variables

get variables of an object.

wpdag-set

set WPDAG of the object.

wpdag.from.dag

Initialize a WPDAG from a DAG.

wpdag

get the WPDAG of an object.

write_xgmml

Write a network saving it in an XGMML file.

add.observations-set

add further evidence to an existing list of observations of an `Infere...

asia

load Asia dataset.

belief.propagation

perform belief propagation.

BN-class

BN class definition.

bn-method

get the BN object contained in an InferenceEngine.

bn-set

set the original BN object contained in an InferenceEngine.

BNDataset-class

BNDataset class.

boot

get selected element of bootstrap list.

boots-set

set list of bootstrap samples of a BNDataset.

boots

get list of bootstrap samples of a BNDataset.

bootstrap

Perform bootstrap.

build.junction.tree

build a JunctionTree.

child

load Child dataset.

complete

Subset a BNDataset to get only complete cases.

cpts-set

set the list of conditional probability tables of a network.

cpts

get the list of conditional probability tables of a BN.

dag-set

set adjacency matrix of an object.

dag

get adjacency matrix of a network.

dag.to.cpdag

convert a DAG to a CPDAG

data.file-set

set data file of a BNDataset.

data.file

get data file of a BNDataset.

discreteness-set

set status (discrete or continuous) of the variables of an object.

discreteness

get status (discrete or continuous) of the variables of an object.

edge.dir.wpdag

counts the edges in a WPDAG with their directionality

em

expectation-maximization algorithm.

get.most.probable.values

compute the most probable values to be observed.

has.boots

check whether a BNDataset has bootstrap samples or not.

has.imputed.boots

check whether a BNDataset has bootstrap samples from imputed data or...

has.imputed.data

check if a BNDataset contains impited data.

has.raw.data

check if a BNDataset contains raw data.

header.file-set

set header file of a BNDataset.

header.file

get header file of a BNDataset.

imp.boots-set

set list of bootstrap samples from imputed data of a BNDataset.

imp.boots

get list of bootstrap samples from imputed data of a BNDataset.

impute

Impute a BNDataset raw data with missing values.

imputed.data-set

add imputed data.

imputed.data

get imputed data of a BNDataset.

InferenceEngine-class

InferenceEngine class.

interventions-set

set the list of interventions for an InferenceEngine.

interventions

get the list of interventions of an InferenceEngine.

jpts-set

set the list of joint probability tables compiled by an `InferenceEngi...

jpts

get the list of joint probability tables compiled by an `InferenceEngi...

jt.cliques-set

set the list of cliques of the junction tree of an InferenceEngine.

jt.cliques

get the list of cliques of the junction tree of an InferenceEngine.

junction.tree-set

set the junction tree of an InferenceEngine.

junction.tree

get the junction tree of an InferenceEngine.

knn.impute

Perform imputation of a data frame using k-NN.

layering

return the layering of the nodes.

learn.dynamic.network

learn a dynamic network (structure and parameters) of a BN from a BNDa...

Bayesian Network Structure Learning from Data with Missing Values. The package implements the Silander-Myllymaki complete search, the Max-Min Parents-and-Children, the Hill-Climbing, the Max-Min Hill-climbing heuristic searches, and the Structural Expectation-Maximization algorithm. Available scoring functions are BDeu, AIC, BIC. The package also implements methods for generating and using bootstrap samples, imputed data, inference.

  • Maintainer: Alberto Franzin
  • License: GPL (>= 2) | file LICENSE
  • Last published: 2024-01-09