Spaces:
Runtime error
Runtime error
Isabel Gwara
commited on
Commit
·
e0adc3b
1
Parent(s):
7d32599
Update app.py
Browse files
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 |
|