paragon-analytics commited on
Commit
0e91bfe
1 Parent(s): 0e78d1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def adr_predict(x):
61
  # # Plot the SHAP values for a specific instance in your dataset (e.g., instance 0)
62
  # shap.plots.text(shap_values[label_1_index][0])
63
 
64
- local_plot = shap.plots.text(shap_values[1], display=False)
65
 
66
  # med = med_score(classifier(x+str(", There is a medication."))[0])
67
  # sym = sym_score(classifier(x+str(", There is a symptom."))[0])
 
61
  # # Plot the SHAP values for a specific instance in your dataset (e.g., instance 0)
62
  # shap.plots.text(shap_values[label_1_index][0])
63
 
64
+ local_plot = shap.plots.text(shap_values[0], display=False)
65
 
66
  # med = med_score(classifier(x+str(", There is a medication."))[0])
67
  # sym = sym_score(classifier(x+str(", There is a symptom."))[0])