Challenge

Supervised Learning - Classification Week 8 Challenge

Question No:-1 What are the pros and cons of knn

Pros:

  • It is a simple Machine Learning algorithm and easy to understand.
  • kNN can be used for classification and regression.
  • It can be used for multi-class problem.
  • It provides a variety of distance criteria to choose from: Euclidean Distance Hamming Distance Manhattan Distance Minkowski Distance
  • Cons:
  • It is difficult to choose the optimal number of neighbors to be consider while classifying the new data entry.
  • K-NN inherently has no capability of dealing with missing value problem.
  • k Nearest Neighbor has calculate the proximity between each neighbors for every single value in the dataset. For large daasets its computation cost increases.
Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.