Description Usage Arguments Value
Build a RF model using caret and save result in a subfolder.
1 2 3 4 5 6 7 8 | implementRF(
dt_train,
dt_test,
dir_rf = NULL,
name_rdata = NULL,
do_prallel = T,
max_cores
)
|
dt_train |
dataframe. Training data for RF. Reference col should be 'manual'. |
dt_test |
dataframe. Test data for RF. This should have the same columns as |
dir_rf |
a directory to save the result of RF. If NULL, a subfolder will be automatically generated. |
name_rdata |
filefame for saving the RF result. If NULL, name will be automatically generated. |
do_prallel |
logical. If TRUE, use parallel process to tune RF. |
max_cores |
numeric. Maximum numbers of cores used for parallel processing. |
a list of the results of RF modeling. Rdata file is saved in a subfolder.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.