install_shap: Install shap Python library

Description Usage Arguments Examples

View source: R/install_shap.R

Description

Install shap Python library

Usage

1
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

1
2
3
4
## Not run: 
  install_shap((method = "auto", conda = "auto")

## End(Not run)

shapper documentation built on Aug. 28, 2020, 9:08 a.m.