View source: R/cross-validation.R
Predicts a particular node
1 2 | predictGivenNoParents(node, x, param, newdata,
type = c("response", "probabilities"))
|
node |
An integer, specifying the node |
x |
A BN |
param |
Parameters for the model |
newdata |
A data frame of new data |
type |
The type of prediction required. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.