ModelOriented / shapper

An R wrapper of SHAP python library
https://modeloriented.github.io/shapper/
58 stars 16 forks source link

Switch to a different environment #14

Closed mstaniak closed 4 years ago

mstaniak commented 5 years ago

Is it possible to change r-reticulate envir to a different one?

mstaniak commented 5 years ago

If not, can you please add it as a feature?

maksymiuks commented 4 years ago

Dear @mstaniak To change r-reticulate env to a different one you have to execute following commands: reticulate::use_virtualenv("path_to_your_env") or for conda reticulate::use_conda("name_of_conda_env") before attaching shapper.

There is no painless way to add this as a feature, it would require to rebuild package and remove .onLoad function which would crash every script where shapper is included right now.

mstaniak commented 4 years ago

Can you please include that information in the package documentation?

maksymiuks commented 4 years ago

I will be introduced with next shapper realease

mstaniak commented 4 years ago

thanks