Description Usage Arguments Details Value See Also
Computes the maximum likelihood estimates for the parameters of a Bayesian Network. These are just the proportions of each category for each configuration of the parents of a node in the Bayesian Network.
1 2 3 |
x |
The Bayesian Network. An object of class 'bn' |
data |
A data frame |
nodes |
A subset of 1, ..., |
regularisation |
One of |
cache |
A cache |
... |
Further arguments (unused) |
If, for a particular configuration of the parents, we
have no observations, then by default, NaN
is
returned.
A list of length nNodes(x)
. Each component is a
list containing components for each configuration of that
node's parents in the Bayesian Network x
. Each of
these components is a numeric vector of probabilities
that sum to 1, labelled with the levels of the relevant
node.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.