kNN
Machine Learning

k-Nearest Neighbors(kNN)

k-Nearest Neighbors(kNN) Pros: High accuracy, insensitive to outliers, no assumptions about data Cons: Computationally expensive, requires a lot of memory Works with: Numeric values, nominal values We have an existing set of example data, our training set. We have labels for all of this data—we know what class each piece of the data should fall into. When we’re given a…

Continue Reading