Skip to content

Commit

Permalink
Merge pull request #164 from ModelOriented/h2o-random-forest
Browse files Browse the repository at this point in the history
Adapt docu on h2o
  • Loading branch information
mayer79 authored Nov 30, 2024
2 parents 9e0bbf7 + c7fbd77 commit a80aee9
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shapviz
Title: SHAP Visualizations
Version: 0.9.6
Version: 0.9.7
Authors@R: c(
person("Michael", "Mayer", , "[email protected]", role = c("aut", "cre")),
person("Adrian", "Stando", , "[email protected]", role = "ctb")
Expand Down
10 changes: 10 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# shapviz 0.9.7

### Documentation

- H2O random forests (regression and binary classification) are now supported as well (fast TreeSHAP) [#163](https://github.com/ModelOriented/shapviz/pull/163).

### Compatibility

- Adapt for upcoming {shapr} version, thanks @martinju for the fix [#162](https://github.com/ModelOriented/shapviz/pull/162).

# shapviz 0.9.6

### Documentation
Expand Down
2 changes: 1 addition & 1 deletion R/shapviz.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' from a fitted model of type
#' - XGBoost,
#' - LightGBM, or
#' - H2O (tree-based regression or binary classification model).
#' - H2O (tree-based models).
#'
#' Furthermore, [shapviz()] can digest the results of
#' - `fastshap::explain()`,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

SHAP and feature values are stored in a "shapviz" object that is built from:

1. Models that know how to calculate SHAP values: XGBoost, LightGBM, H2O (boosted trees).
1. Models that know how to calculate SHAP values: XGBoost, LightGBM, H2O (tree-based models).
2. SHAP crunchers like {fastshap}, {kernelshap}, {treeshap}, {fastr}, and {DALEX}.
3. SHAP matrix and corresponding feature values.

Expand Down
2 changes: 1 addition & 1 deletion man/shapviz.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packaging.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ library(usethis)
use_description(
fields = list(
Title = "SHAP Visualizations",
Version = "0.9.6",
Version = "0.9.7",
Description = "Visualizations for SHAP (SHapley Additive exPlanations),
such as waterfall plots, force plots, various types of importance plots,
dependence plots, and interaction plots.
Expand Down

0 comments on commit a80aee9

Please sign in to comment.