Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 2.24 KB

README.md

File metadata and controls

25 lines (16 loc) · 2.24 KB

KNN_for_Classification-7.2


KNN_for_Regression & Classification

Tech Used

Pandas NumPy

The Process of KNN Model:

  • Step 1: Select the number K of the neighbors
  • Step 2:Calculate the Euclidean distance of K number of neighbors
  • step-3:Take the K nearest neighbors as per the calculated Euclidean distance
    -step-4:Among these k neighbors, count the number of the data points in each category.

Follow me

Links