score: Computes the score of a BN or a DBN

View source: R/bnlearn_compat.R

scoreR Documentation

Computes the score of a BN or a DBN

Description

Generic method for computing the score of a BN or a DBN. Calls bnlearn's nodes underneath. I have to redefine the generic and mask the original for it to work on both bn and dbn objects without the user having to import bnlearn.

Usage

score(object, ...)

Arguments

object

a "bn" or "dbn" object

...

additional parameters

Value

the score of the network


dbnR documentation built on June 22, 2024, 10:54 a.m.

Related to score in dbnR...