Skip to content

CRAN release 1.1.0

Compare
Choose a tag to compare
@mayer79 mayer79 released this 13 Nov 19:59
· 58 commits to main since this release
f7e61e6

Enhancements

  • {hstats} now also works for factor predictions. The levels are represented by one-hot-encoded columns (PR#101).
  • The plot method of a two-dimensional PDP has recieved the option d2_geom = "line". Instead of a heatmap of the two features, one of the features is moved to color grouping. Combined with swap_dim = TRUE, you can swap the role of the two v variables without recalculating anything. The idea was proposed by Roel Verbelen in issue #91, see also issue #94.

Bug fixes

  • Using BY and w via column names would fail for tibbles. This problem was described in #92 by Roel Verbelen. Thx!

Other changes

  • Much faster one-hot-encoding, thanks to Mathias Ambühl (PR#101).
  • Most functions are slightly faster (PR#101).
  • Add unit tests to compare against {iml}.
  • Made all examples "tibble" and "data.table" friendly.
  • Revised input checks in loss functions (relevant for perm_importance() and average_loss()).