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

Display feature of interest in plots #70

Closed
andreassot10 opened this issue Jun 29, 2020 · 4 comments
Closed

Display feature of interest in plots #70

andreassot10 opened this issue Jun 29, 2020 · 4 comments
Labels
documentation 📚 Improvements or additions to documentation question ❔ Further information is requested

Comments

@andreassot10
Copy link

Hi,

I would like to know how to display the features of interest on a modelStudio plot. It looks like modelStudio chooses the first feature in the data frame by default and that information on the rest of features is only made available by hovering over the plots.

Example from modelStudio website:

library("DALEX")
library("modelStudio")

# fit a model
model <- glm(survived ~., data = titanic_imputed, family = "binomial")

# create an explainer for the model    
explainer <- explain(model,
                     data = titanic_imputed,
                     y = titanic_imputed$survived,
                     label = "Titanic GLM")

# make a studio for the model
modelStudio(explainer)

The only feature displayed on the plot is gender, which is the first column in titanic_imputed.

Unless I'm missing something, it appears that there is no mention in the manual about how to change this. There's also no option for changing this in the actual plot.

Thanks.

@hbaniecki
Copy link
Member

hbaniecki commented Jun 29, 2020

Hi,
This can be done by clicking on the bars (e.g. Break Down, Feature Importance). I will add it to the manual.
Probably should consider adding another dropdown for variable choice too.

@hbaniecki hbaniecki added documentation 📚 Improvements or additions to documentation question ❔ Further information is requested labels Jun 29, 2020
@andreassot10
Copy link
Author

Hi,
This can be done by clicking on the bars (e.g. Break Down, Feature Importance). I will add it to the manual.
Probably should consider adding another dropdown for variable choice too.

Break Down & Feature Importance bars probably the only places on the visualization I didn't click on! Mention in the manual as well as a drop-down for feature choice in the plot would definitely help.
Many thanks

@hbaniecki
Copy link
Member

hbaniecki commented Jul 11, 2020

Testing a new dropdown for variables on the master branch 867e12a. It will happen in the next CRAN release (v1.2.0).

@andreassot10
Copy link
Author

Fab, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📚 Improvements or additions to documentation question ❔ Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants