score.dbn {dbnR} | R Documentation |
Computes the score of a BN or a DBN
Description
Generic method for computing the score of a "dbn" S3 object.
Calls bnlearn's score
underneath.
The nodes function is specifically coded to look for either the "bn"
or the "bn.fit" method inside bnlearn, so I have to cast the "dbn" class
into "bn" for it to work.
Usage
## S3 method for class 'dbn'
score(object, ...)
Arguments
object |
a "dbn" object |
... |
additional parameters |
Value
the score of the network
[Package dbnR version 0.7.9 Index]