Challenge

Supervised Learning - Classification Week 8 Challenge

Ans 2. Pros:

a) Simple to implement.

b) KNN can be used for classification, regression, and feature selection tasks.

c) KNN can handle non-linear relationships between features.

Cons:

a) KNN can be computationally expensive, especially for large datasets.

b) The choice of k (number of nearest neighbors) significantly affects the algorithm's performance.

c) KNN is sensitive to feature scaling, and standardization/normalization may be necessary.

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.