add_attr_to_fit {dbnR}R Documentation

Adds the mu vector and sigma matrix as attributes to the bn.fit or dbn.fit object

Description

Adds the mu vector and sigma matrix as attributes to the bn.fit or dbn.fit object to allow performing exact MVN inference on both cases. It also adds the number of time slices of the net for future inference.

Usage

add_attr_to_fit(fit, size)

Arguments

fit

a fitted bn or dbn

size

number of time slices of the net

Value

the fitted net with attributes


[Package dbnR version 0.7.8 Index]