View source: R/permutationImportance.R
shuffled_mae | R Documentation |
Compute the mean absolute error of a model's predictions when a variable is shuffled.
shuffled_mae(model, original_data, target, pred_type, shuffle_idx)
original_data |
A data.table of the original data. |
target |
A matrix of target values. |
shuffle_idx |
A vector of shuffled indices. |
A numeric vector of mean absolute errors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.