predictModelAverageNode: Predict a Multinomial-Dirichlet model

Description Usage Arguments

View source: R/cross-validation.R

Description

Predict a node of a Bayesian network, given a collection of Bayesian networks. The predictions from each supplied Bayesian network are averaged over, according to their weights.

Usage

1
  predictModelAverageNode(node, x, weights, train, newdata)

Arguments

node

An integer, giving the node

x

A BN

newdata

A data frame of new data


rjbgoudie/structmcmc documentation built on Nov. 3, 2020, 3:41 a.m.