Changelog
Source:NEWS.md
cheem v0.4.0
- Repaired packagedown site!
- Fixed news on packagedown site.
- Shiny app has go buttons rather than waiting after every input change.
- Shiny app text, plot dimensions, and text cleaned up.
- Classification tour now uses a horizontal layout.
- Cleaned up the text on the facet panels for
global_tour()
andradial_cheem_tour()
. - Removed support for the
basis_type
argument. support for alternative bases types is really an extension of the analysis. - Recreate the saved classification model, they fit too well to work as illustrations.
- Set seed more consistently. All model and attribution shifted a bit, but will be more replicable going forward.
- Minor documentation and code clean up and clarifications.
cheem v0.3.0 – Generalized for any attribution
CRAN release: 2023-05-08
- Rebase all functions from expecting a unified
treeshap::shap()
to generalized data frame or matrix format for arbitrary attribution spaces. - Rework vignette and examples to reflect this change.
- Added precomputed predictions and attributions for the Ames, Chocolates, and Penguins datasets. This allows users to run attribution-agnostic functions without dependencies.
- Add
subset_cheem()
, a convenience function for subsetting cheem lists after construction. - Removed plotly subplot variations of visuals:
global_view_subplots()
,radial_cheem_tour_subplots()
. These were development variations never used in the shiny app. - Minor function renames for parsimony and consistency.
cheem v0.2.0 (CRAN releases here on out)
CRAN release: 2022-03-14
App related changes
- Added vignette: Getting started with cheem.
- Added pkgdown site: https://nspyrison.github.io/cheem/.
- Added global model performance metrics to shiny app.
- In
global_view()
, added yhaty panel (residual plot/confusion matrix). - In
global_view()
, added color options: log_maha.data and cor_attr.y. - In
cheem_radial_tour()
, added regression case panel with additional fixed y of residual. - In app radial tour inputs, added inclusion variable, subsetting variables used in radial tour.
-
plotly::subplot()
variants ofglobal_view()
&cheem_radial_tour()
. - Added AmesHousing data, chocolates, and new toy simulated datasets (shiny app only).
- Reduced shiny app wording.
Internal & utilities
- Major rebase of
cheem_ls()
. - Added
linear/logistic_tform()
to suggest an alpha as a function of the number of observations.
Sourcing treeshap
- drat repository hosting treeshap did not work with debian and window rhub platforms;
- Minimally ported functions and cpp source files with @author & @source. Changed examples for consistency and smaller code base support.
- as of v0.3.0, cheem was generalized to all local variable attributions, so this is not a concern.
cheem v0.1.0 (GitHub only, commit 283da4)
Primary preprocessing functions
-
default_rf()
create arandomForest::randomForest()
with more conservative defaults. -
attr_df_treeshap()
createtreeshap::treeshap()
local explanations of each observation. -
cheem_ls()
create a cheem list of prepared tables for use inrun_app()
.
Primary visual functions
-
run_app()
which is a shiny app consuming the following two: -
global_view()
linked ‘plotly’ of approximations of data- and attribution-spaces with model information. -
cheem_radial_tour()
createspinifex::ggtour
of the specified radial tour. Consumed by animate_plotly, animate_gganimate, or filmstrip.