Machine Learning: K-Nearest Neighbors
Machine Learning: K-Nearest Neighbors
Machine Learning: K-Nearest Neighbors
ashishmahajan231191@gmail.com
P8NSODJM5T
K-Nearest Neighbors
Proprietary content.
This ©Greatfor
file is meant Learning. All use
personal Rights
byReserved. Unauthorized use or distribution
ashishmahajan231191@gmail.com prohibited
only.
Sharing or publishing the contents in part or full is liable for legal action.
K-Nearest Neighbors
ashishmahajan231191@gmail.com
P8NSODJM5T
• Minkowski distance
• Mahalanobis distance
• Cosine similarity
• Very effective when we have large data points but still not too many
dimensions
ashishmahajan231191@gmail.com
P8NSODJM5T
• Advantages
• Does not output any models. Calculates distances for every new point
(lazy learner)
• Computationally intensive