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

survshap result attribute is of class matrix and should be a data.frame #30

Closed
hbaniecki opened this issue Jan 14, 2023 · 0 comments · Fixed by #49
Closed

survshap result attribute is of class matrix and should be a data.frame #30

hbaniecki opened this issue Jan 14, 2023 · 0 comments · Fixed by #49
Assignees
Labels
invalid ❕ This doesn't seem right

Comments

@hbaniecki
Copy link
Member

survex/R/predict_parts.R

Lines 76 to 78 in 64e96d6

res <- switch(type,
"survshap" = surv_shap(explainer, new_observation, ...),
"survlime" = surv_lime(explainer, new_observation, ...),

@hbaniecki hbaniecki added the invalid ❕ This doesn't seem right label Jan 14, 2023
@krzyzinskim krzyzinskim self-assigned this Feb 10, 2023
@krzyzinskim krzyzinskim linked a pull request Feb 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid ❕ This doesn't seem right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants