subject
Mathematics, 08.02.2021 19:10 cbawesome8

Scenario Universal Bank is a relatively young bank growing rapidly in terms of overall customer acquisition. The majority of these customers are liability customers (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 9% success. This has encouraged the retail marketing department to devise smarter campaigns with better target marketing. The goal is to use k-NN to predict whether a new customer will accept a loan offer. This will serve as the basis for the design of a new campaign.
The dataset UniversalBank. csv below contains data on 5000 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 5000 customers, only 480 (= 9.6%) accepted the personal loan that was offered to them in the earlier campaign.
UniversalBank. csvWith all this information in mind and the use of R, your job is to:Partition the dataset into 60% training and 40% validation sets considering the information on the following customer:Age = 40, Experience = 10, Income = 84, Family = 2, CCAvg = 2, Education_1 = 0, Education_2 = 1, Education_3 = 0, Mortgage = 0, Securities Account = 0, CD Account = 0, Online = 1, and Credit Card = 1.Perform a k-NN classification with all predictors except ID and ZIP code using k = 1. Remember to transform categorical predictors with more than two categories into dummy variables first. Specify the success class as 1 (loan acceptance), and use the default cutoff value of 0.5. How would this customer be classified?Tell me, what is a choice of k that balances between overfitting and ignoring the predictor information?Show the confusion matrix for the validation data that results from using the best k. Then, Consider the following customer:Age = 40, Experience = 10, Income = 84, Family = 2, CCAvg = 2, Education_1 = 0, Education_2 = 1, Education_3 = 0, Mortgage = 0, Securities Account = 0, CD Account = 0, Online = 1 and Credit Card = 1.Classify the above customer using the best k. Repartition the data, this time into training, validation, and test sets (50% : 30% : 20%).Apply the k-NN method with the k 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.

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 22.06.2019 01:00
Ameteorologist is studying the monthly rainfall in a section of the brazilian rainforest. she recorded the monthly rainfall, in inches, for last year. they were: 10.4, 10.3, 11.7, 11.1, 8.0, 4.4, 2.6, 1.8, 2.5, 4.4, 7.3, 9.5 fill in the missing values in the formula. what is the variance?
Answers: 1
question
Mathematics, 22.06.2019 02:30
Anne plans to increase the prices of all the items in her store by 5%. to the nearest cent, how much will an artist save if the artist buys a canvas and a frame that each measure 24 by 36 inches before the price increase goes into effect?
Answers: 1
question
Mathematics, 22.06.2019 03:30
Aking and his army will attempt to capture a fortress. the left and right flanks break off from the main group to attack the west and east guard towers. suppose the left flank has a 60% chance of success and the right flank has a 75% chance of success, independently of one another. if both flanks capture their respective targets, then the king has a 98% chance of successfully taking the fort. if, however, only the left flank captures its tower, the king has an 80% chance of success; if only the right flank succeeds, the king has a 50% chance. if both flanks fail, then the king's chance of capturing the fort drops to 20%. it turns out the king captures the fort. what is the probability that one, and only one, flank was successful (either the left, or the right, but not both)? (round your answer to 3 decimal places)
Answers: 2
question
Mathematics, 22.06.2019 08:30
The effiel tower is about 301 meters tall. cooper is making a scale model of it using the scale 750 meters : 1 meter to the nearest tenth of a meter, what will be the height of the scale model?
Answers: 1
You know the right answer?
Scenario Universal Bank is a relatively young bank growing rapidly in terms of overall customer acq...
Questions
question
Chemistry, 29.07.2019 22:30
question
History, 29.07.2019 22:30