shapper icon indicating copy to clipboard operation
shapper copied to clipboard

R studio crashes when individual_variable_effect() is ran

Open ajoules opened this issue 4 years ago • 0 comments

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)

ajoules avatar May 05 '21 17:05 ajoules