So, I have a thing to do, but i need an advice how to do that. My data points is: 1,2,9,6,4 and I need to compute distance between clusters. I need to you Euclidean distance.
My answer was: {1,1} = 0. {1,2}=1 , {1,9} = 8. Am i doing correct or not?
So, I have a thing to do, but i need an advice how to do that. My data points is: 1,2,9,6,4 and I need to compute distance between clusters. I need to you Euclidean distance.
My answer was: {1,1} = 0. {1,2}=1 , {1,9} = 8. Am i doing correct or not?
So you have 5 data points, right?
the formulas should be this:
square root of ((1-1)²) = 0
square root of ((1-2)²) = 1
square root of ((1-9)²) = 8
...so yeah, you're right.