Spaces:
Runtime error
Runtime error
jaifar530 commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -304,9 +304,11 @@ if press_me_button:
|
|
| 304 |
extra_trees_prediction = extra_trees_model.predict(user_input_transformed)
|
| 305 |
|
| 306 |
if ridge_prediction == extra_trees_prediction:
|
| 307 |
-
st.write(f"
|
| 308 |
else:
|
| 309 |
-
st.write(
|
|
|
|
|
|
|
| 310 |
|
| 311 |
|
| 312 |
########## DL
|
|
|
|
| 304 |
extra_trees_prediction = extra_trees_model.predict(user_input_transformed)
|
| 305 |
|
| 306 |
if ridge_prediction == extra_trees_prediction:
|
| 307 |
+
st.write(f"Same pridiction (Ridge & ExtraTree): {ridge_prediction[0]}")
|
| 308 |
else:
|
| 309 |
+
st.write("Different predictions:")
|
| 310 |
+
st.write(f"Ridge says: {ridge_prediction[0]}")
|
| 311 |
+
st.write(f"Extra Trees says: {extra_trees_prediction[0]}")
|
| 312 |
|
| 313 |
|
| 314 |
########## DL
|