Question: In the Excel solution file accompanying this chapter, a data set on hairdresser customers is included (sheet named P- 12- 10- Data). The data contain
In the Excel solution file accompanying this chapter, a data set on hairdresser customers is included (sheet named P- 12- 10- Data). The data contain information about the various characteristics of existing customers and whether they responded positively to a previously given offer (Yes/ No). The hairdresser now has information about five new customers and wants your help in determining which of these new customers are likely to respond “Yes” to a similar offer. Use the k- nearest neighbor algorithm (with k=3 and a threshold of 0.5) to classify these five new customers. Also assess the performance of your classification results using the metrics described in the chapter.
Information about new customers that should be classified into yes/no Customer # 1 Hair cuts/yr 6 Age 25 2851 3 4 2 65 52 Distance city (km) 5.80 16.05 2.14 +520 5 15 79 26 12 16 0.60 0.75
Step by Step Solution
3.46 Rating (153 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
