{ "cells": [ { "cell_type": "markdown", "metadata": { "id": "vncDsAP0Gaoa" }, "source": [ "# **Project Name** - Paisabazaar Credit Score Classification\n", "\n" ] }, { "cell_type": "markdown", "metadata": { "id": "beRrZCGUAJYm" }, "source": [ "##### **Project Type** - Classification\n", "##### **Contribution** - Individual/Team\n", "##### **Team Member** - Pavan Kumar Dirisala\n", "\n" ] }, { "cell_type": "markdown", "metadata": { "id": "FJNUwmbgGyua" }, "source": [ "# **Project Summary -**" ] }, { "cell_type": "markdown", "metadata": { "id": "F6v_1wHtG2nS" }, "source": [ "## Credit Score Prediction using Machine Learning\n", "\n", "In today’s fast-paced financial world, understanding and evaluating an individual's creditworthiness is critical for institutions offering loans, credit cards, or other financial products. This project focuses on building a robust machine learning pipeline to predict a customer's **Credit Score** category—*Poor*, *Standard*, or *Good*—based on various financial and behavioral attributes. The goal is to help financial institutions automate and enhance their risk assessment processes using data-driven insights.\n", "\n", "The dataset used in this project contains customer-level features such as age, occupation, income, credit history, number of bank accounts, loan types, outstanding debt, and more. These features were either numerical or categorical and required thorough preprocessing. The preprocessing steps included handling missing values, encoding categorical variables, scaling numerical features, and deriving additional insights like *Credit Utilization Ratio*, *Credit History Age*, and *Monthly Balance*. We performed **exploratory data analysis (EDA)** to better understand the feature distributions and class imbalances, which helped guide the modeling strategy.\n", "\n", "For classification, we experimented with four popular machine learning models: **Logistic Regression**, **Random Forest**, **K-Nearest Neighbors (KNN)**, and **CatBoost Classifier**. Logistic Regression, though simple and interpretable, performed modestly with an accuracy of around 64%. Random Forest and KNN significantly improved the performance, reaching accuracies of about 78% and 78.6%, respectively. However, the standout model was **CatBoost**, a gradient boosting algorithm specially optimized for categorical data, which achieved **83.88% accuracy** after tuning.\n", "\n", "CatBoost’s strength lies in its ability to handle categorical variables natively and its powerful built-in regularization mechanisms, making it less prone to overfitting. After performing **hyperparameter tuning** using a grid search strategy, we found that the best combination of learning rate, depth, and L2 regularization further improved the model’s performance. Moreover, we saved the final trained model using `joblib`, which allows us to load and use it for future predictions on unseen data, such as evaluating the creditworthiness of a new applicant.\n", "\n", "To interpret the model, we used **feature importance visualization** provided by CatBoost, which showed that features like *Type of Loan*, *Occupation*, *Outstanding Debt*, and *Credit Mix* were most influential in determining the credit score. This not only adds transparency to the model’s decision-making process but also provides actionable insights to financial analysts.\n", "\n", "In terms of practical application, this model can be integrated into real-world banking systems, enabling automated loan approvals, credit limit recommendations, and fraud detection. By reducing manual assessments and relying on reliable, consistent predictions, institutions can make better decisions faster while minimizing risks.\n", "\n", "In summary, this project demonstrates how machine learning can revolutionize traditional credit scoring systems by leveraging customer data effectively. The approach we followed ensures high accuracy, interpretability, and operational readiness—making it a scalable solution for modern financial environments.\n" ] }, { "cell_type": "markdown", "metadata": { "id": "w6K7xa23Elo4" }, "source": [ "# **GitHub Link -**" ] }, { "cell_type": "markdown", "metadata": { "id": "h1o69JH3Eqqn" }, "source": [ "[My Git Repository Link](https://github.com/Pavan-Kumar-Dirisala/Paisabazaar-Credit-Score-Classification.git)" ] }, { "cell_type": "markdown", "metadata": { "id": "yQaldy8SH6Dl" }, "source": [ "# **Problem Statement**\n" ] }, { "cell_type": "markdown", "metadata": { "id": "DpeJGUA3kjGy" }, "source": [ "In today’s financial landscape, understanding and predicting a customer’s creditworthiness is essential for minimizing default risk and enabling responsible lending. Financial institutions rely heavily on credit scoring systems to assess whether individuals qualify for loans, credit cards, and other financial services.\n", "\n", "This project aims to develop a credit score classification model that predicts a customer's credit score category — namely ‘Good’, ‘Standard’, or ‘Poor’ — based on their personal, financial, and behavioral attributes such as age, occupation, income, number of bank accounts, credit utilization ratio, payment behavior, and more.\n", "\n", "The dataset includes detailed monthly financial data for individual customers, and the goal is to build a machine learning model that can accurately classify the credit score of each customer, thereby supporting financial institutions in their decision-making process." ] }, { "cell_type": "markdown", "metadata": { "id": "mDgbUHAGgjLW" }, "source": [ "# **General Guidelines** : - " ] }, { "cell_type": "markdown", "metadata": { "id": "ZrxVaUj-hHfC" }, "source": [ "1. Well-structured, formatted, and commented code is required.\n", "2. Exception Handling, Production Grade Code & Deployment Ready Code will be a plus. Those students will be awarded some additional credits.\n", " \n", " The additional credits will have advantages over other students during Star Student selection.\n", " \n", " [ Note: - Deployment Ready Code is defined as, the whole .ipynb notebook should be executable in one go\n", " without a single error logged. ]\n", "\n", "3. Each and every logic should have proper comments.\n", "4. You may add as many number of charts you want. Make Sure for each and every chart the following format should be answered.\n", " \n", "\n", "```\n", "# Chart visualization code\n", "```\n", " \n", "\n", "* Why did you pick the specific chart?\n", "* What is/are the insight(s) found from the chart?\n", "* Will the gained insights help creating a positive business impact?\n", "Are there any insights that lead to negative growth? Justify with specific reason.\n", "\n", "5. You have to create at least 15 logical & meaningful charts having important insights.\n", "\n", "\n", "[ Hints : - Do the Vizualization in a structured way while following \"UBM\" Rule.\n", "\n", "U - Univariate Analysis,\n", "\n", "B - Bivariate Analysis (Numerical - Categorical, Numerical - Numerical, Categorical - Categorical)\n", "\n", "M - Multivariate Analysis\n", " ]\n", "\n", "\n", "\n", "\n", "\n", "6. You may add more ml algorithms for model creation. Make sure for each and every algorithm, the following format should be answered.\n", "\n", "\n", "* Explain the ML Model used and it's performance using Evaluation metric Score Chart.\n", "\n", "\n", "* Cross- Validation & Hyperparameter Tuning\n", "\n", "* Have you seen any improvement? Note down the improvement with updates Evaluation metric Score Chart.\n", "\n", "* Explain each evaluation metric's indication towards business and the business impact pf the ML model used.\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n" ] }, { "cell_type": "markdown", "metadata": { "id": "O_i_v8NEhb9l" }, "source": [ "# ***Let's Begin !***" ] }, { "cell_type": "markdown", "metadata": { "id": "HhfV-JJviCcP" }, "source": [ "## ***1. Know Your Data***" ] }, { "cell_type": "markdown", "metadata": { "id": "Y3lxredqlCYt" }, "source": [ "### Import Libraries" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "id": "M8Vqi-pPk-HR" }, "outputs": [], "source": [ "# Import Libraries\n", "import pandas as pd \n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", "import seaborn as sns" ] }, { "cell_type": "markdown", "metadata": { "id": "3RnN4peoiCZX" }, "source": [ "### Dataset Loading" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "id": "4CkvbW_SlZ_R" }, "outputs": [ { "data": { "text/html": [ "
| \n", " | ID | \n", "Customer_ID | \n", "Month | \n", "Name | \n", "Age | \n", "SSN | \n", "Occupation | \n", "Annual_Income | \n", "Monthly_Inhand_Salary | \n", "Num_Bank_Accounts | \n", "... | \n", "Credit_Mix | \n", "Outstanding_Debt | \n", "Credit_Utilization_Ratio | \n", "Credit_History_Age | \n", "Payment_of_Min_Amount | \n", "Total_EMI_per_month | \n", "Amount_invested_monthly | \n", "Payment_Behaviour | \n", "Monthly_Balance | \n", "Credit_Score | \n", "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", "5634 | \n", "3392 | \n", "1 | \n", "Aaron Maashoh | \n", "23.0 | \n", "821000265.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "... | \n", "Good | \n", "809.98 | \n", "26.822620 | \n", "265.0 | \n", "No | \n", "49.574949 | \n", "21.465380 | \n", "High_spent_Small_value_payments | \n", "312.494089 | \n", "Good | \n", "
| 1 | \n", "5635 | \n", "3392 | \n", "2 | \n", "Aaron Maashoh | \n", "23.0 | \n", "821000265.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "... | \n", "Good | \n", "809.98 | \n", "31.944960 | \n", "266.0 | \n", "No | \n", "49.574949 | \n", "21.465380 | \n", "Low_spent_Large_value_payments | \n", "284.629162 | \n", "Good | \n", "
| 2 | \n", "5636 | \n", "3392 | \n", "3 | \n", "Aaron Maashoh | \n", "23.0 | \n", "821000265.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "... | \n", "Good | \n", "809.98 | \n", "28.609352 | \n", "267.0 | \n", "No | \n", "49.574949 | \n", "21.465380 | \n", "Low_spent_Medium_value_payments | \n", "331.209863 | \n", "Good | \n", "
| 3 | \n", "5637 | \n", "3392 | \n", "4 | \n", "Aaron Maashoh | \n", "23.0 | \n", "821000265.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "... | \n", "Good | \n", "809.98 | \n", "31.377862 | \n", "268.0 | \n", "No | \n", "49.574949 | \n", "21.465380 | \n", "Low_spent_Small_value_payments | \n", "223.451310 | \n", "Good | \n", "
| 4 | \n", "5638 | \n", "3392 | \n", "5 | \n", "Aaron Maashoh | \n", "23.0 | \n", "821000265.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "... | \n", "Good | \n", "809.98 | \n", "24.797347 | \n", "269.0 | \n", "No | \n", "49.574949 | \n", "21.465380 | \n", "High_spent_Medium_value_payments | \n", "341.489231 | \n", "Good | \n", "
| ... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
| 99995 | \n", "155625 | \n", "37932 | \n", "4 | \n", "Nicks | \n", "25.0 | \n", "78735990.0 | \n", "Mechanic | \n", "39628.99 | \n", "3359.415833 | \n", "4.0 | \n", "... | \n", "Good | \n", "502.38 | \n", "34.663572 | \n", "378.0 | \n", "No | \n", "35.104023 | \n", "24.028477 | \n", "High_spent_Large_value_payments | \n", "479.866228 | \n", "Poor | \n", "
| 99996 | \n", "155626 | \n", "37932 | \n", "5 | \n", "Nicks | \n", "25.0 | \n", "78735990.0 | \n", "Mechanic | \n", "39628.99 | \n", "3359.415833 | \n", "4.0 | \n", "... | \n", "Good | \n", "502.38 | \n", "40.565631 | \n", "379.0 | \n", "No | \n", "35.104023 | \n", "24.028477 | \n", "High_spent_Medium_value_payments | \n", "496.651610 | \n", "Poor | \n", "
| 99997 | \n", "155627 | \n", "37932 | \n", "6 | \n", "Nicks | \n", "25.0 | \n", "78735990.0 | \n", "Mechanic | \n", "39628.99 | \n", "3359.415833 | \n", "4.0 | \n", "... | \n", "Good | \n", "502.38 | \n", "41.255522 | \n", "380.0 | \n", "No | \n", "35.104023 | \n", "24.028477 | \n", "High_spent_Large_value_payments | \n", "516.809083 | \n", "Poor | \n", "
| 99998 | \n", "155628 | \n", "37932 | \n", "7 | \n", "Nicks | \n", "25.0 | \n", "78735990.0 | \n", "Mechanic | \n", "39628.99 | \n", "3359.415833 | \n", "4.0 | \n", "... | \n", "Good | \n", "502.38 | \n", "33.638208 | \n", "381.0 | \n", "No | \n", "35.104023 | \n", "24.028477 | \n", "Low_spent_Large_value_payments | \n", "319.164979 | \n", "Standard | \n", "
| 99999 | \n", "155629 | \n", "37932 | \n", "8 | \n", "Nicks | \n", "25.0 | \n", "78735990.0 | \n", "Mechanic | \n", "39628.99 | \n", "3359.415833 | \n", "4.0 | \n", "... | \n", "Good | \n", "502.38 | \n", "34.192463 | \n", "382.0 | \n", "No | \n", "35.104023 | \n", "24.028477 | \n", "High_spent_Medium_value_payments | \n", "393.673696 | \n", "Poor | \n", "
100000 rows × 28 columns
\n", "| \n", " | ID | \n", "Customer_ID | \n", "Month | \n", "Name | \n", "Age | \n", "SSN | \n", "Occupation | \n", "Annual_Income | \n", "Monthly_Inhand_Salary | \n", "Num_Bank_Accounts | \n", "... | \n", "Credit_Mix | \n", "Outstanding_Debt | \n", "Credit_Utilization_Ratio | \n", "Credit_History_Age | \n", "Payment_of_Min_Amount | \n", "Total_EMI_per_month | \n", "Amount_invested_monthly | \n", "Payment_Behaviour | \n", "Monthly_Balance | \n", "Credit_Score | \n", "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", "5634 | \n", "3392 | \n", "1 | \n", "Aaron Maashoh | \n", "23.0 | \n", "821000265.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "... | \n", "Good | \n", "809.98 | \n", "26.822620 | \n", "265.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "High_spent_Small_value_payments | \n", "312.494089 | \n", "Good | \n", "
| 1 | \n", "5635 | \n", "3392 | \n", "2 | \n", "Aaron Maashoh | \n", "23.0 | \n", "821000265.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "... | \n", "Good | \n", "809.98 | \n", "31.944960 | \n", "266.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "Low_spent_Large_value_payments | \n", "284.629162 | \n", "Good | \n", "
| 2 | \n", "5636 | \n", "3392 | \n", "3 | \n", "Aaron Maashoh | \n", "23.0 | \n", "821000265.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "... | \n", "Good | \n", "809.98 | \n", "28.609352 | \n", "267.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "Low_spent_Medium_value_payments | \n", "331.209863 | \n", "Good | \n", "
| 3 | \n", "5637 | \n", "3392 | \n", "4 | \n", "Aaron Maashoh | \n", "23.0 | \n", "821000265.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "... | \n", "Good | \n", "809.98 | \n", "31.377862 | \n", "268.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "Low_spent_Small_value_payments | \n", "223.451310 | \n", "Good | \n", "
| 4 | \n", "5638 | \n", "3392 | \n", "5 | \n", "Aaron Maashoh | \n", "23.0 | \n", "821000265.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "... | \n", "Good | \n", "809.98 | \n", "24.797347 | \n", "269.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "High_spent_Medium_value_payments | \n", "341.489231 | \n", "Good | \n", "
5 rows × 28 columns
\n", "| \n", " | ID | \n", "Customer_ID | \n", "Month | \n", "Name | \n", "Age | \n", "SSN | \n", "Occupation | \n", "Annual_Income | \n", "Monthly_Inhand_Salary | \n", "Num_Bank_Accounts | \n", "... | \n", "Credit_Mix | \n", "Outstanding_Debt | \n", "Credit_Utilization_Ratio | \n", "Credit_History_Age | \n", "Payment_of_Min_Amount | \n", "Total_EMI_per_month | \n", "Amount_invested_monthly | \n", "Payment_Behaviour | \n", "Monthly_Balance | \n", "Credit_Score | \n", "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 99995 | \n", "155625 | \n", "37932 | \n", "4 | \n", "Nicks | \n", "25.0 | \n", "78735990.0 | \n", "Mechanic | \n", "39628.99 | \n", "3359.415833 | \n", "4.0 | \n", "... | \n", "Good | \n", "502.38 | \n", "34.663572 | \n", "378.0 | \n", "No | \n", "35.104023 | \n", "24.028477 | \n", "High_spent_Large_value_payments | \n", "479.866228 | \n", "Poor | \n", "
| 99996 | \n", "155626 | \n", "37932 | \n", "5 | \n", "Nicks | \n", "25.0 | \n", "78735990.0 | \n", "Mechanic | \n", "39628.99 | \n", "3359.415833 | \n", "4.0 | \n", "... | \n", "Good | \n", "502.38 | \n", "40.565631 | \n", "379.0 | \n", "No | \n", "35.104023 | \n", "24.028477 | \n", "High_spent_Medium_value_payments | \n", "496.651610 | \n", "Poor | \n", "
| 99997 | \n", "155627 | \n", "37932 | \n", "6 | \n", "Nicks | \n", "25.0 | \n", "78735990.0 | \n", "Mechanic | \n", "39628.99 | \n", "3359.415833 | \n", "4.0 | \n", "... | \n", "Good | \n", "502.38 | \n", "41.255522 | \n", "380.0 | \n", "No | \n", "35.104023 | \n", "24.028477 | \n", "High_spent_Large_value_payments | \n", "516.809083 | \n", "Poor | \n", "
| 99998 | \n", "155628 | \n", "37932 | \n", "7 | \n", "Nicks | \n", "25.0 | \n", "78735990.0 | \n", "Mechanic | \n", "39628.99 | \n", "3359.415833 | \n", "4.0 | \n", "... | \n", "Good | \n", "502.38 | \n", "33.638208 | \n", "381.0 | \n", "No | \n", "35.104023 | \n", "24.028477 | \n", "Low_spent_Large_value_payments | \n", "319.164979 | \n", "Standard | \n", "
| 99999 | \n", "155629 | \n", "37932 | \n", "8 | \n", "Nicks | \n", "25.0 | \n", "78735990.0 | \n", "Mechanic | \n", "39628.99 | \n", "3359.415833 | \n", "4.0 | \n", "... | \n", "Good | \n", "502.38 | \n", "34.192463 | \n", "382.0 | \n", "No | \n", "35.104023 | \n", "24.028477 | \n", "High_spent_Medium_value_payments | \n", "393.673696 | \n", "Poor | \n", "
5 rows × 28 columns
\n", "| \n", " | ID | \n", "Customer_ID | \n", "Month | \n", "Age | \n", "SSN | \n", "Annual_Income | \n", "Monthly_Inhand_Salary | \n", "Num_Bank_Accounts | \n", "Num_Credit_Card | \n", "Interest_Rate | \n", "... | \n", "Delay_from_due_date | \n", "Num_of_Delayed_Payment | \n", "Changed_Credit_Limit | \n", "Num_Credit_Inquiries | \n", "Outstanding_Debt | \n", "Credit_Utilization_Ratio | \n", "Credit_History_Age | \n", "Total_EMI_per_month | \n", "Amount_invested_monthly | \n", "Monthly_Balance | \n", "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| count | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.000000 | \n", "1.000000e+05 | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.00000 | \n", "... | \n", "100000.00000 | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.000000 | \n", "100000.000000 | \n", "
| mean | \n", "80631.500000 | \n", "25982.666640 | \n", "4.500000 | \n", "33.316340 | \n", "5.004617e+08 | \n", "50505.123449 | \n", "4197.270835 | \n", "5.368820 | \n", "5.533570 | \n", "14.53208 | \n", "... | \n", "21.08141 | \n", "13.313120 | \n", "10.470323 | \n", "5.798250 | \n", "1426.220376 | \n", "32.285173 | \n", "221.220460 | \n", "107.699208 | \n", "55.101315 | \n", "392.697586 | \n", "
| std | \n", "43301.486619 | \n", "14340.543051 | \n", "2.291299 | \n", "10.764812 | \n", "2.908267e+08 | \n", "38299.422093 | \n", "3186.432497 | \n", "2.593314 | \n", "2.067098 | \n", "8.74133 | \n", "... | \n", "14.80456 | \n", "6.237166 | \n", "6.609481 | \n", "3.867826 | \n", "1155.129026 | \n", "5.116875 | \n", "99.680716 | \n", "132.267056 | \n", "39.006932 | \n", "201.652719 | \n", "
| min | \n", "5634.000000 | \n", "1006.000000 | \n", "1.000000 | \n", "14.000000 | \n", "8.134900e+04 | \n", "7005.930000 | \n", "303.645417 | \n", "0.000000 | \n", "0.000000 | \n", "1.00000 | \n", "... | \n", "0.00000 | \n", "0.000000 | \n", "0.500000 | \n", "0.000000 | \n", "0.230000 | \n", "20.000000 | \n", "1.000000 | \n", "0.000000 | \n", "0.000000 | \n", "0.007760 | \n", "
| 25% | \n", "43132.750000 | \n", "13664.500000 | \n", "2.750000 | \n", "24.000000 | \n", "2.451686e+08 | \n", "19342.972500 | \n", "1626.594167 | \n", "3.000000 | \n", "4.000000 | \n", "7.00000 | \n", "... | \n", "10.00000 | \n", "9.000000 | \n", "5.380000 | \n", "3.000000 | \n", "566.072500 | \n", "28.052567 | \n", "144.000000 | \n", "29.268886 | \n", "27.959111 | \n", "267.615983 | \n", "
| 50% | \n", "80631.500000 | \n", "25777.000000 | \n", "4.500000 | \n", "33.000000 | \n", "5.006886e+08 | \n", "36999.705000 | \n", "3095.905000 | \n", "5.000000 | \n", "5.000000 | \n", "13.00000 | \n", "... | \n", "18.00000 | \n", "14.000000 | \n", "9.400000 | \n", "5.000000 | \n", "1166.155000 | \n", "32.305784 | \n", "219.000000 | \n", "66.462304 | \n", "45.156550 | \n", "333.865366 | \n", "
| 75% | \n", "118130.250000 | \n", "38385.000000 | \n", "6.250000 | \n", "42.000000 | \n", "7.560027e+08 | \n", "71683.470000 | \n", "5957.715000 | \n", "7.000000 | \n", "7.000000 | \n", "20.00000 | \n", "... | \n", "28.00000 | \n", "18.000000 | \n", "14.850000 | \n", "8.000000 | \n", "1945.962500 | \n", "36.496663 | \n", "302.000000 | \n", "147.392573 | \n", "71.295797 | \n", "463.215683 | \n", "
| max | \n", "155629.000000 | \n", "50999.000000 | \n", "8.000000 | \n", "56.000000 | \n", "9.999934e+08 | \n", "179987.280000 | \n", "15204.633333 | \n", "11.000000 | \n", "11.000000 | \n", "34.00000 | \n", "... | \n", "62.00000 | \n", "25.000000 | \n", "29.980000 | \n", "17.000000 | \n", "4998.070000 | \n", "50.000000 | \n", "404.000000 | \n", "1779.103254 | \n", "434.191089 | \n", "1183.930696 | \n", "
8 rows × 21 columns
\n", "| \n", " | Month | \n", "Age | \n", "Occupation | \n", "Annual_Income | \n", "Monthly_Inhand_Salary | \n", "Num_Bank_Accounts | \n", "Num_Credit_Card | \n", "Interest_Rate | \n", "Num_of_Loan | \n", "Type_of_Loan | \n", "... | \n", "Credit_Mix | \n", "Outstanding_Debt | \n", "Credit_Utilization_Ratio | \n", "Credit_History_Age | \n", "Payment_of_Min_Amount | \n", "Total_EMI_per_month | \n", "Amount_invested_monthly | \n", "Payment_Behaviour | \n", "Monthly_Balance | \n", "Credit_Score | \n", "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", "1 | \n", "23.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "Auto Loan, Credit-Builder Loan, Personal Loan,... | \n", "... | \n", "Good | \n", "809.98 | \n", "26.822620 | \n", "265.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "High_spent_Small_value_payments | \n", "312.494089 | \n", "Good | \n", "
| 1 | \n", "2 | \n", "23.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "Auto Loan, Credit-Builder Loan, Personal Loan,... | \n", "... | \n", "Good | \n", "809.98 | \n", "31.944960 | \n", "266.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "Low_spent_Large_value_payments | \n", "284.629162 | \n", "Good | \n", "
| 2 | \n", "3 | \n", "23.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "Auto Loan, Credit-Builder Loan, Personal Loan,... | \n", "... | \n", "Good | \n", "809.98 | \n", "28.609352 | \n", "267.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "Low_spent_Medium_value_payments | \n", "331.209863 | \n", "Good | \n", "
| 3 | \n", "4 | \n", "23.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "Auto Loan, Credit-Builder Loan, Personal Loan,... | \n", "... | \n", "Good | \n", "809.98 | \n", "31.377862 | \n", "268.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "Low_spent_Small_value_payments | \n", "223.451310 | \n", "Good | \n", "
| 4 | \n", "5 | \n", "23.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "Auto Loan, Credit-Builder Loan, Personal Loan,... | \n", "... | \n", "Good | \n", "809.98 | \n", "24.797347 | \n", "269.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "High_spent_Medium_value_payments | \n", "341.489231 | \n", "Good | \n", "
5 rows × 24 columns
\n", "| \n", " | Month | \n", "Age | \n", "Occupation | \n", "Annual_Income | \n", "Monthly_Inhand_Salary | \n", "Num_Bank_Accounts | \n", "Num_Credit_Card | \n", "Interest_Rate | \n", "Num_of_Loan | \n", "Type_of_Loan | \n", "... | \n", "Credit_Mix | \n", "Outstanding_Debt | \n", "Credit_Utilization_Ratio | \n", "Credit_History_Age | \n", "Payment_of_Min_Amount | \n", "Total_EMI_per_month | \n", "Amount_invested_monthly | \n", "Payment_Behaviour | \n", "Monthly_Balance | \n", "Credit_Score | \n", "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", "1.0 | \n", "23.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "Auto Loan, Credit-Builder Loan, Personal Loan,... | \n", "... | \n", "Good | \n", "809.98 | \n", "26.822620 | \n", "265.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "High_spent_Small_value_payments | \n", "312.494089 | \n", "Good | \n", "
| 1 | \n", "2.0 | \n", "23.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "Auto Loan, Credit-Builder Loan, Personal Loan,... | \n", "... | \n", "Good | \n", "809.98 | \n", "31.944960 | \n", "266.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "Low_spent_Large_value_payments | \n", "284.629162 | \n", "Good | \n", "
| 2 | \n", "3.0 | \n", "23.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "Auto Loan, Credit-Builder Loan, Personal Loan,... | \n", "... | \n", "Good | \n", "809.98 | \n", "28.609352 | \n", "267.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "Low_spent_Medium_value_payments | \n", "331.209863 | \n", "Good | \n", "
| 3 | \n", "4.0 | \n", "23.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "Auto Loan, Credit-Builder Loan, Personal Loan,... | \n", "... | \n", "Good | \n", "809.98 | \n", "31.377862 | \n", "268.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "Low_spent_Small_value_payments | \n", "223.451310 | \n", "Good | \n", "
| 4 | \n", "5.0 | \n", "23.0 | \n", "Scientist | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "Auto Loan, Credit-Builder Loan, Personal Loan,... | \n", "... | \n", "Good | \n", "809.98 | \n", "24.797347 | \n", "269.0 | \n", "No | \n", "49.574949 | \n", "21.46538 | \n", "High_spent_Medium_value_payments | \n", "341.489231 | \n", "Good | \n", "
5 rows × 24 columns
\n", "| \n", " | Month | \n", "Age | \n", "Occupation | \n", "Annual_Income | \n", "Monthly_Inhand_Salary | \n", "Num_Bank_Accounts | \n", "Num_Credit_Card | \n", "Interest_Rate | \n", "Num_of_Loan | \n", "Delay_from_due_date | \n", "... | \n", "auto loan | \n", "credit-builder loan | \n", "debt consolidation loan | \n", "home equity loan | \n", "mortgage loan | \n", "no data | \n", "not specified | \n", "payday loan | \n", "personal loan | \n", "student loan | \n", "
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", "1.0 | \n", "23.0 | \n", "12 | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "... | \n", "1 | \n", "1 | \n", "0 | \n", "1 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "1 | \n", "0 | \n", "
| 1 | \n", "2.0 | \n", "23.0 | \n", "12 | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "... | \n", "1 | \n", "1 | \n", "0 | \n", "1 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "1 | \n", "0 | \n", "
| 2 | \n", "3.0 | \n", "23.0 | \n", "12 | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "... | \n", "1 | \n", "1 | \n", "0 | \n", "1 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "1 | \n", "0 | \n", "
| 3 | \n", "4.0 | \n", "23.0 | \n", "12 | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "5.0 | \n", "... | \n", "1 | \n", "1 | \n", "0 | \n", "1 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "1 | \n", "0 | \n", "
| 4 | \n", "5.0 | \n", "23.0 | \n", "12 | \n", "19114.12 | \n", "1824.843333 | \n", "3.0 | \n", "4.0 | \n", "3.0 | \n", "4.0 | \n", "6.0 | \n", "... | \n", "1 | \n", "1 | \n", "0 | \n", "1 | \n", "0 | \n", "0 | \n", "0 | \n", "0 | \n", "1 | \n", "0 | \n", "
5 rows × 33 columns
\n", "