The Loan Approval Predictor is a project designed to assist users in determining whether their loan application is likely to be approved or not. By providing various personal and financial information, users can receive a prediction regarding the approval status of their loan application.
-
Input Parameters: Users are prompted to input the following information:
- Number of dependents
- Education level (graduated or not)
- Self-employed status (Yes or No)
- Annual income
- Loan amount
- Loan term
- Cibil Score (credit score)
- Value of residential assets
- Value of commercial assets
- Value of luxury assets
- Value of bank assets
- Choice of classification algorithm (Random Forest Classifier, Bagging Classifier, Gradient Boosting, Decision Tree Classifier)
-
Prediction: Based on the user's input, the model predicts whether the loan will be approved or not.
- Data Preprocessing: Clean and preprocess the dataset to handle missing values and categorical variables.
- Splitting Data: Divide the dataset into independent variables (X) and the target variable (y).
- Scaling Data: Standardize the numerical features using the Standard Scaler.
- Train-Test Split: Split the dataset into training and testing sets.
- Balancing Data: Implement Random Oversampling to balance the imbalanced dataset.
- Model Training: Train the classification models (Random Forest Classifier, Bagging Classifier, Gradient Boosting, Decision Tree Classifier) using the training data.
- Generating Predictions: Generate predictions for all classification models using the testing data.
- Model Evaluation: Evaluate the performance of each model using relevant metrics.
- Saving Models: Save the best performing models using the pickle library for future use.
- Deployment: Deploy the project using Streamlit to provide an interactive interface for users.
- Run the application.
- Input the required information as prompted.
- Select the desired classification algorithm.
- Receive the loan approval prediction.
- Python
- Pandas
- Scikit-learn
- Streamlit
- Pickle
This project is intended for informational purposes only and should not be considered as financial advice. The predictions provided are based solely on the data provided by the user and the performance of the selected classification algorithm. Users should consult with financial professionals for personalized advice regarding loan applications.
URL: https://loan-approval-predictor-k5happghix66kcgwn95ca86.streamlit.app/