Learn R Programming

shapper (version 0.1.3)

install_shap: Install shap Python library

Description

Install shap Python library

Usage

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

Run this code
# NOT RUN {
  install_shap((method = "auto", conda = "auto")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab