Learn R Programming

BayesianDisaggregation (version 0.1.2)

run_grid_search: Run grid search for parameter optimization (parallel PSOCK)

Description

Run grid search for parameter optimization (parallel PSOCK)

Usage

run_grid_search(
  path_cpi,
  path_weights,
  grid_df,
  n_cores = parallel::detectCores() - 1
)

Value

Data frame with results for all parameter combinations (ordered by composite desc)

Arguments

path_cpi

Path to CPI Excel file

path_weights

Path to weights Excel file

grid_df

Data frame with parameter combinations (one row = one config)

n_cores

Number of cores for parallel processing