View source: R/approach_regression_separate.R
regression.get_tune | R Documentation |
That is, if the regression model contains hyperparameters we are to tune using cross validation. See tidymodels for default model hyperparameters.
regression.get_tune(regression.model, regression.tune_values, x_train)
regression.model |
A |
regression.tune_values |
Either |
x_train |
Matrix or data.frame/data.table. Contains the data used to estimate the (conditional) distributions for the features needed to properly estimate the conditional expectations in the Shapley formula. |
A boolean variable indicating if the regression model is to be tuned.
Lars Henry Berge Olsen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.