You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,10 @@
1
1
# kernelshap 0.4.1
2
2
3
-
## Other changes
3
+
## Performance improvements
4
4
5
-
- Slight speed-up of `kernelshap()` and `permshap()` for single-output predictions.
6
-
- Slight speed-up of `kernelshap()` and `permshap()` for factor-valued predictions.
5
+
- Significant speed-up for data objects with *single class "data.frame"*, i.e., no data.tables or tibbles or grouped data etc. This change makes it almost as fast to work with data.frames as with matrices.
6
+
- Slight speed-up for single-output predictions.
7
+
- Slight speed-up for factor-valued predictions.
7
8
- Slight speed-up of `permshap()` by caching calculations for the two special permutations of all 0 and all 1. Consequently, the `m_exact` component in the output is reduced by 2.
Parallel computing is supported via `foreach`, at the price of losing the progress bar. Note that this does not work with Keras models (and some others).
209
+
Parallel computing is supported via {foreach}, at the price of losing the progress bar. Note that this does not work with Keras models (and some others).
210
210
211
211
### Example: Linear regression continued
212
212
@@ -226,7 +226,7 @@ system.time(
226
226
227
227
### Example: Parallel GAM
228
228
229
-
On Windows, sometimes not all packages or global objects are passed to the parallel sessions. In this case, the necessary instructions to `foreach` can be specified through a named list via `parallel_args`, see the following example:
229
+
On Windows, sometimes not all packages or global objects are passed to the parallel sessions. In this case, the necessary instructions to {foreach} can be specified through a named list via `parallel_args`, see the following example:
0 commit comments