install_shap: Install shap Python library

View source: R/install_shap.R

install_shapR Documentation

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

## Not run: 
install_shap(method = "auto", conda = "auto")

## End(Not run)


ModelOriented/shapper documentation built on May 26, 2023, 2:20 a.m.