symmetry_correction: A function to enforce the symmetry correction after Markov...

Description Usage Arguments

View source: R/symmetry_correction.R

Description

This function enforces the symmetry check for each learned mb. That is, if a node x is is mb(y), but y isn't in mb(x), then either add y into mb(x) or delete x from mb(y), depending on which deterministic rule to follow. The two famous deterministic rules are the Intersection and Union rules. For MB discovery using MML, we prefer to use the Intersection rule due to the high precision and low recall of mml_cpt.

Usage

1
symmetry_correction(vars, mbList, rule)

Arguments

vars

A vector of all variables.

mbList

A list of learned Markov blankets.

rule

A string argument takes either "Intersection" or "Union", indicating the two deterministic rules mentioned above.


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