---
title: "Discussion on \"K-nearest neighbors\" | Hashnode"
description: "Discussion on \"K-nearest neighbors\". KNN (K-Nearest Neighbors) algorithm is a machine learning algorithm used for both classification and regression tasks. It is a non-parametric and lazy learning algorithm, which means it doesn't make any assumptions about the underlying distribution o..."
url: "https://hashnode.com/posts/k-nearest-neighbors/63f3372073b3ad2af6ada9a3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [K-nearest neighbors](https://learningmachine.hashnode.dev/k-nearest-neighbors?utm_source=hashnode&utm_medium=feed)

KNN (K-Nearest Neighbors) algorithm is a machine learning algorithm used for both classification and regression tasks. It is a non-parametric and lazy learning algorithm, which means it doesn't make any assumptions about the underlying distribution o...

Feb 20, 2023 · 2 min read · learningmachine.hashnode.dev  
Read the article

-   [#knn](https://hashnode.com/tag/knn)
-   [#k-nearest-neighbors](https://hashnode.com/tag/k-nearest-neighbors)
-   [#non-parametric](https://hashnode.com/tag/non-parametric)
-   [#lazy-learning](https://hashnode.com/tag/lazy-learning)

## Written by

[learning machine](https://hashnode.com/@diorates)

@diorates

  
[View profile](https://hashnode.com/@diorates)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
