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?
Read DetailsLesson 1 Blessing and Curse of Dimensionality Consider two…
Lesson 1 Blessing and Curse of Dimensionality Consider two points a = 0 and b = 1 that exist in spaces with different dimensions d ∈ [2, 8, 32, 128] (e.g. if d = 2 then a = [0, 0]). The blessing of dimensionality refers to the fact that distance between points a and b:
Read Details