load_params | R Documentation |
Reads a YAML file containing model parameters, including station settings,
variables, and configurations for various models. If no file path is
provided, the function defaults to loading params.yaml
from the package's
extdata
directory.
load_params(filepath = NULL)
filepath |
Character. Path to the YAML file. If |
The YAML file should define parameters in a structured format, such as:
target: 'NO2' lightgbm: nrounds: 200 eta: 0.03 num_leaves: 32 dynamic_regression: ntrain: 8760 random_forest: num.trees: 300 max.depth: 10 meteo_variables: - GLO - TMP
A list containing the parameters loaded from the YAML file.
params <- load_params()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.