paragon-analytics commited on
Commit
6561dd9
Β·
1 Parent(s): 1c0f660

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -90,8 +90,7 @@ def adr_predict(x):
90
  # shap_scores = interpretation_function(str(x).lower())
91
 
92
  shap_values = explainer(str(x).lower(), fixed_context=1)
93
- plot = shap.plots.text(shap_values[0], max_display=6,
94
- order=shap.Explanation.abs, show_data='auto', show=False)
95
 
96
  plt.tight_layout()
97
  local_plot = plt.gcf()
 
90
  # shap_scores = interpretation_function(str(x).lower())
91
 
92
  shap_values = explainer(str(x).lower(), fixed_context=1)
93
+ plot = shap.plots.text(shap_values[0], display=False)
 
94
 
95
  plt.tight_layout()
96
  local_plot = plt.gcf()