Question: The data include customer demographic information ( age , income, etc. ) , the customer's relationship with the bank ( mortgage , securities account, etc.
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,
campaign.
only accepted the personal loan that was offered to them in the earlier
Partition the data into training and validation sets.
Consider the following customer:
Age Experience Income Family CCAvg Education
Mortgage Securities Account CD Account Online and Credit
Card Perform a kNN classification with all predictors except ID and ZIP
code using k How would this customer be classified? Note: This analysis
may take a few minutes.
What is a choice of k that balances between overfitting and ignoring the predictor information?
Show the classification matrix for the validation data that results from using the best k
Consider the following customer: Age Experience Income Family
CCAvg Education Mortgage Securities Account CD Account
Online and Credit Card Classify the customer using the best k
Repartition the data, this time into training, validation, and test sets : :
Apply the kNN method with the k chosen above. Compare the classification matrix of the test set with that of
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
