Isabel Gwara commited on
Commit
43aeca7
1 Parent(s): 0c229dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ def get_feat():
91
  idx = feats.index(max_val)
92
  return data.columns[idx]
93
 
94
- acc = str(metrics.accuracy_score(y_test, y_pred) * 100) + '%**'
95
  most_imp_feat = get_feat() + "**"
96
  info = get_article(acc, most_imp_feat)
97
 
 
91
  idx = feats.index(max_val)
92
  return data.columns[idx]
93
 
94
+ acc = str(round(metrics.accuracy_score(y_test, y_pred) * 100, 1)) + '%**'
95
  most_imp_feat = get_feat() + "**"
96
  info = get_article(acc, most_imp_feat)
97