performBatchMI: Run the batch external MI test

Description Usage Arguments Value

View source: R/ManageExternalInference.R

Description

Run the external MI test on a batch of items in a network's data table

Usage

1
2
performBatchMI(net, first, last, nodes, envNodes, weights, number, filename,
  pause = 2)

Arguments

net

A network object. The network should have a valid data views.

first

The first item to look at

last

The last item to look at

nodes

The nodes to check mutual information of environment variables on, in 1-indexed form.

envNodes

The environment variables, in 1-indexed form.

weights

The weights, if a combined MI result desired. Should be one weight for each node, or NULL. Intended to be probabilities of nodes, though importance weights could be used as well.

number

The number of samples

filename

The full filename to write the results to.

pause

The duration in seconds to wait after making system call

Value

Nothing. But writes the MI matrix nodes vs envNodes. If a weights vector has been given, there will be an additional row which is a weighted combination of the other rows.


mickash/Adaptive-Bayesian-Networks documentation built on Nov. 14, 2019, 12:14 a.m.