YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Loan Approval Predictor (BUS458 Final) β kmsmit49
This is a Gradio demo that predicts loan approval using a trained scikit-learn model.
How it works
- The app tries to load
loan_model.pklfrom this Space repository. - If the model is not present, you can upload a compatible
loan_model.pklfile using the in-app file uploader. - The model should expect the following numeric features, in any order but with these column names:
- Granted_Loan_Amount
- Requested_Loan_Amount
- FICO_score
- Monthly_Gross_Income
- Monthly_Housing_Payment
Files
app.pyβ Gradio applicationloan_model.pklβ (You must upload this file to run predictions)requirements.txtβ Python dependencies
Notes
- Save the full preprocessing + estimator as a scikit-learn
Pipelineto avoid mismatches. - If
loan_model.pklis large (>50 MB), use Git LFS or host the model in a separate Hugging Face model repo and change the loading code accordingly.
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support