gbm.bfcheck {gbm.auto} | R Documentation |
Calculates minimum Bag Fraction size for gbm.auto
Description
Provides minimum bag fractions for gbm.auto, preventing failure due to bf & samples rows limit. Simon Dedman, 2016, simondedman@gmail.com, GitHub.com/SimonDedman/gbm.auto
Usage
gbm.bfcheck(samples, resvar, ZI = "CHECK", grv = NULL)
Arguments
samples |
Samples dataset, same as gbm.auto. |
resvar |
Response variable column in samples. |
ZI |
Are samples zero-inflated? TRUE/FALSE/"CHECK". |
grv |
Dummy param for package testing for CRAN, ignore. |
Value
Prints minimum Bag Fraction size for gbm.auto.
Author(s)
Simon Dedman, simondedman@gmail.com
Examples
data(samples)
gbm.bfcheck(samples = samples, resvar = "Cuckoo")
[Package gbm.auto version 2023.08.31 Index]