modelStudio()
: open_plots = c("fi")
, which is a vector listing plots to be initially opened (and on which positions) (#112)DALEX::loss_default()
since DALEX >=2.5.0
SV
to the same as in BD
modelStudio()
: max_features_fi = max_features
, which allows displaying a distinctive number of features in FI
plot (other than in BD
and SV
)ms_options()
: **_axis_title
, which allow changing plot-specific axis title (default varies)R >=3.6
, DALEX >=2.2.1
, ingredients >=2.2.0
and iBreakDown >=2.0.1
modelStudioOptions()
is removed from this version of the package; after being deprecated for over a year since v1.1.0. Use the recommended ms_options()
instead.modelStudio()
: N_sv = 3*N
, which by default decreases the number of observations used for the calculation of Shapley Values
(rows in data
)margin_left = NULL
by default and it is adjusted based on the length of variable namesFI
instead of BD
by defaultverbose
parameter to modelStudio()
as an alias to show_info
(#101)ms_merge_observations()
function that merges local explanation of observations from multiple modelStudio
objects (#102)new_observation = NULL
then choose new_observation_n = 3
observations, evenly spread by the order of y_hat
. This shall always include the observations, which ids are which.min(y_hat)
and which.max(y_hat)
. Additionally, improve the observation dropdown text in dashboard. (#94)DALEX v2.0.1
ms_options
: ms_subtitle
, ms_margin_top
and ms_margin_bottom
modelStudio()
: N_fi = 10*N
and B_fi = B
license
parameter to modelStudio()
which allows to specify the connection for readLines()
(e.g. 'LICENSE'
) which will add file contents into the HTML output as a commentDALEX v2.0
, ingredients v2.0
and iBreakDown v1.3.1
telemetry
to FALSE
.modelStudio
in Shiny (#77)
using new widget_id
argumentNA
in data
(#71)variable_splits_type='uniform'
and CP plots are now calculated with variable_splits_with_obs=TRUE
(#74)loss_function
in FI is now different for each explainer$model_info$type
(#73)...
would cause an errormax_vars
alias for the max_features
parametery
has only two unique
values (classification) (#76)stringsAsFactors=TRUE
where data.frame
is usedmodelStudioOptions()
to ms_options()
ms_update_options()
function that updates the options of a modelStudio
objectms_update_observations()
function that updates the observations of a modelStudio
objectB
default value from 15
to 10
and N
default value from 400
to 300
feature_importance
is now calculated on 10*N
sampled rows from the dataranger
instead of randomForest
everywhereauto_unbox = TRUE
to jsonlite::toJSON
and changed the .js
code to comply"modelStudio"
to the modelStudio()
outputFD
plot on matrix-like datamodelStudio
position in HTMLmodelStudio
now renders properly from .Rmd
to .html
devel-fedora
tests for cranR v4.0
changesdata
with xgboost
working examplemax(min, q1 - 1.5*iqr)
and min(max, q3 + 1.5*iqr)
show_info
with progress
packagemodelStudio()
now only works on explainer
class object made with DALEX::explain()
iBreakDown v1.0.0
and ingredients v1.0.0
cummulative
to cumulative
in code (#49)dependency
to dependence
in code (#52)SV
plot (#50)eda
argument to modelStudio()
show_boxplot
argument to modelStudioOptions()
TV
plot (X had columns sorted while y was the same)ms_title
argument to modelStudioOptions()
(#46)modelStudio
footer is generated fasterTarget vs Feature [EDA]
(#38)Average Target vs Feature [EDA]
(#41)FI
plot ingredients/72new_observation_y
argument to modelStudio()
(#39)...
to prepare_*
functions (e.g. allows to round numbers)margin_ytitle
argument to modelStudioOptions()
data
(#25)BD
and second is clicked
(#37)try-catch
blocks added - errors in ingredients
or iBreakDown
functions are
now treated as warnings and do not stop the modelStudio
computation (#35)show_info
adds messages saying what is currently calculated (#40)spellcheck
to tests (#36)DALEX v0.4.9
and ingredients v0.4.0
B
default value from 25
to 15
, N
default value from 500
to 400
Many minor changes stated in #20, most notably:
x
parameter to object
in modelStudio()
getOptions()
to modelStudioOptions()
viewer
parameter to modelStudio()
modelStudio
only_numerical
to variable_type
in ingredients
functionsparallelMap
modelStudio
customization with options
parametergetOptions()
functionmodelStudio
does not reload on resizedescription
won't show if there are less than 4 features in the modelmodelStudio
packagemodelStudio()
function implemented