You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Here K=1, That is we are checking only for one nearest neighbour in the data set and assigning the label same as that nearest neighbour
# We can optimize by increasing the K, that is we will check for K nearest neighbours and assign label on the basis of majority in the labels of K nearest neighbours