jishnuprakash commited on
Commit
2aae144
·
1 Parent(s): ec8052f

comparison added

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -160,4 +160,13 @@ with st.form('model_test_prediction'):
160
  st.dataframe(out.drop('nlp_text', axis=1))
161
  else:
162
  st.dataframe(out)
163
- s3.metric(label ='Accuracy',value = acc, delta = '', delta_color = 'inverse')
 
 
 
 
 
 
 
 
 
 
160
  st.dataframe(out.drop('nlp_text', axis=1))
161
  else:
162
  st.dataframe(out)
163
+ s3.metric(label ='Accuracy',value = acc, delta = '', delta_color = 'inverse')
164
+
165
+ st.header("Comparison - Model Performance")
166
+ met = pd.read_csv("model_comparison.csv")
167
+ a1, a2 = st.columns((0.5,0.5))
168
+ a1.subheader("Evaluation Metrics")
169
+ a1.dataframe(met[12:].reset_index(drop=True))
170
+
171
+ a2.subheader("Area under ROC curve")
172
+ a2.dataframe(met[:11])