Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part B: Use the Simmons data set in module 10. See the Excel file titled Simmons-data-raw in Module 10. Watch the video that explains

Part B: Use the Simmons data set in module 10. See the Excel file titled Simmons-data-raw in Module 10. Watch PartB-3 (1 point): If you were to ROLL OUT the logistic regression model to PREDICT coupon usage for a LARGE The Rules are as stated by the decision tree. WHICH CHURN SEGMENT DO YOU RECOMMEND FOCUSING ON? WHY? Finally,Hints for writing a good report for Part A: The report for PART A does not have to be long (no more than 5DATA SCIENCE: Machine Learning TEAM PROJECT This programming assignment contains 2 independent parts,

Part B: Use the Simmons data set in module 10. See the Excel file titled Simmons-data-raw in Module 10. Watch the video that explains the contents of the file. The data set uses two predictors X1 = Annual spend on a similar credit card and X2 = Presence/Absence of the Simmons loyalty card to PREDICT Y = Will customer use coupon or not? For Part 2, build a logistic regression model to predict Y = coupon usage from X1 and X2 and then answer the following questions. PartB-1 (2 points): What are the coefficents (BETAs) for the logistic regression model? Answer as below: LR coefficents BETAO (or constant term) BETA1 (coeff. For X1) BETA2 (coeff. For X2) Value PartB-2 (2 points): Use the model above to compare TWO customers Jack and Jill. Jack spends $2000 annually (note: X1 for Jack = 2) and HAS the Simmons card (X2 = 1). Jill spends $4000 annually (X1 = 4) and does NOT have the Simmons card (X2 = 0). Who is more likely to use the coupon? (Hint: A complete answer must evaluate their probabilities for response). Probability of Response Jack Jill XXXX is more likely to respond because... PartB-3 (1 point): If you were to ROLL OUT the logistic regression model to PREDICT coupon usage for a LARGE database of customers, what CUTOFF probability will you choose? (Hint: No right or wrong answer here, but a concept such as a CONFUSION MATRIX may help make your call for cutoff probability). The Rules are as stated by the decision tree. WHICH CHURN SEGMENT DO YOU RECOMMEND FOCUSING ON? WHY? Finally, in appendices for PART A, place Jupyter notebooks Parts A.2 and A.3. Appendix A.2: Decision Tree cross validation notebook: construct this notebook by combining ideas from Churn_Telco and Iris practice_crossval notebooks. Appendix A.3: Logistic regression cross validation notebook: construct this notebook by combining ideas from Churn_Telco, WBCD and Iris_practice_crossval notebooks. NOTE: The data set used for logistic regression is STILL the Telco churn dataset. Page < 3 of 5 C | ZOOM + Hints for writing a good report for Part A: The report for PART A does not have to be long (no more than 5 pages), but should be super-clear. Imagine you are presenting the report to senior management. Here are some suggestions: Part A.1: Describe the numbers below in a table: Decision Tree Cross-validation Fold Fold 1 Fold 2 Fold 3 Fold 4 Fold 5 Fold 6 Fold 7 Fold 8 Fold 9 Fold 10 Average Error % Std. Dev. Error % See IRIS PRACTICE CROSSVAL Jupyter notebook in Module 6 for how to create a 10-fold cross-validation (that notebook shows you a 5-fold). Next place Part A.4 (not parts A.2, A.3): Y N Logistic Regression $ Benefit $ cost Churn segment 1... Churn segment 2... n $ cost $ benefit Write a few sentences supporting the $benefit/cost numbers. How did you come up with these numbers? Next place Part A.5 (not parts A.2, A.3): RULES for identifying Description in words Page 2 of 5 C | ZOOM + DATA SCIENCE: Machine Learning TEAM PROJECT This programming assignment contains 2 independent parts, creatively called Part A and Part B ) PART A (telco churn analysis): (10 points) For this part of the project, you will analyze the TelCo CHURN data set. Divide the entire data set into training and test sets (the test set should be 25% of the original data set). PART A Deliverable: Apply 10-fold cross-validation to build TWO distinct models to predict customer CHURN. The two techniques are a) Decision Trees and b) Logistic Regression. Use the best combination of predictor variables for this purpose (ok to use the variables in the Lab notebook for Decision trees). There are 5 parts to PART A of your submission: A.1: For both Decision Trees and Logistic Regression, report the accuracy for the 10 fold Also, compute the VERAGE accuracy across folds as well as the STANDARD DEVIATION of accuracy across the 10 folds. Which technique (LR or Trees) has a higher average accuracy? (2 points) A.2: Accurate Jupyter notebook pdf in Appendix A.2 of your Decision Tree cross validation code (2 points) A.3: Accurate Jupyter notebook pdf in Appendix A.3 of your Logistic Regression cross validation code (2 points) A.4: Consider the 4 cells (p, Y), (p, N), (n, Y) and (n, N) (see chapter on confusion matrix from Provost book). For each of these cells come up with a BENEFIT/COST for every customer that falls into the cell. There is no right or wrong answer here, but this has NOTHING to do with parts A.1,A.2,A.3 above. This is based upon a BUSINESS understanding of the costs/benefits of misclassification. State your rationale for the numbers you provide (2 points). A.5: Look carefully at ALL the predicted "CHURN/LEAVE" node-leafs of your decision tree. As a business manager, describe each churning segment in words. Recommend ONE choice of CHURN segment where you will focus your resources to reduce churn. Why did you pick this one segment from all the available alternatives? (2 points) TOTAL for PART A: 10 points. 1 Page 1 of 5 C | ZOOM +

Step by Step Solution

3.36 Rating (168 Votes )

There are 3 Steps involved in it

Step: 1

R Code The following R code should produce the same results data1Y... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Databases questions

Question

=+c) Calculate the lower control limit of the p chart.

Answered: 1 week ago

Question

What are the 5 Cs of credit? List and describe each of them.

Answered: 1 week ago