- ...
- added new parameter to
modelStudio()
:open_plots = c("fi")
, which is a vector listing plots to be initially opened (and on which positions) (#112) - fixed future warning with
DALEX::loss_default()
sinceDALEX >=2.5.0
- changed y-axis variable labels in
SV
to the same as inBD
- added new parameter to
modelStudio()
:max_features_fi = max_features
, which allows displaying a distinctive number of features inFI
plot (other than inBD
andSV
) - added new options to
ms_options()
:**_axis_title
, which allow changing plot-specific axis title (default varies)
- BREAKING CHANGES:
- this version requires
R >=3.6
,DALEX >=2.2.1
,ingredients >=2.2.0
andiBreakDown >=2.0.1
- the deprecated alias
modelStudioOptions()
is removed from this version of the package; after being deprecated for over a year since v1.1.0. Use the recommendedms_options()
instead. - added new parameter to
modelStudio()
:N_sv = 3*N
, which by default decreases the number of observations used for the calculation ofShapley Values
(rows indata
) margin_left = NULL
by default and it is adjusted based on the length of variable names- the first plot opened in the dashboard is now
FI
instead ofBD
by default
- this version requires
- added the
verbose
parameter tomodelStudio()
as an alias toshow_info
(#101) - added new
ms_merge_observations()
function that merges local explanation of observations from multiplemodelStudio
objects (#102)
- fixed an error in
modelStudio()
when data had only one variable (#99)
- fix CRAN checks
- DEFAULTS CHANGES: if
new_observation = NULL
then choosenew_observation_n = 3
observations, evenly spread by the order ofy_hat
. This shall always include the observations, which ids arewhich.min(y_hat)
andwhich.max(y_hat)
. Additionally, improve the observation dropdown text in dashboard. (#94) - updated the progress printing
- this version requires
DALEX v2.0.1
- added new options to
ms_options
:ms_subtitle
,ms_margin_top
andms_margin_bottom
- added new parameters to
modelStudio()
:N_fi = 10*N
andB_fi = B
- added new
license
parameter tomodelStudio()
which allows to specify the connection forreadLines()
(e.g.'LICENSE'
) which will add file contents into the HTML output as a comment
- this version requires
DALEX v2.0
,ingredients v2.0
andiBreakDown v1.3.1
- The dashboard gathers useful, but not sensitive, information about how it is being used (e.g. computation length, package version, dashboard dimensions). This is for the development purposes only and can be blocked by setting
telemetry
toFALSE
. - add support for
modelStudio
in Shiny (#77) using newwidget_id
argument - modelStudio now works with
NA
indata
(#71) - CP, PD and AD plots are now calculated with
variable_splits_type='uniform'
and CP plots are now calculated withvariable_splits_with_obs=TRUE
(#74) - By default the
loss_function
in FI is now different for eachexplainer$model_info$type
(#73) - fixed a bug where passing additional parameters in
...
would cause an error - added a
max_vars
alias for themax_features
parameter - added median line to the boxplots in FI and SV plots, added boxplots to TV categorical plots (regression)
- TV plot uses boxplots and barplot when the target
y
has only two unique values (classification) (#76) - added more checks for input
- added the Residuals vs Feature plot (RV) (#84)
- added model performance measures to the footnote #(85)
- remove redundant documentation resources so that the package weights less
- add a second dropdown list for variable change
- fix check class warning
- add
stringsAsFactors=TRUE
wheredata.frame
is used
- rename
modelStudioOptions()
toms_options()
- add new
ms_update_options()
function that updates the options of amodelStudio
object - add new
ms_update_observations()
function that updates the observations of amodelStudio
object - lower
B
default value from15
to10
andN
default value from400
to300
feature_importance
is now calculated on10*N
sampled rows from the data- use
ranger
instead ofrandomForest
everywhere - remove unnecessary imports, update the documentation
- added
auto_unbox = TRUE
tojsonlite::toJSON
and changed the.js
code to comply - add new class
"modelStudio"
to themodelStudio()
output
- fix
FD
plot on matrix-like data - center
modelStudio
position in HTML modelStudio
now renders properly from.Rmd
to.html
- fix
devel-fedora
tests for cran
- stable release after fixing minor issues
- comply with
R v4.0
changes - add support for matrix-like
data
withxgboost
working example - boxplot whiskers end in
max(min, q1 - 1.5*iqr)
andmin(max, q3 + 1.5*iqr)
- upgrade
show_info
withprogress
package
modelStudio()
now only works onexplainer
class object made withDALEX::explain()
- this version requires
iBreakDown v1.0.0
andingredients v1.0.0
- change
cummulative
tocumulative
in code (#49) - change
dependency
todependence
in code (#52) - update package title and description
- change LICENSE to GPL-3 (#55)
- add boxplots to
SV
plot (#50) - add
eda
argument tomodelStudio()
- add
show_boxplot
argument tomodelStudioOptions()
- fix
TV
plot (X had columns sorted while y was the same) - add
ms_title
argument tomodelStudioOptions()
(#46) modelStudio
footer is generated faster
- new plot:
Target vs Feature [EDA]
(#38) - new plot:
Average Target vs Feature [EDA]
(#41) - add boxplots to
FI
plot ingredients/72 - add
new_observation_y
argument tomodelStudio()
(#39) - pass
...
toprepare_*
functions (e.g. allows to round numbers) - add
margin_ytitle
argument tomodelStudioOptions()
- by default: observations to calculate local explanations are taken at random from the
data
(#25) - by default: first plot is selected as
BD
and second isclicked
(#37) - nicer histogram when few unique values
- all categorical plots now have the same bar order ingredients/82
try-catch
blocks added - errors iningredients
oriBreakDown
functions are now treated as warnings and do not stop themodelStudio
computation (#35)show_info
adds messages saying what is currently calculated (#40)- add
spellcheck
to tests (#36) - Travis-CI now checks OSX
- this version requires
DALEX v0.4.9
andingredients v0.4.0
- lower
B
default value from25
to15
,N
default value from500
to400
- fix tests for CRAN
Many minor changes stated in #20, most notably:
- rename
x
parameter toobject
inmodelStudio()
- rename
getOptions()
tomodelStudioOptions()
- add
viewer
parameter tomodelStudio()
- add suppressWarnings(ingredients::describe)
- upgrade documentation, examples and vignette
- add description to all plots besides AD and FD
- add footer to
modelStudio
- change
only_numerical
tovariable_type
iningredients
functions
- add support for parallel computation with
parallelMap
- more
modelStudio
customization withoptions
parameter - add
getOptions()
function - remove plot subtitles by default
- remove file paths of dependencies from html file
- add animations to line plots
- change .js dependencies to min.js
- major .js code refactoring
- add proper exit plot buttons
- import Fira Sans font
modelStudio
does not reload on resize- rewrite d3-tip code, fix placement, add pointer
- add demo, cheatsheet, animated instructions, more tests and examples
description
won't show if there are less than 4 features in the model
- first stable version of the
modelStudio
package modelStudio()
function implemented