> the norm from which it is derived is called norm-1, or L1; the usual > > euclidean distance is derived from norm-2.
> If you only want to see if two things are "close enough", this provides a > faster measure than the euclidean distance. thanks Gabriel for the detailed explanation.. if i were to calculate the euclidean distance in the above example how should i go about it..? should i replace distance = abs(input_wk - weights[image, :]) with something else? thanks again oharry -- http://mail.python.org/mailman/listinfo/python-list