Description Usage Arguments Value Note See Also Examples
Convert mnnet
network into bnlearn
object and use BIC.bn
to calculate the BIC.
1 | BICbnnet(nw, dataset)
|
nw |
|
dataset |
A data frame to use |
real number
BIC is not calculated as usual -2*log-likelihood + log(n)*npar, but as log-likelihood - log(n)*npar/2
1 2 3 4 | rg <- tabu(learning.test)
nw <- import.bnlearn(rg)
BIC(rg, learning.test)
BICbnnet(nw, learning.test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.