shapper
shapper copied to clipboard
R studio crashes when individual_variable_effect() is ran
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)