Question: Use python code to solve 7 . 2 Specify the success class as 1 ( loan acceptance ) , and use the default cutoff value
Use python code to solve
Specify the success class as loan acceptance and use the default cutoff value of How would this customer be classified?
b What is a choice of that balances between overfitting and ignoring the predictor information?
c Show the confusion matrix for the validation data that results from using the best
d Consider the following customer: Age Experience Income Family CCAvg Education Education Education Mortgage Securities Account Account Online and Credit Card Classify the customer using the best I
e Repartition the data, this time into training, validation, and test sets : Apply the NN method with the chosen above. Compare the confusion matrix of the test set with that of the training and validation sets. Comment on the differences and their reason. Personal Loan Acceptance. Universal Bank is a relatively young bank growing rapidly in terms of overall customer acquisition. The majority of these customers are liability customen depositors with varying sizes of relationship with the bank. The customer base of asset customers borrowers is quite small, and the bank is interested in expanding this base rapidly to bring in more loan business. In particular, it wants to explore ways of converting its liability customers to personal loan customers while retaining them as depositors
A campaign that the bank ran last year for liability customers showed a healthy conversion rate of over success. This has encouraged the retail marketing department to devise smarter campaigns with better target marketing. The goal is to use kNN to predict whether a new customer will accept a loan offer. This will serve as the basis for the design of a new campaign. I
The file UniversalBank.cst contains data on customers. The data include customer demographic information age income, etc. the customer's relationship with the bank mortgage securities account, etc. and the customer response to the last personal loan campaign Personal Loan Among these customers, only accepted the personal loan that was offered to them in the earlier campaign. Partition the data into training and validation sets.
a Consider the following customer:
Age Experience Income Family CCAvg Education Education Education Mortgage Securities Account CD Account Online and Credit Card Perform a classification with all predictors except ID and ZIP code using Remember to transform categorical predictors with more than two categories into dummy variables
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
