Code Monkey home page Code Monkey logo

credit_line_increase_model's Introduction

Credit Line Increase Model Card

Basic information:

Intended Use:

  • Primary intended uses: This model is an example probability of default classifier, with an example use case for determining eligibility for a credit line increase.
  • Intended users: Students in GWU DNSC 6301 bootcamp.
  • Out-of-scope uses: Any use beyond an educational example is out-of-scope.

Training data:

  • Source of training data: GWU Blackboard, [email protected]

  • How training data was divided into training and validation data:

    • 50% training,
    • 25% validation,
    • 25% test
  • Number of rows in training and validation data:

    • Training rows: 15,000
    • Validation rows: 7,500
    • Test rows: 7,500
  • Data dictionary:

Name Modeling Role Measurement Level Description
ID ID int unique row indentifier
LIMIT_BAL input float amount of previously awarded credit
SEX demographic information int 1 = male; 2 = female
RACE demographic information int 1 = hispanic; 2 = black; 3 = white; 4 = asian
EDUCATION demographic information int 1 = graduate school; 2 = university; 3 = high school; 4 = others
MARRIAGE demographic information int 1 = married; 2 = single; 3 = others
AGE demographic information int age in years
PAY_0, PAY_2 - PAY_6 inputs int history of past payment; PAY_0 = the repayment status in September, 2005; PAY_2 = the repayment status in August, 2005; ...; PAY_6 = the repayment status in April, 2005. The measurement scale for the repayment status is: -1 = pay duly; 1 = payment delay for one month; 2 = payment delay for two months; ...; 8 = payment delay for eight months; 9 = payment delay for nine months and above
BILL_AMT1 - BILL_AMT6 inputs float amount of bill statement; BILL_AMNT1 = amount of bill statement in September, 2005; BILL_AMT2 = amount of bill statement in August, 2005; ...; BILL_AMT6 = amount of bill statement in April, 2005
PAY_AMT1 - PAY_AMT6 inputs float amount of previous payment; PAY_AMT1 = amount paid in September, 2005; PAY_AMT2 = amount paid in August, 2005; ...; PAY_AMT6 = amount paid in April, 2005
DELINQ_NEXT target int whether a customer's next payment is delinquent (late), 1 = late; 0 = on-time

Test Data:

  • Source of test data: GWU BlackBoard / 202103_Analytics Edge and Data Ethics_DNSC_6301_10 / Electronic Reserves
  • Number of rows in test data: 7500
  • State any differences in columns between training and test data: None

Model details:

  • Columns used as inputs in the final model: LIMIT_BAL,PAY_0, PAY_2:PAY_6, BILL_AMT1:BILL_AMT6, PAY_AMT1:PAY_AMT6
  • Column(s) used as target(s) in the final model: DELINQ_NEXT
  • Type of model: Decision Tree
  • Software used to implement the model: Google Colab
  • Version of the modeling software:
    • scikit-learn
    • Google Colab with Python 3.6.9
  • Hyperparameters or other settings of your model: Test Size, Tree Depth, Adverse Impact Ratio - AIR (0.8) and Cut Off - change to 18%

Quantitative Analysis:

  • Metrics used to evaluate your final model:
    • AIR
    • Bias remediation
    • Accuracy
    • Variable importance
    • Average Impact Ratio test
    • Model performance
    • Fairness
  • State the final values of the metrics for all data: Training, validation, and test data
    • Training AUC: 0.78
    • Validation AUC: 0.75
    • Test AUC: 0.74
    • Asian-to-White AIR: 1.00
    • Black-to-White AIR: 0.85
    • Female-to-Male AIR: 1.02
    • Hispanic-to-White AIR: 0.83
  • Plots:
    • heatmap
    • iteration_plot
    • variable_importance

Ethical Considerations:

  • Describe potential negative impacts of using your model:
    • Math or software problems
    • Our model is not prepared to handle missing data. If missing data is presented, it would fail and risk becoming biased. There may also be syntax errors that would damage the code.
  • Real-world risks: who, what, when or how
    • There may be a real world risk of favoring a certain race over the other, or gender over the other. This happens due to discrimination and mitigation.
    • Risks include biased decision making with regards to the extension of credit line to customers. This can happen if the code is manipulated or there is biased data entered into the model. There is a risk also that the original code was developed with unrecognized bias.
  • Describe potential uncertainties relating to the impacts of using your model:
    • Math or software problems
    • The software can continue to provide data that is incorrect and if it is not properly recognized and fixed this can go on and be built into the code.
  • Describe any unexpected or results:
    • None

credit_line_increase_model's People

Contributors

anirmal08 avatar kyl3lyon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.