Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Introduction ) The goal is to whether a new customer will accept a loan offer. This will serve as the basis for the design of
Introduction The goal is to whether a new customer will accept a loan offer. This will serve as the basis for the design of a new campaign.
The file UniversalBank.xlsx contains data on customers. The data include customer demographic information age income, etc. the customers 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. Specify the success class as loan acceptance and use the default cutoff value of
Using R perform a neutral net classification with all predictors except ID and ZIP code. Remember to transform categorical predictors with more than two categories into dummy variables first and scale numerical predictor variables to a
Using R perform a deeper decision tree classification and prune with all predictors except ID and ZIP code.
Based on the neutral net confusion matrix results versus the deeper decision tree confusion matrix results, identify which model method is best.
Consider the following customer:
Age Experience Income Family CCAvg Education Education Education Mortgage Securities Account CD Account Online and Credit Card How would this customer be classified using neutral net or decision tree based on which was identified as performing best?
Note I want the actual R codes to be explained to solve this problem.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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