LoanWise
Loan Approval Prediction Made Simple
Created on 29th August 2025
•
LoanWise
Loan Approval Prediction Made Simple
The problem LoanWise solves
Applying for a loan is often a lengthy process where applicants are uncertain about their eligibility until the very end.
Banks and financial institutions need a quick and reliable way to assess loan eligibility before manual verification.
This project provides a loan eligibility prediction system that:
-
Helps applicants instantly check their loan eligibility by entering basic details.
-
Assists financial institutions in speeding up the loan pre-screening process.
-
Reduces manual effort by automating risk assessment using historical loan data.
-
Improves decision-making by providing consistent, data-driven predictions.
With this app, both users and financial organizations can save time, minimize errors, and streamline the loan approval process.
Challenges we ran into
Handling Missing Data:
The dataset had missing values in critical columns like Credit_History and LoanAmount. Initially, the model performance dropped.
Solution: Used data cleaning techniques such as dropping nulls and applying label encoding for categorical variables.
Different Train & Test Structures:
The training dataset had 13 columns, while the testing dataset had 12 (missing target label). This caused shape mismatch errors.
Solution: Ensured preprocessing was applied consistently on both train and test sets, keeping target handling separate.
Model Saving & Reuse:
At first, predictions couldn’t be reused because the model wasn’t persisted.
Solution: Implemented joblib to save the trained model as loan_model.pkl, making it reusable for Streamlit UI.
Deploying Streamlit App:
Running Streamlit in Jupyter Notebook was not possible.
Solution: Created a separate app.py file and ran it through terminal (streamlit run app.py). Later prepared the app for Streamlit Cloud deployment.
Technologies used