Figure 5: Training Dataset for Car Type Instance Work…
Figure 5: Training Dataset for Car Type Instance Work Years College Years Car Type 1 4 5.5 Sports 2 5 3 Luxury 3 4 3.5 Family 4 3.5 4.5 Hybrid 5 5 4 Sports 6 1 4 Luxury 7 4 6 Family 8 6 4 Hybrid 9 3 3 Sports 10 4.5 4 Luxury 11 3 2 Family 12 4 2 Hybrid Review the table labeled Figure 5: Training Dataset for Car Type. You decide to use the K-Nearest Neighbors (KNN) model on the dataset to predict car type. Your friend worked for 4 years and attended college for 4 years. If K is set to 7 and the model uses Euclidean distance, which car type will be predicted for your friend?
Read Details