In the video lectures, we were told to find the minimum distance between pixels. But here we have the image itself. How do I get the values then?
Pixel values for each image
hi Divij;
i am assuming u are using knn
in this challenge we have 28*28 = 784 dimension(assumning) ;
then in each dimension we will try to calculate each pixel position distance from each pokemon classification.
so here we are trying to predict the pokemon closest to our picture.
imagine an image as a 784 dimension graph and try finding distance to that point.
then using that distance try to classify it
distance tells how closely image is related to that pokemon.