Question: We are given a python file which loops through each dimension D = [1, 2, 5, 10, 20, 50, 200, 1000], and creates a data

 We are given a python file which loops through each dimension

We are given a python file which loops through each dimension D = [1, 2, 5, 10, 20, 50, 200, 1000], and creates a data set using the following command:

X, y = make_blobs(n_samples=n_points, centers=6, n_features=D, cluster_std=5, random_state=42)

The script then splits the data and evaluates it with KNN producing the image above.

The question asked is then: WHY does the accuracy here (monotonically) increase as the number of dimensions D increases? This seems unintuitive and against the curse of dimensionality discussed in class.

Figure 1: k-NN accuracy increases as the number of dimension increases Question: WHY does the accuracy here (monotonically) increase as the number of dimensions D increases? This seems unintuitive and against the "curse of dimensionality" discussed in class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!