Hello,
I have a question about this line in the code: ix = tf.argsort(my_predictions, direction=‘DESCENDING’)
Not sure how the function sorted the indices in the m_predictions array. It seemed that for 5 star ratings, it gave random order to the indices. I would have expected the order to be like this: [2700,1150,929,793,622,366,246]
I tried the function on a smaller array but it seems that for similar values in the array, it sorts them in an ascending order towards the end of the result array. I am a little confused on how tf.argsort(my_predictions, direction=‘DESCENDING’) work.
Thanks