Description Usage Arguments References See Also Examples
Control of resampling methods.
1 2 3 |
method |
the resampling method: |
number |
the number of bootstrap samples |
replace |
a logical indicating whether sampling of observations is done with or without replacement |
boot.size |
percentage of observations ( |
k |
the number of folds |
k.runs |
the number of runs of k-fold cross-validations |
dependency |
to handle paired data structures |
Breiman L. (1996), Out-Of-Bag Estimation. Technical Report.
ftp://ftp.stat.berkeley.edu/pub/users/breiman/OOBestimation.ps.Z.
Adler W, Brenning A, Potapov S, Schmid M, Lausen B. (2011),
Ensemble classification of paired data. Computational Statistics and Data Analysis.
55(5):1933-1941.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ###
### for bootstrap
###
Daim.control(method="boot", number=100)
###
### for cross-validation
###
Daim.control(method="cv", k=10, k.runs=10)
###
### for subagging or subsampling
###
Daim.control(method="boot", number=100, replace=FALSE, boot.size=0.9)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.