-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathREADME.Rmd
44 lines (35 loc) · 1.69 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
fig.align = "center",
out.width = "100%",
message = FALSE,
warning = FALSE
)
```
# fastshap <img src='man/figures/logo-fastshap.png' align="right" height="139" />
<!-- badges: start -->
[](https://CRAN.R-project.org/package=fastshap)
[](/~https://github.com/bgreenwell/fastshap/actions)
[](https://codecov.io/gh/bgreenwell/fastshap?branch=master)
[](https://www.tidyverse.org/lifecycle/#experimental)
[](/~https://github.com/bgreenwell/fastshap/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->
The goal of **fastshap** is to provide an efficient and speedy approach (at least relative to other implementations) for computing approximate Shapley values, which help explain the predictions from any machine learning model.

## Installation
``` r
# Install the latest stable version from CRAN:
install.packages("fastshap")
# Install the latest development version from GitHub:
if (!requireNamespace("remotes")) {
install.packages("remotes")
}
remotes::install_github("bgreenwell/fastshap")
```