Description Usage Arguments Value Examples
View source: R/HELPER_decide_on_parallel_run.R
decide_on_parallel_run
is a function to determine whether running the
forecasting in parallel is going to be faster that not running it parallel.
Because of the initialization time of parallel forecast runs, it could be
faster for limited forecasting efforts to run without parallelization.
1 | decide_on_parallel_run(fc_methods = supported_fc_methods_uni_var(), nrows)
|
fc_methods |
A character vector specifying the forecast methods to run.
For more info |
nrows |
A positive integer value indicating the number of rows in the main_forecasting_table that needs to be filled with forecasts. |
A boolean indicating whether a parallel run is expecting to be faster (TRUE) or not (FALSE)
1 2 | decide_on_parallel_run(fc_methods = c("basic"), nrows = 100)
decide_on_parallel_run(fc_methods = c("basic", "prophet"), nrows = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.