View source: R/cross-validation.R
Residuals for a single node for a Normal model
1 | residsNormalNode(node, x, train, test, metric, verbose)
|
node |
An integer, giving the node |
x |
A BN |
train |
A data frame of training data |
test |
A data frame of test data |
metric |
A function that measures the distance between the predictions and the true values |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.