Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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?
Provides R codes of Neutral Net Classification and Deeper Decision Tree Classification. Also please, follow the attached Rubric.
Rubric
Accurately partitions the data into training and validation sets with a split of training and validation. The success class is correctly specified as loan acceptance and the default cutoff value of is used.
Neural net classification is performed accurately using all predictors except ID and ZIP code. Categorical predictors with more than two categories are appropriately transformed into dummy variables, and numerical predictors are scaled to a range of
Deeper decision tree classification is performed accurately using all predictors except ID and ZIP code. The tree is appropriately pruned, and all necessary predictor transformations are applied.
A clear comparison is made between the neural net and deeper decision tree models based on their confusion matrix results for both training and validation sets. The identification of the bestperforming model is justified based on these results.
The customer is accurately classified using the bestperforming model identified in part c A clear explanation is provided for how the classification was determined.
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