-
Notifications
You must be signed in to change notification settings - Fork 108
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
Regression Example #33
Comments
You seem to have stumbled upon a bug - I'll look into it. Thanks |
Hi @joshualeond & @thomasp85, I am having the exact same problem as Joshua with my random forest. Thank you very much in advance. |
Hey @Marouds, I was able to run this example without any errors. This original bug resulted in the error: You're receiving this same error? Are you receiving this error using the example above or are you working with different data? For a regression model you can remove the |
Hi @joshualeond, thank you very much for your quick reply! I managed to run it in the end !! And indeed I was receiving the same error "#> Error in y[1, ]: incorrect number of dimensions". I added "drop=FALSE" when I split my data into training and testing dataset, and it worked! Thanks! |
I do have an issue with the visualization of the results, using plot_features(). |
Hi Thomas, thanks for your work here! I wanted to test the regression functionality similar to the python lime example here.
Everything seems to work correctly until the call to
explain
. Here is my reprex:I may be missing something obvious but I haven't discovered it yet. Also as a note, if I attempt to leave the
labels
andn_labels
arguments out of the function call it throws an error. Thanks again.The text was updated successfully, but these errors were encountered: