test_indep: Test if an independence is represented in an imset

test_indepR Documentation

Test if an independence is represented in an imset

Description

Test if an independence is represented in an imset

Usage

test_indep(imset, ci, consMat, timeout = 60L, sparse = FALSE)

Arguments

imset

an imset

ci

a conditional independence

timeout

a timeout for the linear program solver in seconds

sparse

logical: use sparse matrix?

Details

Runs linear program suggested in Lindner (2012), Section 6.3.2. The timeout variable defaults to 60 seconds: using 0 means there is no limit. If the version of lpSolve 5.6.13.4.9000 is not installed, then the timeout variable will not have any effect.

References

Lindner (2012). Discrete optimisation in machine learning-learning of Bayesian network structures and conditional independence implication, PhD Thesis, TUM.


rje42/imset documentation built on March 20, 2023, 9:55 a.m.