Update app.py
Browse files
app.py
CHANGED
|
@@ -22,37 +22,37 @@ st.subheader("Applicant features")
|
|
| 22 |
col1, col2 = st.columns(2)
|
| 23 |
with col1:
|
| 24 |
RevolvingUtilizationOfUnsecuredLines = st.number_input(
|
| 25 |
-
"
|
| 26 |
)
|
| 27 |
age = st.number_input("age", value=32, min_value=18, max_value=120, step=1)
|
| 28 |
NumberOfTime30_59DaysPastDueNotWorse = st.number_input(
|
| 29 |
-
"
|
| 30 |
)
|
| 31 |
DebtRatio = st.number_input("DebtRatio", value=0.161342, format="%.6f")
|
| 32 |
MonthlyIncome = st.number_input("MonthlyIncome", value=45000.0, format="%.2f")
|
| 33 |
|
| 34 |
with col2:
|
| 35 |
NumberOfOpenCreditLinesAndLoans = st.number_input(
|
| 36 |
-
"
|
| 37 |
)
|
| 38 |
NumberOfTimes90DaysLate = st.number_input(
|
| 39 |
-
"
|
| 40 |
)
|
| 41 |
NumberRealEstateLoansOrLines = st.number_input(
|
| 42 |
-
"
|
| 43 |
)
|
| 44 |
NumberOfTime60_89DaysPastDueNotWorse = st.number_input(
|
| 45 |
-
"
|
| 46 |
)
|
| 47 |
NumberOfDependents = st.number_input(
|
| 48 |
-
"
|
| 49 |
)
|
| 50 |
|
| 51 |
col3, col4 = st.columns(2)
|
| 52 |
with col3:
|
| 53 |
-
TotalPastDue = st.number_input("
|
| 54 |
-
DebtRatioPerDependent = st.number_input("
|
| 55 |
-
UtilizationPerLine = st.number_input("
|
| 56 |
with col4:
|
| 57 |
IncomeDebtRatio = st.number_input("IncomeDebtRatio", value=3003.393701)
|
| 58 |
HasDependents = st.selectbox("HasDependents", options=[0, 1], index=1)
|
|
|
|
| 22 |
col1, col2 = st.columns(2)
|
| 23 |
with col1:
|
| 24 |
RevolvingUtilizationOfUnsecuredLines = st.number_input(
|
| 25 |
+
"Revolving Utilization Of Unsecured Lines", value=0.769413, format="%.6f"
|
| 26 |
)
|
| 27 |
age = st.number_input("age", value=32, min_value=18, max_value=120, step=1)
|
| 28 |
NumberOfTime30_59DaysPastDueNotWorse = st.number_input(
|
| 29 |
+
"Number Of Time 30-59 Days Past Due Not Worse", value=2, step=1
|
| 30 |
)
|
| 31 |
DebtRatio = st.number_input("DebtRatio", value=0.161342, format="%.6f")
|
| 32 |
MonthlyIncome = st.number_input("MonthlyIncome", value=45000.0, format="%.2f")
|
| 33 |
|
| 34 |
with col2:
|
| 35 |
NumberOfOpenCreditLinesAndLoans = st.number_input(
|
| 36 |
+
"Number Of Open Credit Lines And Loans", value=6.0, step=1.0
|
| 37 |
)
|
| 38 |
NumberOfTimes90DaysLate = st.number_input(
|
| 39 |
+
"Number Of Times 90 Days Late", value=1.0, step=1.0
|
| 40 |
)
|
| 41 |
NumberRealEstateLoansOrLines = st.number_input(
|
| 42 |
+
"Number Real Estate Loans Or Lines", value=6.0, step=1.0
|
| 43 |
)
|
| 44 |
NumberOfTime60_89DaysPastDueNotWorse = st.number_input(
|
| 45 |
+
"Number Of Time 60-89 Days Past Due Not Worse", value=0.0, step=1.0
|
| 46 |
)
|
| 47 |
NumberOfDependents = st.number_input(
|
| 48 |
+
"Number Of Dependents", value=0.999883, format="%.6f"
|
| 49 |
)
|
| 50 |
|
| 51 |
col3, col4 = st.columns(2)
|
| 52 |
with col3:
|
| 53 |
+
TotalPastDue = st.number_input("Total Past Due", value=2.0, step=1.0)
|
| 54 |
+
DebtRatioPerDependent = st.number_input("DebtRatio Per Dependent", value=25.1344)
|
| 55 |
+
UtilizationPerLine = st.number_input("Utilization Per Line", value=0.217371)
|
| 56 |
with col4:
|
| 57 |
IncomeDebtRatio = st.number_input("IncomeDebtRatio", value=3003.393701)
|
| 58 |
HasDependents = st.selectbox("HasDependents", options=[0, 1], index=1)
|