beihai commited on
Commit
3d7b3b8
1 Parent(s): d5f290e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -86,13 +86,10 @@ fpr, tpr, thresholds = roc_curve(y_test, probs)
86
  st.write('Confusion Matrix:')
87
  st.write(confusion_matrix(y_test, np.where(probs > 0.5, 1, 0)))
88
 
89
- st.write('------------------------------------')
90
  st.write('Classification Report:')
91
  report = classification_report(y_test, np.where(probs > 0.5, 1, 0), output_dict=True)
92
  report_matrix = pd.DataFrame(report).transpose()
93
  st.dataframe(report_matrix)
94
 
95
- st.write('------------------------------------')
96
  st.write('ROC:')
97
-
98
  plot_roc(fpr, tpr)
 
86
  st.write('Confusion Matrix:')
87
  st.write(confusion_matrix(y_test, np.where(probs > 0.5, 1, 0)))
88
 
 
89
  st.write('Classification Report:')
90
  report = classification_report(y_test, np.where(probs > 0.5, 1, 0), output_dict=True)
91
  report_matrix = pd.DataFrame(report).transpose()
92
  st.dataframe(report_matrix)
93
 
 
94
  st.write('ROC:')
 
95
  plot_roc(fpr, tpr)