Fix the explanations plot's labels
#2
by
Alexperiments
- opened
app.py
CHANGED
@@ -50,8 +50,8 @@ def interpret(*args):
|
|
50 |
fig_m = plt.figure(tight_layout=True)
|
51 |
plt.barh([s[1] for s in scores_desc], [s[0] for s in scores_desc])
|
52 |
plt.title("Feature Shap Values")
|
53 |
-
plt.ylabel("
|
54 |
-
plt.xlabel("
|
55 |
plt.tight_layout()
|
56 |
return fig_m
|
57 |
|
|
|
50 |
fig_m = plt.figure(tight_layout=True)
|
51 |
plt.barh([s[1] for s in scores_desc], [s[0] for s in scores_desc])
|
52 |
plt.title("Feature Shap Values")
|
53 |
+
plt.ylabel("Feature")
|
54 |
+
plt.xlabel("Shap Value")
|
55 |
plt.tight_layout()
|
56 |
return fig_m
|
57 |
|