Please tell which csv data is to be taken in K-Nearest Neighbours implementation video.
Doubt in K-Nearest Neighbours
Hey @abhaygarg2001, you can generate your own dataset using these commands :
from sklearn.datasets import make_blobs
X,y = make_blobs(n_samples=1000, centers=5)
print (X.shape, y.shape)
and to visulaise the spread you can use:
plt.scatter(X[:,0],X[:,1])
Hope this helps. If it does please mark the doubt resolved.
Happy Learning 