train a random forest model and predict forecast-models for new series
build_rf(
training_set,
testset = FALSE,
rf_type = c("ru", "rcp"),
ntree,
seed,
import = FALSE,
mtry = 8
)
a list containing the random forest and forecast-models for new series
data frame of features and class labels
features of new time series, default FALSE if a testset is not available
whether ru(random forest based on unbiased sample) or rcp(random forest based on class priors)
number of trees in the forest
a value for seed
Should importance of predictors be assessed?, TRUE of FALSE
number of features to be selected at each node