Advantages And Disadvantages of KNN

Anuuz Soni
1 min readJul 3, 2020

--

Advantages:-

  1. No Training Period- KNN modeling does not include training period as the data itself is a model which will be the reference for future prediction and because of this it is very time efficient in term of improvising for a random modeling on the available data.
  2. Easy Implementation- KNN is very easy to implement as the only thing to be calculated is the distance between different points on the basis of data of different features and this distance can easily be calculated using distance formula such as- Euclidian or Manhattan
  3. As there is no training period thus new data can be added at any time since it wont affect the model.

Disadvantages:-

  1. Does not work well with large dataset as calculating distances between each data instance would be very costly.
  2. Does not work well with high dimensionality as this will complicate the distance calculating process to calculate distance for each dimension.
  3. Sensitive to noisy and missing data
  4. Feature Scaling- Data in all the dimension should be scaled (normalized and standardized) properly .

--

--