mml_pt: A function to calculate the mml score of a polytree

Description Usage Arguments

View source: R/mml_pt.R

Description

This function calculates the mml score of a polytree. It searches through the space of all possible polytrees using mml_cpt as the objective function.

Usage

1
mml_pt(mmlCPTCach, mbptsList, target, learnedMB)

Arguments

mmlCPTCach

A matrix of pre-calculated mml score of each node in a mb given its possible parents. This is done using the mml_cpt_cach() function.

mbptsList

A list of all possible mbpts from mb size 0 up to 7.

target

A taregt node.

learnedMB

The learned mb of the target node.


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