Skip to content

Commit 5a1ac7c

Browse files
author
hbaniecki
committed
update documentation
1 parent 55a4749 commit 5a1ac7c

14 files changed

Lines changed: 3702 additions & 99 deletions

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Authors@R:
1010
Description: Automate the explanatory analysis of machine learning predictive models.
1111
Generate advanced interactive and animated model explanations in the form of
1212
a serverless HTML site with only one line of code. This tool is model agnostic,
13-
therefore compatibile with most of the black box predictive models and frameworks.
13+
therefore compatible with most of the black box predictive models and frameworks.
1414
The main function computes various (instance and dataset level) model explanations
15-
and produces an interactive, customisable dashboard made with 'D3.js'. It consists
15+
and produces an interactive, customizable dashboard made with 'D3.js'. It consists
1616
of multiple panels for plots with their short descriptions. Easily save and share
1717
the dashboard with others. Tools for model exploration unite with tools for EDA
1818
(Exploratory Data Analysis) to give a broad overview of the model behavior.

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# modelStudio 1.0.2 (development)
22
* fix `FD` plot on matrix-like data
3-
* center `modelStudio` position
3+
* center `modelStudio` position in HTML
44
* `modelStudio` now renders properly from `.Rmd` to `.html`
55

66
# modelStudio 1.0.1

R/modelStudio.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#'
33
#' @description
44
#' This function computes various (instance and dataset level) model explanations and produces an interactive,
5-
#' customisable dashboard made with D3.js. It consists of multiple panels for plots with their short descriptions.
5+
#' customizable dashboard made with D3.js. It consists of multiple panels for plots with their short descriptions.
66
#' Easily save and share the dashboard with others. Tools for model exploration unite with tools for EDA
77
#' (Exploratory Data Analysis) to give a broad overview of the model behavior.
88
#'

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## Overview
1010

11-
The `modelStudio` package **automates the Explanatory Analysis of Machine Learning predictive models**. Generate advanced interactive and animated model explanations in the form of a **serverless HTML site** with only one line of code. This tool is model agnostic, therefore compatibile with most of the black box predictive models and frameworks (e.g. `mlr/mlr3`, `xgboost`, `caret`, `h2o`, `scikit-learn`, `lightGBM`, `tensorflow/keras`).
11+
The `modelStudio` package **automates the Explanatory Analysis of Machine Learning predictive models**. Generate advanced interactive and animated model explanations in the form of a **serverless HTML site** with only one line of code. This tool is model agnostic, therefore compatible with most of the black box predictive models and frameworks (e.g. `mlr/mlr3`, `xgboost`, `caret`, `h2o`, `scikit-learn`, `lightGBM`, `tensorflow/keras`).
1212

1313
The main `modelStudio()` function computes various (instance and dataset level) model explanations and produces an **interactive, customisable dashboard made with D3.js**. It consists of multiple panels for plots with their short descriptions. Easily **save and share** the dashboard with others. Tools for model exploration unite with tools for EDA (Exploratory Data Analysis) to give a broad overview of the model behavior.
1414

@@ -236,6 +236,9 @@ explainer <- py_load_object('explainer_titanic.pickle')
236236
predict_function <- function(model, data) {
237237
if ("predict_proba" %in% names(model)) {
238238
pred <- model$predict_proba(data)
239+
if (ncol(pred) == 2) {
240+
pred <- pred[,2]
241+
}
239242
} else {
240243
pred <- model$predict(data)
241244
}

inst/WORDLIST

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@ serverless
2323
SHAP
2424
suppressWarnings
2525
updateModelStudio
26+
xgboost
27+
tensorflow
28+
Shapley
29+
cran
30+
CRAN
31+
MLPCLassifier
32+
keras
33+
lightGBM

man/modelStudio.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)