Skip to content

Commit 29747a7

Browse files
committed
update doc and fix unused variables
1 parent 4922a0b commit 29747a7

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: modelStudio
22
Title: Interactive Studio for Explanatory Model Analysis
3-
Version: 1.1.0.9000
3+
Version: 1.2.0
44
Authors@R:
55
c(person("Hubert", "Baniecki", role = c("aut", "cre"),
66
email = "[email protected]",

NEWS.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# modelStudio (development)
2+
* ...
3+
4+
# modelStudio 1.2.0
25
* remove redundant documentation resources so that the package weights less
3-
* add a dropdown list for variables
6+
* add a second dropdown list for variable change
47
* fix check class warning
58
* add `stringsAsFactors=TRUE` where `data.frame` is used
69

R/modelStudio.R

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
#' @description
44
#' This function computes various (instance and dataset level) model explanations and produces an interactive,
55
#' customisable dashboard. It consists of multiple panels for plots with their short descriptions.
6-
#' Easily save and share the HTML dashboard with others. Tools for model exploration unite with tools for EDA
7-
#' (Exploratory Data Analysis) to give a broad overview of the model behavior.
6+
#' Easily save and share the HTML dashboard with others. Tools for model exploration unite with tools for
7+
#' Exploratory Data Analysis to give a broad overview of the model behavior.
88
#'
99
#' Theoretical introduction to the plots:
1010
#' \href{https://pbiecek.github.io/ema/}{Explanatory Model Analysis: Explore, Explain and Examine Predictive Models}
1111
#'
12+
#' Displayed variable can be changed by clicking on the bars of plots or with the first dropdown list,
13+
#' and observation can be changed with the second dropdown list.
14+
#'
1215
#' @param explainer An \code{explainer} created with \code{DALEX::explain()}.
1316
#' @param new_observation New observations with columns that correspond to variables used in the model.
1417
#' @param new_observation_y True label for \code{new_observation} (optional).

inst/d3js/generatePlots.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2665,5 +2665,7 @@ function generatePlots(arrPlotId) {
26652665

26662666
function updateDropDownVar(variableName) {
26672667
/// change dropdown variable on bar click
2668+
if (variableName == "prediction" || variableName == "intercept" ||
2669+
variableName == "other") { return; }
26682670
d3.select('#inputVar').property('value', variableName)
26692671
}

pkgdown/favicon/demo.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)