Worksheet 26: Nearest Neighbors#
Your name:
Your student ID number:
Your high school friend has just moved to the bay area. Your roommate wants you to set them up on a date. How do you decide if they will be compatible?
What would your
-nearest-neigbhor prediction be for the point be? What would your -nearest-neighbor prediction be?
{width=”5cm”}
What do you notice about the
-nearest neighbor model prediction as increases? Do you see a disadvantage to taking too small? Do you see a disadvantage to taking too large?Assume that only one example data point has features
. If , what will be?Brainstorm as many advantages and disadvantages as you can for using
-nearest neighbors vs. linear regression.