We have read about K NN algorithm
Now lets see how to apply it with the help of Iris’s example.
Thus by giving any sample as input our machine can predict the Species by scanning ‘k’ (here we have taken 5) nearest neighbors.
- For complete Iris Data Analysis:
- Video Tutorial: