Learn R Programming

dbnR (version 0.7.1)

dmmhc: Learns the structure of a markovian n DBN model from data

Description

Learns a gaussian dynamic Bayesian network from a dataset. It allows the creation of markovian n nets rather than only markov 1.

Usage

dmmhc(dt, size = 2, f_dt = NULL, blacklist = NULL, intra = TRUE, ...)

Arguments

dt

the data.frame or data.table to be used

size

number of time slices of the net. Markovian 1 would be size 2

f_dt

previously folded dataset, in case some specific rows have to be removed after the folding

blacklist

an optional matrix indicating forbidden arcs between nodes

intra

if TRUE, the intra-slice arcs of the network will be learnt. If FALSE, they will be ignored

...

additional parameters for rsmax2 function

Value

the structure of the net