Question



kNN in class dependent variable

Dr. Ballings,

In class we went over kNN on a data set with the variables: TotalDiscount, TotalPrice, TotalCredit, PaymentType_DD,
PaymentStatus_Not.Paid, Frequency, and Recency.

What was our dependent variable? We took:

predKNN <- as.integer(as.character(yTRAINbig[indicatorsKNN]))

Thanks,
Michael





Answers and follow-up questions





Answer or follow-up question 1

Dear Michael,

The dependent variable (yTRAINbig) is churn: will a customer stay a customer or not in the future.

Michel Ballings



Sign in to be able to add an answer or mark this question as resolved.