pre_compute_models_foreground: Precompute the Predicted Statistics of Foreground Models

Description Usage Arguments Value

View source: R/combine_sim_pred.R

Description

Save/Load precomputed result in destined directory.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
pre_compute_models_foreground(
  load_foreground_result = NULL,
  param_setting_sim = NULL,
  additional_param_sim = list(),
  foreground_x = NULL,
  foreground_xreg = NULL,
  sim_length = 200,
  bins = c(1, 2, 6, 10, 14, 18, 22, 26, 30, 50, 80, 205),
  cores = parallel::detectCores()
)

Arguments

load_foreground_result

NULL or a character representing the destined load/save file path.

param_setting_sim

NULL or a dataframe representing the parameter setting of simulation, can be multiple rows corresponding to each foreground_x type.

additional_param_sim

A list of additional parameter settings of simulation.

foreground_x

NULL or a matrix or dataframe or a list of matrices or dataframes representing foreground observations.

foreground_xreg

NULL or a matrix or dataframe or a list of matrices or dataframes or a list of lists of matrices or dataframes, representing the regressor corresponding to foreground_x.

sim_length

NULL or a numeric integer representing the length of simulation. If exceeding the maximum length of each times series, the maximum length of each time series would be used.

bins

NULL or a numeric vector representing the choices of window sizes to be kept track of.

cores

NULL or a numeric integer representing the number of cores used for multiprocessing,

Value

A list containing all input variables and "machine_bin_offs" and "fg_predict_info_lst".


carlonlv/DataCenterSim documentation built on Jan. 9, 2022, 3:26 p.m.