Question: Consider data (0, 0, +1),(0, 1, +1),(5, 5, 1) (in 2-D), where the first two entries are x1, x2 and the third is y. (a)

Consider data (0, 0, +1),(0, 1, +1),(5, 5, 1) (in 2-D), where the first two entries are x1, x2 and the third is y. (a) Implement the nearest neighbor method on the raw data and show the decision regions of the final hypothesis. (b) Transform to whitened coordinates and run the nearest neighbor rule, showing the final hypothesis in the original space. (c) Use principal components analysis and reduce the data to 1 dimension for your nearest neighbor classifier. Again, show the decision regions of the final hypothesis in the original space.

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 Mathematics Questions!