This function outputs a calibrated significance level based on coverage of prediction intervals generated using oob collections. Primarily for use in RoyRF().
1 2 3 4 5 6 7 8 9 10 |
oob |
collection of oob predictions for training data (in list form). |
alpha |
nominal significance level. Defaults to 0.01. |
response_data |
response data of class data.frame. Must have names() attribute. |
tolerance |
tolerance allowed around nominal alpha. Default is 0.25. |
step_percent |
ratio absolute difference between empirical oob coverage and nominal coverage to adjust when calibrating. Defaults to 0.618. |
undercoverage |
Allow undercoverage. Defaults to TRUE. Not currently implemented. |
method |
Method to calibrate prediction intervals with. Defaults to "quantile"). Current only "quantile" implemented. |
max_iter |
Maximum number of iterations. Defaults to 10. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.