Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a model library name as attribute to explainer #109

Closed
hbaniecki opened this issue Aug 30, 2019 · 2 comments
Closed

Add a model library name as attribute to explainer #109

hbaniecki opened this issue Aug 30, 2019 · 2 comments
Assignees
Labels
feature 💡 New feature or enhancement request

Comments

@hbaniecki
Copy link
Member

hbaniecki commented Aug 30, 2019

example:

library(mlr)

train <- DALEX::HR[1:100,]
train$fired <- ifelse(train$status == "fired", 1, 0)
train <- train[,-6]

# prepare mlr model
task <- mlr::makeRegrTask(id = "task",
                          data = train,
                          target = "fired")

learner <- mlr::makeLearner("regr.randomForest",
                            par.vals = list(ntree = 300),
                            predict.type = "response")

model <- mlr::train(learner, task)

model$learner$package
@hbaniecki hbaniecki added the feature 💡 New feature or enhancement request label Aug 30, 2019
@pbiecek
Copy link
Member

pbiecek commented Oct 7, 2019

@maksymiuks it would be great to add this feature for the release fall 2019

@pbiecek
Copy link
Member

pbiecek commented Oct 18, 2019

done in 67dafea

@pbiecek pbiecek closed this as completed Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 💡 New feature or enhancement request
Projects
None yet
Development

No branches or pull requests

3 participants