Spaces:
Sleeping
Sleeping
Commit
•
57c18a7
1
Parent(s):
b6bdba6
Update app.py
Browse files
app.py
CHANGED
@@ -201,7 +201,7 @@ def main():
|
|
201 |
csv,
|
202 |
"random_forest.csv",
|
203 |
"text/csv",
|
204 |
-
key='
|
205 |
|
206 |
# Accuracy score
|
207 |
if data_encoded.shape[1] == 15:
|
@@ -229,7 +229,7 @@ def main():
|
|
229 |
csv,
|
230 |
"discriminant.csv",
|
231 |
"text/csv",
|
232 |
-
key='
|
233 |
#st.text("Model report : \n " + classification_report(y, pred))
|
234 |
|
235 |
if data_encoded.shape[1] == 15:
|
@@ -268,7 +268,7 @@ def main():
|
|
268 |
csv,
|
269 |
"xgboost.csv",
|
270 |
"text/csv",
|
271 |
-
key='
|
272 |
#st.text("Model report : \n " + classification_report(y, pred))
|
273 |
if data_encoded.shape[1] == 15:
|
274 |
st.text("Model report : \n " + classification_report(y, pred))
|
@@ -296,7 +296,7 @@ def main():
|
|
296 |
csv,
|
297 |
"neural_network.csv",
|
298 |
"text/csv",
|
299 |
-
key='
|
300 |
#st.text("Model report : \n " + classification_report(y, pred))
|
301 |
if data_encoded.shape[1] == 15:
|
302 |
st.text("Model report : \n " + classification_report(y, pred))
|
|
|
201 |
csv,
|
202 |
"random_forest.csv",
|
203 |
"text/csv",
|
204 |
+
key='rf_download_csv')
|
205 |
|
206 |
# Accuracy score
|
207 |
if data_encoded.shape[1] == 15:
|
|
|
229 |
csv,
|
230 |
"discriminant.csv",
|
231 |
"text/csv",
|
232 |
+
key='lda_download_csv')
|
233 |
#st.text("Model report : \n " + classification_report(y, pred))
|
234 |
|
235 |
if data_encoded.shape[1] == 15:
|
|
|
268 |
csv,
|
269 |
"xgboost.csv",
|
270 |
"text/csv",
|
271 |
+
key='xg_download_csv')
|
272 |
#st.text("Model report : \n " + classification_report(y, pred))
|
273 |
if data_encoded.shape[1] == 15:
|
274 |
st.text("Model report : \n " + classification_report(y, pred))
|
|
|
296 |
csv,
|
297 |
"neural_network.csv",
|
298 |
"text/csv",
|
299 |
+
key='ann_download_csv')
|
300 |
#st.text("Model report : \n " + classification_report(y, pred))
|
301 |
if data_encoded.shape[1] == 15:
|
302 |
st.text("Model report : \n " + classification_report(y, pred))
|