mml_dag_fast: A function to calculate the mml score of a dag

Description Usage Arguments

View source: R/mml_dag_fast.R

Description

This function calculates the mml score of a dag. The mml score of a dag is the sum of the mml score of a node given its parents in the dag.

Usage

1
mml_dag_fast(adjmtx, mmlCPTCach)

Arguments

adjmtx

The adjacency matrix of a given dag.

mmlCPTCach

The pre-calculated mml score of a node given its potential parents.


kelvinyangli/mbmml documentation built on June 29, 2020, 3:12 a.m.