Description Usage Arguments Value Examples
supports rpart, randomForest, svm and caret will return NULL for other models
1 |
m |
model |
data |
training data |
tibble
1 2 3 4 5 6 7 | pl = pipelearner::pipelearner(mtcars) %>%
pipelearner::learn_models( rpart::rpart, disp~. ) %>%
pipelearner::learn_models( randomForest::randomForest, disp~. ) %>%
pipelearner::learn_models( e1071::svm, disp~. ) %>%
pipelearner::learn() %>%
mutate( imp = map2(fit, train, f_model_importance) )
pl$imp
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.