k-NN Classification

Implement a k-nearest neighbors classifier.

Classify points based on nearest neighbors and compute accuracy.

Getting Started

Log into cs50.dev using your GitHub account and click Authorize cs50, then close the tab.

How to check / Cách kiểm tra

Chạy:

check50 --local uet36/problems/2025/ai/knn

How to submit / Cách nộp

Chạy:

submit50 --local uet36/problems/2025/ai/knn