Skip to content

Commit 738888e

Browse files
CHORE: changelog updates (#3054)
* CHORE: changelog updates * Update CHANGELOG.md Co-authored-by: Jeremy Goh <[email protected]> * Cleanup * Fixup typo --------- Co-authored-by: Jeremy Goh <[email protected]>
1 parent 2e9a4e6 commit 738888e

File tree

1 file changed

+54
-28
lines changed

1 file changed

+54
-28
lines changed

CHANGELOG.md

+54-28
Original file line numberDiff line numberDiff line change
@@ -7,40 +7,65 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77
## Unreleased
88
<!--Changes from new PRs should be put in this section-->
99

10+
## 0.42.0 - 2023-07-05
11+
12+
This release incorporates many changes that were originally contributed by the SHAP
13+
community via @dsgibbons's [Community Fork][fork], which has now been merged
14+
into the main shap repository. PRs from this origin are labelled here as `fork#123`.
15+
16+
[fork]: https://github.com/slundberg/shap/discussions/2942
17+
1018
### Added
1119

20+
- Added support for python 3.11
21+
([fork#72](https://github.com/dsgibbons/shap/pull/72) by @connortann).
1222
- Added `n_points` parameter to all functions in `shap.datasets`
13-
([dsgibbons#39](https://github.com/dsgibbons/shap/pull/39) by @thatlittleboy).
23+
([fork#39](https://github.com/dsgibbons/shap/pull/39) by @thatlittleboy).
1424
- Added `__call__` to `KernelExplainer`
1525
([#2966](https://github.com/slundberg/shap/pull/2966) by @dwolfeu).
16-
- Added [contributing guidelines](https://github.com/slundberg/shap/blob/master/CONTRIBUTING.md)
17-
([#2996](https://github.com/slundberg/shap/pull/2996) by @connortann)
26+
- Added [contributing guidelines][contrib-guide]
27+
([#2996](https://github.com/slundberg/shap/pull/2996) by @connortann).
28+
29+
[contrib-guide]: [https://github.com/slundberg/shap/blob/master/CONTRIBUTING.md]
1830

1931
### Fixed
2032

2133
- Fixed `plot.waterfall` to support yticklabels with boolean features
22-
([dsgibbons#58](https://github.com/dsgibbons/shap/pull/58) by @dwolfeu).
23-
- Prevent `TreeExplainer.__call__` from throwing ValueError when passed a pandas DataFrame containing Categorical columns
24-
([dsgibbons#88](https://github.com/dsgibbons/shap/pull/88) by @thatlittleboy).
34+
([fork#58](https://github.com/dsgibbons/shap/pull/58) by @dwolfeu).
35+
- Prevent `TreeExplainer.__call__` from throwing ValueError when passed a pandas
36+
DataFrame containing Categorical columns
37+
([fork#88](https://github.com/dsgibbons/shap/pull/88) by @thatlittleboy).
2538
- Fixed sampling in `shap.datasets` to sample without replacement
26-
([dsgibbons#36](https://github.com/dsgibbons/shap/pull/36) by @thatlittleboy).
39+
([fork#36](https://github.com/dsgibbons/shap/pull/36) by @thatlittleboy).
2740
- Fixed an `UnboundLocalError` problem arising from passing a dictionary input to `shap.plots.bar`
41+
([#3001](https://github.com/slundberg/shap/pull/3001) by @thatlittleboy).
42+
([fork#36](https://github.com/dsgibbons/shap/pull/36) by @thatlittleboy).
43+
- Fixed an `UnboundLocalError` problem arising from passing a dictionary input
44+
to `shap.plots.bar`
2845
([#3001](https://github.com/slundberg/shap/pull/3000) by @thatlittleboy).
2946
- Fixed tensorflow import issue with Pyspark when using `Gradient`
3047
([#2983](https://github.com/slundberg/shap/pull/2983) by @skamdar).
31-
- Fixed the aspect ratio of the colorbar in `shap.plots.heatmap`, and use the `ax` matplotlib API internally
32-
for plotting
48+
- Fixed the aspect ratio of the colorbar in `shap.plots.heatmap`, and use the
49+
`ax` matplotlib API internally for plotting
3350
([#3040](https://github.com/slundberg/shap/pull/3040) by @thatlittleboy).
51+
- Fixed deprecation warnings for `numba>=0.44`
52+
([fork#9](https://github.com/dsgibbons/shap/pull/9) and
53+
[fork#68](https://github.com/dsgibbons/shap/pull/68) by @connortann).
3454
- Fixed deprecation warnings for `numpy>=1.24` from numpy types
35-
([dsgibbons#7](https://github.com/dsgibbons/shap/pull/7) by @dsgibbons).
55+
([fork#7](https://github.com/dsgibbons/shap/pull/7) by @dsgibbons).
3656
- Fixed deprecation warnings for `Ipython>=8` from `Ipython.core.display`
37-
([dsgibbons#13](https://github.com/dsgibbons/shap/pull/13) by @thatlittleboy).
57+
([fork#13](https://github.com/dsgibbons/shap/pull/13) by @thatlittleboy).
3858
- Fixed deprecation warnings for `tensorflow>=2.11` from `tf.optimisers`
39-
([dsgibbons#16](https://github.com/dsgibbons/shap/pull/16) by @simonangerbauer).
59+
([fork#16](https://github.com/dsgibbons/shap/pull/16) by @simonangerbauer).
4060
- Fixed deprecation warnings for `sklearn>=1.2` from `sklearn.linear_model`
41-
([dsgibbons#22](https://github.com/dsgibbons/shap/pull/22) by @dsgibbons).
61+
([fork#22](https://github.com/dsgibbons/shap/pull/22) by @dsgibbons).
4262
- Fixed deprecation warnings for `xgboost>=1.4` from `ntree_limit` in tree explainer
4363
([#2987](https://github.com/slundberg/shap/pull/2987) by @adnene-guessoum).
64+
- Fixed build on Windows and MacOS
65+
([#3015](https://github.com/slundberg/shap/pull/3015) by @PrimozGodec;
66+
[#3028](https://github.com/slundberg/shap/pull/3028),
67+
[#3029](https://github.com/slundberg/shap/pull/3029) and
68+
[#3031](https://github.com/slundberg/shap/pull/3031) by @connortann).
4469

4570
### Changed
4671

@@ -51,37 +76,38 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5176
### Removed
5277

5378
- Deprecated the Boston house price dataset
54-
([dsgibbons#38](https://github.com/dsgibbons/shap/pull/38) by @thatlittleboy).
79+
([fork#38](https://github.com/dsgibbons/shap/pull/38) by @thatlittleboy).
5580
- Removed the unused `mimic.py` file and `MimicExplainer` code
56-
([dsgibbons#53](https://github.com/dsgibbons/shap/pull/53) by @thatlittleboy).
81+
([fork#53](https://github.com/dsgibbons/shap/pull/53) by @thatlittleboy).
5782

5883
### Maintenance
5984

6085
- Fixed failing unit tests
61-
([dsgibbons#29](https://github.com/dsgibbons/shap/pull/29) by @dsgibbons,
62-
[dsgibbons#20](https://github.com/dsgibbons/shap/pull/20) by @simonangerbauer,
63-
[#3044](https://github.com/slundberg/shap/pull/3044) by @connortann,
64-
[dsgibbons#24](https://github.com/dsgibbons/shap/pull/24) by @connortann).
86+
([fork#29](https://github.com/dsgibbons/shap/pull/29) by @dsgibbons,
87+
[fork#20](https://github.com/dsgibbons/shap/pull/20) by @simonangerbauer,
88+
[#3044](https://github.com/slundberg/shap/pull/3044) and
89+
[fork#24](https://github.com/dsgibbons/shap/pull/24) by @connortann).
6590
- Include CUDA GPU C extension files in the source distribution
6691
([#3009](https://github.com/slundberg/shap/pull/3009) by @jklaise).
6792
- Fixed installation of package via setuptools
68-
([dsgibbons#51](https://github.com/dsgibbons/shap/pull/51) by @thatlittleboy).
93+
([fork#51](https://github.com/dsgibbons/shap/pull/51) by @thatlittleboy).
6994
- Introduced a minimal set of `ruff` linting
70-
([dsgibbons#25](https://github.com/dsgibbons/shap/pull/25),
71-
[dsgibbons#26](https://github.com/dsgibbons/shap/pull/26),
72-
[dsgibbons#27](https://github.com/dsgibbons/shap/pull/27),
95+
([fork#25](https://github.com/dsgibbons/shap/pull/25),
96+
[fork#26](https://github.com/dsgibbons/shap/pull/26),
97+
[fork#27](https://github.com/dsgibbons/shap/pull/27),
7398
[#2973](https://github.com/slundberg/shap/pull/2973),
7499
[#2972](https://github.com/slundberg/shap/pull/2972) and
75-
[#2976](https://github.com/slundberg/shap/pull/2976) by @connortann,
100+
[#2976](https://github.com/slundberg/shap/pull/2976) by @connortann;
76101
[#2968](https://github.com/slundberg/shap/pull/2968),
77102
[#2986](https://github.com/slundberg/shap/pull/2986) by @thatlittleboy).
78-
- Fixed wheel packaging and updated project metadata to PEP 517
79-
([#3022](https://github.com/slundberg/shap/pull/3022) by @connortann)
103+
- Updated project metadata to PEP 517
104+
([#3022](https://github.com/slundberg/shap/pull/3022) by @connortann).
80105
- Introduced more thorough testing on CI against newer dependencies
81-
([dsgibbons#61](https://github.com/dsgibbons/shap/pull/61) and
106+
([fork#61](https://github.com/dsgibbons/shap/pull/61) and
82107
[#3017](https://github.com/slundberg/shap/pull/3017)
83108
by @connortann)
84-
109+
- Reduced unit test time by ~5 mins
110+
([#3046](https://github.com/slundberg/shap/pull/3046) by @connortann).
85111

86112
## [0.41.0] - 2022-06-16
87113

0 commit comments

Comments
 (0)