Supervised Learning - Classification Week 8 Challenge
Q2.
Advantages of KNN
- 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.
- 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
Disadvantages:-
- Does not work well with large dataset as calculating distances between each data instance would be very costly.
- Does not work well with high dimensionality as this will complicate the distance calculating process to calculate distance for each dimension.
- Sensitive to noisy and missing data
- Feature Scaling- Data in all the dimension should be scaled (normalized and standardized) properly .