Spaces:
Sleeping
Sleeping
greencatted
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ if 'selected' not in st.session_state or st.session_state.selected != selected:
|
|
85 |
st.header("Custom Prediction")
|
86 |
st.write("Enter your own values for prediction:")
|
87 |
|
88 |
-
selected_features = ["INITIAL_CALL_TYPE", "INITIAL_SEVERITY_LEVEL_CODE", "INCIDENT_DATETIME", "INCIDENT_CLOSE_DATETIME", "ZIPCODE", "POLICEPRECINCT"
|
89 |
feature_inputs = {}
|
90 |
for feature in selected_features:
|
91 |
if feature in ['INITIAL_CALL_TYPE', 'DAY_OF_WEEK', 'POLICEPRECINCT', 'ZIPCODE']: # categorical
|
|
|
85 |
st.header("Custom Prediction")
|
86 |
st.write("Enter your own values for prediction:")
|
87 |
|
88 |
+
selected_features = ["INITIAL_CALL_TYPE", "INITIAL_SEVERITY_LEVEL_CODE", "INCIDENT_DATETIME", "INCIDENT_CLOSE_DATETIME", "ZIPCODE", "POLICEPRECINCT"]
|
89 |
feature_inputs = {}
|
90 |
for feature in selected_features:
|
91 |
if feature in ['INITIAL_CALL_TYPE', 'DAY_OF_WEEK', 'POLICEPRECINCT', 'ZIPCODE']: # categorical
|