BNLearnScorer | R Documentation |
A thin wrapper on the bnlearn::score function.
BNLearnScorer(node, parents, ...)
node |
Name of node to score. |
parents |
The parents of node. |
... |
The ellipsis is used to pass other parameters to the scorer. |
A numeric value representing the log score of the node given the parents.
data <- bnlearn::learning.test
BNLearnScorer('A', c('B', 'C'), data = data)
BNLearnScorer('A', c(), data = data)
BNLearnScorer('A', vector(), data = data)
BNLearnScorer('A', NULL, data = data)
BNLearnScorer('A', c('B', 'C'), data = data, type = "bde", iss = 100)
BNLearnScorer('A', c('B', 'C'), data = data, type = "bde", iss = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.