Skip to content

A machine learning model using logistic regression to predict loan defaults based on financial data. The purpose of the analysis was to assist in risk assessment and decision-making processes in the lending industry.

canayter/credit-risk-classification-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Loan Default Prediction: Insights from Logistic Regression Analysis

Overview of the Analysis

This analysis aimed to develop a logistic regression model to predict loan defaults based on financial data, facilitating risk assessment and decision-making in the lending industry. The dataset comprised various financial attributes of loan applicants, and the target variable indicated loan status (defaulted or not). Exploratory data analysis revealed class imbalance, with a larger proportion of non-defaulting loans. The machine learning process followed standard stages, focusing solely on logistic regression for the classification task.

Results

  • Logistic Regression:
    • Accuracy: 0.99
    • Precision:
      • Healthy Loans: 1.00
      • High-Risk Loans: 0.87
    • Recall:
      • Healthy Loans: 1.00
      • High-Risk Loans: 0.89

Summary

The Logistic Regression model exhibited high accuracy and precision for both loan classes, with better performance in predicting healthy loans compared to high-risk loans. This asymmetry suggests potential implications for decision-making, emphasizing the importance of correctly identifying high-risk loans to mitigate financial losses. Given the model's balanced accuracy and robust precision-recall scores, further evaluation and potential deployment are recommended. However, continuous monitoring and refinement are crucial to address class imbalance and adapt to evolving financial landscapes.

About

A machine learning model using logistic regression to predict loan defaults based on financial data. The purpose of the analysis was to assist in risk assessment and decision-making processes in the lending industry.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published