Install shap Python library

install_shap(method = "auto", conda = "auto", envname = NULL)

Arguments

method

Installation method. By default, "auto". It is passed to the py_install function from package `reticulate`.

conda

Path to conda executable. It is passed to the py_install function from package `reticulate`.

envname

Name of environment to install shapp package into. If NULL it will install into default It is passed to the py_install function from package `reticulate`.

To use conda installation execute install_shap(method = "conda", envname = nameofenv) Please keep in mind that winodws accepts only conda instalations

Examples

if (FALSE) { install_shap(method = "auto", conda = "auto") }