You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like you don't have the randomForest R package installed. Try installing it from CRAN, and then load it to register S3 methods. One way of loading the package is simply attaching it but running library("randomForest"). Then, the above code should work without any problems.
Trying to replicate the example provided here : https://ema.drwhy.ai/breakDown.html
Facing the following error :
no applicable method for 'predict' applied to an object of class "c('randomForest.formula', 'randomForest')"
Code
The text was updated successfully, but these errors were encountered: