in reply to Sorting Index of An Array
Unless I'm being dense (quite possible), I think that you are going to have to explain what you mean by
... the index is sorted decreasingly according to similarity value in @sim.
because I can see no corrolation between the values in those two arrays?
The identical values (1.0) along the main (tl/br) diagonal are mapped to 5 different values (0,1,2,5,8) in the result? You have 9 "indexes" (0..8) in the result, and there are 9 unique values in the input which seems to indicate something, but how the same value in the input results in different indexes in the output completely eludes me.
I'm guessing that the "according to similarity value" is the key, but it's going right over my head at the moment?
|
---|