Lesson 1 k-Nearest Neighbors   Let assume that a dataset con…

Lesson 1 k-Nearest Neighbors   Let assume that a dataset consists of 4 data points. The followings are the coordinates and the label of each data point:   Point A: (2, 4) / class 0 Point B: (0, 0) / class 1 Point C: (-1, 3) / class 0 Point D: (3, 2) / class 1   If you train a 1-NN model on this dataset, what would be the prediction for Point B?

Lesson 1 One-hot Encoding   Let’s predict the grade of this…

Lesson 1 One-hot Encoding   Let’s predict the grade of this course using the following features:   – Class section (categorical): 4745, 6745-Q, or 6745-AQ – Midterm score (numerical): 0-100 – Project group (categorical): Group 1, 2, 3, 4, 5, 6, 7, and 8 – Final exam score (numerical): 0-100   After applying one-hot encoding to all categorical features, the total number of features will be