Description Usage Arguments Examples
This function calculates a set of potentially meaningful side-effects. Second level interactions are calculated through estimating and tuning two models with repeated cross-validation: MARS and Lasso regression. Data preprocessing happens automatically through applying the BP2 recipe blueprint.
1 2 | analyse_interactions(df, target, folds = 5, repeats = 1,
upsample = "no")
|
df |
A data frame |
target |
A target variable |
folds |
Specify the number of folds in cross-validation. Defaults to 5 |
repeats |
Specify the number of times the fitting process should be repeated. Defaults to 1 |
upsample |
Should the minority class be upsampled during resampling? Defaults to "no" |
1 2 | data <- recipes::credit_data %>%
first_to_lower()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.