Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -590,9 +590,9 @@ elif option == "Predict Financial Savings Behavior":
|
|
| 590 |
f"Interpret the features based on these rules: "
|
| 591 |
f"1. Blue bars represent negative contributions to saving likelihood, and red bars represent positive contributions. "
|
| 592 |
f"2. If 'Employment' is 0, the person is unemployed which is not good for saving money. "
|
| 593 |
-
f"3. If 'Has Internet Access' is 0, the person does not have internet access which
|
| 594 |
f"4. If 'Is Mobile Owner' is 0, the person does not have mobile access wich indicates that the person does not save money as the person can not afford a phone. "
|
| 595 |
-
f"5. If 'High Income Region' is 0, the person is from a non-high-income region. If the person is from a high income region they a larger change of saving up money "
|
| 596 |
f"Here are the key factors and their contributions: {important_features_summary}"
|
| 597 |
)
|
| 598 |
# Generate AI response
|
|
|
|
| 590 |
f"Interpret the features based on these rules: "
|
| 591 |
f"1. Blue bars represent negative contributions to saving likelihood, and red bars represent positive contributions. "
|
| 592 |
f"2. If 'Employment' is 0, the person is unemployed which is not good for saving money. "
|
| 593 |
+
f"3. If 'Has Internet Access' is 0, the person does not have internet access which indicates that maybe the person does not save money as they do not have money for internet. "
|
| 594 |
f"4. If 'Is Mobile Owner' is 0, the person does not have mobile access wich indicates that the person does not save money as the person can not afford a phone. "
|
| 595 |
+
f"5. If 'High Income Region' is 0, the person is from a non-high-income region which is not good for the chances of saving. If the person is from a high income region they a larger change of saving up money "
|
| 596 |
f"Here are the key factors and their contributions: {important_features_summary}"
|
| 597 |
)
|
| 598 |
# Generate AI response
|