estimate_stability {optRF} | R Documentation |
Estimate the stability of random forest
Description
Estimate the stability of random forest with certain numbers of trees
Usage
estimate_stability(
optRF_object,
with_num.trees = c(1000, 5000, 10000, 50000, 1e+05)
)
Arguments
optRF_object |
An optRF_object, either the result from the opt_importance or the opt_prediction function. |
with_num.trees |
Either a single num.trees value or a vector containing multiple num.trees values for which the stability should be estimated. |
Value
A data frame summarising the estimated stability and run time in seconds for the given num.trees values.
Examples
data(SNPdata)
set.seed(123)
result_optpred = opt_prediction(y = SNPdata[,1], X=SNPdata[,-1]) # optimise random forest
estimate_stability(result_optpred, with_num.trees=c(1000, 5000, 10000, 50000, 100000))
[Package optRF version 1.0.1 Index]