回答編集履歴

2

shap の更新による解決を追記しました。(自分の環境ではこれで直りました。)

2022/08/21 22:49

投稿

KotaYoneda
KotaYoneda

スコア11

test CHANGED
@@ -9,3 +9,12 @@
9
9
  print("Finished")
10
10
  #uninstall the latest matplotlib and install the older version like 3.1.3
11
11
  ```
12
+
13
+ ---
14
+
15
+ shap の upgrade で対応した方が早いかもしれません……。
16
+ https://github.com/slundberg/shap/commit/8065cf7f9239574eed1c7d0ab3b40d538d16608d
17
+
18
+ ```ここに言語を入力
19
+ conda install shap==0.41.0
20
+ ```

1

コードの言語を修正

2022/08/21 22:31

投稿

KotaYoneda
KotaYoneda

スコア11

test CHANGED
@@ -3,7 +3,7 @@
3
3
  https://www.kaggle.com/questions-and-answers/302176
4
4
  https://matplotlib.org/3.3.0/api/api_changes.html
5
5
 
6
- ```sh
6
+ ```python
7
7
  !pip uninstall matplotlib -y
8
8
  !pip install matplotlib==3.1.3
9
9
  print("Finished")