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

R studio crashes when individual_variable_effect() is ran #33

Open
ajoules opened this issue May 5, 2021 · 0 comments
Open

R studio crashes when individual_variable_effect() is ran #33

ajoules opened this issue May 5, 2021 · 0 comments

Comments

@ajoules
Copy link

ajoules commented May 5, 2021

Hi there,

Thank you for developing this package!

I have the issue that when I run individual_variable_effect() function on my data, R studio is terminated.

I have subset my data to a small sample and reduced n_samples to 10. Is there anything else I can do?

Thank you!

Code:

ive_rf <- shapper::individual_variable_effect(model, data = new_data[1:100,], predict_function = predict_model.bartMachine,
                                              new_observation = new_data[101,], nsamples = 10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant