How would the given customer be classified

Assignment Help Computer Engineering
Reference no: EM131926025

Problem

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 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 file UniversalBank.csv 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. Partition the data into training (60%) and validation (40%) sets.

a. 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. 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?

b. What is a choice of k that balances between overfitting and ignoring the predictor information?

c. Show the confusion matrix for the validation data that results from using the best k.

d. 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 customer using the best k.

e. 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.

Reference no: EM131926025

Questions Cloud

Design to create a patient satisfaction survey : you use best practices of survey design to create a patient satisfaction survey - Using best practices of survey design, create a 15-question patient
Write a function to construct the union of two sets : Write a function to construct the union of two sets. The union of two sets is an unordered listing of elements without repetitions
Which stock has greater market risk : If rf were constant at 6.8% and the regression had been run using total rather than excess returns, what would have been the regression intercept for stock A?
Revolve around the idea of self-recongnization : The concepts of both articles revolve around the idea of self-recongnization in manta rays, each article attempts to convey the cognitive powers of these animal
How would the given customer be classified : Specify the success class as 1 (loan acceptance), and use the default cutoff value of 0.5. How would this customer be classified?
What is the role of individual in helping to solve problem : Are we more likely to solve the problems if we embrace a sense of common purpose and public spirit focused on the collective good?
Trade-offs in different class of agency conflicts and costs : Jensen and Meckling (1976) also provide potentially important insights into the choice of Capital Structure. They discuss Agency Conflicts and the Costs.
Create one dataset for all three with categorical predictor : Using the above information on two customers and one prospect, create one dataset for all three with categorical predictor variable transformed into 2 binaries.
Construct a balance sheet for fred business : Construct a balance sheet for Fred's business at the end of its first month. (Hint: Fred's business has only current assets, current liabilities and an equity.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a public function that displays a groceryitems values

Write a public function that displays a GroceryItem's values. Finally, write a main() function that declares a GroceryItem object, assigns values to its fields.

  Draw one stage of the trellis diagram

ENGR4130 Project - Optimal Receiver and Symbol-by-Symbol Detection for Bandlimitted Channels. Consider the same binary communication system given above. Here we implement the Viterbi algorithm for the detection of the entire sequence. Define the st..

  Draw the frequency array and huffman tree

Draw the frequency array and Huffman tree for the following string: "dogs do not spot hot pots or cats".

  Define newest group of registered nurses to your hospital

You are responsible for orienting the newest group of Registered Nurses to your hospital

  Consider an adt called squarematrix

Consider an ADT called 'SquareMatrix'

  Write a program that inputs a description of a maze

Write a program that inputs a description of a maze in this format and finds the shortest path from the outside to the innermost circle.

  Create a c program that accepts a string of characters

Write a C program that accepts a string of characters from a terminal and displays the string one word per line. Make your array 80 characters and suppose the entered text will be less than 80 characters. A complete C program is included as well a..

  Write down the set of values of each primitive type

Some programming languages have no concept of type. Write down the set of values of each primitive type in your favorite programming language.

  How master secret is created from pre-master secret in ssl

Describe how master secret is created from pre-master secret in SSL. Describe how master secret is created from pre-master secret in TLS.

  How many times does the top module call each subordinate

What tool would not be useful in preparing a Module Specification for a programmer to code the Update Account Module?

  Problem definitionrural areas do not have proper internet

problem definitionrural areas do not have proper internet access and are unable to manage downloading anything. certain

  Write the program in c++ language

Write a program to read a student's number, his or her old grade point average, and old number of course credits (e.g., 31479, 3.25, 66) and to then print these with appropriate labels.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd