One of the researchers, Marco Ribeiro, who developed this method of explaining how black box models make their decisions has developed a Python implementation of the algorithm available through Github, but has anyone developed a R package? If so, can you report on using it?
I think you're talking about the
lime Python package. No, there is no R port for the package. The implementation for the localized model requires enhancements to the existing machine-learning code (explained in the paper), a new implementation for R would be very time consuming.
You may want to take a look at this for interfacing Python in R.
My suggestion is stick with Python. The package is only useful for highly complicated non-linear models, which Python offers better support than R.
Yes, there is now a port to R, which is available here.
It purports to provide LIME explanations for any classifier that implements a
predict() method accepting a
type = 'prob' argument. I have not yet tested it myself.