calculate_base_variables_importance: Calculate base variables importance for each model

Description Usage Arguments Value

View source: R/calculate_base_variables_importance.R

Description

Calculate base variables importance for each model

Usage

1
2
3
4
5
calculate_base_variables_importance(
  importance_frame,
  weights = NULL,
  base_columns = c("model_variable", "base_variable", "model_id")
)

Arguments

importance_frame

- dataframe with columns: model variable name, base variable name, model id, class, and the rest of the columns concern the impact of the variables

weights

- weights for importance of variables in each model (default: NULL, equal)

base_columns

- names for first four columns (default: c("model_variable", "base_variable", "model_id"))

divide_by_number

- boolean, do you want to divide impact by number of base variables

Value

dataframe with columns: variable (base variable), impact (calculated based on several models specified in mdoel_ids), model_id


mjalocha/baseImportance documentation built on Dec. 21, 2021, 7:02 p.m.