1. Nearest Neighbor Methods (9 Points): This question is on Nearest Neighbor Methods (a) (2 points) Nearest Neighbor Reg

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

1. Nearest Neighbor Methods (9 Points): This question is on Nearest Neighbor Methods (a) (2 points) Nearest Neighbor Reg

Post by answerhappygod »

1. Nearest Neighbor Methods (9 Points): This question is on
Nearest Neighbor Methods
(a) (2 points) Nearest Neighbor Regression: In class, we looked
at k-Nearest Neighbor Classification. Can you extend this to
regression? What will the algorithm look like if we do Nearest
Neighbor Regression? Does it make sense to do regression with
nearest neighbors?
(b) (2 points) Irrelevant Attributes: Please give an example of
a dataset where a nearest neighbor algorithm would perform very
poorly when we have irrelevant features.
(c) Implementation (5 points): Implement a k-Nearest Neighbor
Algorithm from scratch on the dataset considered in the demo.
Compare your results with what we obtained in the demo using
sklearn. The link to the demo we did in class is
https://drive.google.com/drive/u/0/fold ... juUpN4p9OD.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply