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
Get step-by-step solutions from verified subject matter experts
