Spaces:
Sleeping
Sleeping
Sonny4Sonnix
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def load_data():
|
|
17 |
'housing': ['no', 'no', 'yes', 'no', 'no'],
|
18 |
'loan': ['no', 'no', 'no', 'no', 'yes'],
|
19 |
'poutcome': ['nonexistent', 'nonexistent', 'nonexistent', 'nonexistent', 'nonexistent'],
|
20 |
-
|
21 |
'log_campaign': [0.693147, 0.693147, 0.693147, 0.693147, 0.693147],
|
22 |
'log_duration': [5.568345, 5.010635, 5.424950, 5.023881, 5.730100],
|
23 |
'log_age': [4.043051, 4.060443, 3.637586, 3.713572, 4.043051],
|
@@ -39,6 +39,7 @@ education = st.selectbox('Education', ['basic.4y', 'basic.6y', 'basic.9y', 'high
|
|
39 |
default = st.selectbox('Default', ['no', 'yes', 'unknown'])
|
40 |
housing = st.selectbox('Housing', ['no', 'yes', 'unknown'])
|
41 |
loan = st.selectbox('Loan', ['no', 'yes', 'unknown'])
|
|
|
42 |
poutcome = st.selectbox('Poutcome', ['nonexistent', 'failure', 'success'])
|
43 |
log_campaign = st.number_input('Log Campaign', min_value=0.0, value=0.693147)
|
44 |
log_duration = st.number_input('Log Duration', min_value=0.0, value=5.568345)
|
|
|
17 |
'housing': ['no', 'no', 'yes', 'no', 'no'],
|
18 |
'loan': ['no', 'no', 'no', 'no', 'yes'],
|
19 |
'poutcome': ['nonexistent', 'nonexistent', 'nonexistent', 'nonexistent', 'nonexistent'],
|
20 |
+
'y': ['no', 'no', 'no', 'no', 'no'],
|
21 |
'log_campaign': [0.693147, 0.693147, 0.693147, 0.693147, 0.693147],
|
22 |
'log_duration': [5.568345, 5.010635, 5.424950, 5.023881, 5.730100],
|
23 |
'log_age': [4.043051, 4.060443, 3.637586, 3.713572, 4.043051],
|
|
|
39 |
default = st.selectbox('Default', ['no', 'yes', 'unknown'])
|
40 |
housing = st.selectbox('Housing', ['no', 'yes', 'unknown'])
|
41 |
loan = st.selectbox('Loan', ['no', 'yes', 'unknown'])
|
42 |
+
y = st.selectbox('y', ['no', 'yes'])
|
43 |
poutcome = st.selectbox('Poutcome', ['nonexistent', 'failure', 'success'])
|
44 |
log_campaign = st.number_input('Log Campaign', min_value=0.0, value=0.693147)
|
45 |
log_duration = st.number_input('Log Duration', min_value=0.0, value=5.568345)
|