ScoreLabelledPartition | R Documentation |
Score labelled partition
ScoreLabelledPartition(partitioned_nodes, scorer)
partitioned_nodes |
Labelled partition. |
scorer |
Scorer object. |
Log of the node score.
data <- bnlearn::learning.test
dag <- UniformlySampleDAG(names(data))
partitioned_nodes <- DAGtoPartition(dag)
scorer <- CreateScorer(
scorer = BNLearnScorer,
data = data
)
ScoreLabelledPartition(partitioned_nodes, scorer)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.