Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,6 +132,33 @@ if st.button("Predict"):
|
|
| 132 |
st.subheader(y_pred)
|
| 133 |
|
| 134 |
|
|
|
|
| 135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
|
| 137 |
|
|
|
|
| 132 |
st.subheader(y_pred)
|
| 133 |
|
| 134 |
|
| 135 |
+
st.write("""Features Used:
|
| 136 |
|
| 137 |
+
The following are the input Varibles of a customer which Company needs to be enter, and then the application will predict whether that particular
|
| 138 |
+
person/customer will be willing to buy Vehicle Insurance or not
|
| 139 |
+
|
| 140 |
+
1) Gender : Gender of the customer
|
| 141 |
+
|
| 142 |
+
2) Age : Age of the customer
|
| 143 |
+
|
| 144 |
+
3) Driving_License : 0 - Customer does not have DL,1 - Customer already has DL
|
| 145 |
+
|
| 146 |
+
4) Region_Code : Unique code for the region of the customer
|
| 147 |
+
|
| 148 |
+
5) Previously_Insured : 1 - Customer already has Vehicle Insurance, 0-Customer doesn't have Vehicle Insurance
|
| 149 |
+
|
| 150 |
+
6) Vehicle_Age : Age of the Vehicle
|
| 151 |
+
|
| 152 |
+
7) Vehicle_Damage : 1 - Customer got his/her vehicle damaged in the past. 0 -Customer didn't get his/her vehicle damaged in the past.
|
| 153 |
+
|
| 154 |
+
8) Annual_Premium : The amount customer needs to pay as premium in the year
|
| 155 |
+
|
| 156 |
+
9) PolicySalesChannel : Anonymized Code for the channel of outreaching to the customer ie. Different Agents, Over Mail, Over Phone, In Person, etc.
|
| 157 |
+
|
| 158 |
+
10) Vintage : Number of Days, Customer has been associated with the company
|
| 159 |
+
|
| 160 |
+
Target Column/Prediction
|
| 161 |
+
|
| 162 |
+
Response : 1 - Customer is interested, 0 - Customer is not interested""")
|
| 163 |
|
| 164 |
|