Nearest Neighbors


Work with your assigned partner to write a Python script to fit two k-nearest neighbors models.


  1. Fit a k-nearest neighbors model to this data set.
  2. Measure the F1 score of the model.
  3. Fit a second k-nearest neighbors model to the same data set with noisy columns added.
  4. How was accuracy impacted?



This page was last modified on 2026-08-19 at 20:15:10.

Copyright © 2018–2026 George Fox University. All rights reserved.