Spaces:
Sleeping
Sleeping
scorpion237
commited on
Commit
•
c4e746f
1
Parent(s):
f52e072
Update app.py
Browse files
app.py
CHANGED
@@ -297,7 +297,9 @@ def main():
|
|
297 |
st.subheader(":green[score d'exactitude]")
|
298 |
st.write(f"{round(ann_score*100,2)}% d'exactitude")
|
299 |
st.subheader(':green[Prediction Probability]')
|
300 |
-
|
|
|
|
|
301 |
|
302 |
else:
|
303 |
def user_input_features():
|
@@ -435,7 +437,7 @@ def main():
|
|
435 |
st.subheader(":green[probability] :question:")
|
436 |
zero = pd.DataFrame(pred_proba, columns=['0'])
|
437 |
un = pd.DataFrame(np.subtract(1, pred_proba), columns=['1'])
|
438 |
-
st.write(pd.concat([zero, un], axis=1))
|
439 |
|
440 |
|
441 |
|
|
|
297 |
st.subheader(":green[score d'exactitude]")
|
298 |
st.write(f"{round(ann_score*100,2)}% d'exactitude")
|
299 |
st.subheader(':green[Prediction Probability]')
|
300 |
+
zero = pd.DataFrame(pred_proba, columns=['0'])
|
301 |
+
un = pd.DataFrame(np.subtract(1, pred_proba), columns=['1'])
|
302 |
+
st.write(pd.concat([zero, un], axis=1).round(2))
|
303 |
|
304 |
else:
|
305 |
def user_input_features():
|
|
|
437 |
st.subheader(":green[probability] :question:")
|
438 |
zero = pd.DataFrame(pred_proba, columns=['0'])
|
439 |
un = pd.DataFrame(np.subtract(1, pred_proba), columns=['1'])
|
440 |
+
st.write(pd.concat([zero, un], axis=1).round(2))
|
441 |
|
442 |
|
443 |
|