Description Usage Arguments Details Value Author(s) See Also
View source: R/estimateerrorparams.R
Estimates the prediction error distribution parameters requested in the input
to quantForestError
.
1 2 3 4 5 6 7 8 9 10 11 12 | estimateErrorParams(
train_nodes,
test_nodes,
mspewhat,
biaswhat,
intervalwhat,
pwhat,
qwhat,
mcrwhat,
alpha,
n.test
)
|
train_nodes |
A |
test_nodes |
A |
mspewhat |
A boolean indicating whether to estimate conditional MSPE. |
biaswhat |
A boolean indicating whether to estimate conditional bias. |
intervalwhat |
A boolean indicating whether to estimate conditional prediction intervals. |
pwhat |
A boolean indicating whether to estimate the conditional prediction error CDFs. |
qwhat |
A boolean indicating whether to estimate the conditional prediction error quantile functions. |
mcrwhat |
A boolean indicating whether to estimate the conditional misclassification rate. |
alpha |
A vector of type-I error rates desired for the conditional prediction
intervals; required if |
n.test |
The number of test observations. |
This function is for internal use.
A data.frame
with one or more of the following columns:
pred |
The random forest predictions of the test observations |
mspe |
The estimated conditional mean squared prediction errors of the random forest predictions |
bias |
The estimated conditional biases of the random forest predictions |
lower_alpha |
The estimated lower bounds of the conditional alpha-level prediction intervals for the test observations |
upper_alpha |
The estimated upper bounds of the conditional alpha-level prediction intervals for the test observations |
mcr |
The estimated conditional misclassification rate of the random forest predictions |
In addition, one or both of the following functions:
perror |
The estimated cumulative distribution functions of the conditional error distributions associated with the test predictions |
qerror |
The estimated quantile functions of the conditional error distributions associated with the test predictions |
Benjamin Lu <b.lu@berkeley.edu>
; Johanna Hardin <jo.hardin@pomona.edu>
quantForestError
, findOOBErrors
, findTestPreds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.