Question



kNN Calculated Proportions

Dr. Ballings,

Once we have calculated the proportion of a churn happening for each instance of the new data, is it fine if we simply tack this proportion
on to the end of the data frame to a column called 'churn '?

Or do you actually want a 0 or 1. I ask because I tried changing the value of k to a 6 and found some proportions at .50.

Thanks,
Michael





Answers and follow-up questions





Answer or follow-up question 1

Dear Michael,

Yes. The proportions equal the probabilities (scores) in KNN.

We always want the scores and never the labels.

Why? Scores contain more information.

Michel Ballings



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