library(magrittr)
data_prepared <- bdsm::economic_growth[, 1:5] %>%
bdsm::feature_standardization(
excluded_cols = c(country, year, gdp)
) %>%
bdsm::feature_standardization(
group_by_col = year,
excluded_cols = country,
scale = FALSE
)
init_model_space_params(data_prepared, year, country, gdp)
Run the code above in your browser using DataLab