Hi all,
The Euclidean distance matrix could be obtained by using
Whereas, how can I calculate the normalized Euclidean distance according to the formula below?

This formula is coming from the paper http://www.public.asu.edu/~huanliu/p...pakdd00clu.pdf page 4.
The tricky thing is the difference between two observations at a variable k is divided by the maxk - mink value of that variable k before calculating the distance.
Thank you so much for helping!
Best regards,
Jack
The Euclidean distance matrix could be obtained by using
Code:
use http://www.stata-press.com/data/r10/iris.dta,clear matrix diss D = seplen sepwid petlen petwid, L2
This formula is coming from the paper http://www.public.asu.edu/~huanliu/p...pakdd00clu.pdf page 4.
The tricky thing is the difference between two observations at a variable k is divided by the maxk - mink value of that variable k before calculating the distance.
Thank you so much for helping!
Best regards,
Jack
Comment