Description Usage Arguments Details Value See Also
Compute the difference in log marginal likelihood of the supplied Bayesian Networks, quickly.
1 2 | logScoreNormalIncremental(currentBN, proposalBN, heads,
logScoreParameters, cache, checkInput = T)
|
currentBN |
An object of class "bn". |
proposalBN |
An object of class "bn". |
heads |
A numeric vector, specifying which nodes have different parents in currentBN and proposalBN. |
logScoreParameters |
A list with the following components:
|
cache |
Optionally, provide an environment with cached local scores for this data. |
checkInput |
A logical of length 1, specifying whether to check the inputs to the function. |
This is a fast, incremental version of logScoreNormal.
The data is scored as continuous, using a form of the Zellner Prior.
logscore(proposalBN) - logscore(currentBN)
logScoreNormal
,
logScoreNormalOffline
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.