Question
You are a data analyst at a bank and are tasked with creating a classification algorithm to predict which customers will accept a personal loan
You are a data analyst at a bank and are tasked with creating a classification algorithm to predict which customers will accept a personal loan offer. You have partitioned the data and used the training data to fit coefficients of a logistic regression model using the predictor variables experience (i.e. years at the bank), income (in $1000s), family size, average credit card balance (CCAvg), and whether or not the individual accepted a personal loan offer (0: non-acceptor, 1: acceptor).
You have used the fitted regression equation to calculate the likelihood score (P, in column G) from the logistic regression equation that is being used to predict personal loan acceptance. In this case, you will evaluate the performance of the classifier and determine the best cutoff threshold to use when predicting loan acceptance.
Coefficients b0 Experience Income Family CCAvg Education -13.92 0.010488 0.055902 0.738787 0.118769 1.64886 Cutoff Threshold T 0.5 Predicted Value 1 Actual 1113 26 Value 50 61
Step by Step Solution
3.37 Rating (153 Votes )
There are 3 Steps involved in it
Step: 1
PREDICTED negative positive ACTUAL negative TN FP positive FN TP 1 The overall accuracy of the class...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started