Hello,
I was looking at the correction of the exercise 4 question 3 and even after looking at the documentation I still can't get my head around these two lines :
indices = accumulator_array.ravel().argsort()[-top_k:]
top_k_points = list((np.unravel_index(i, accumulator_array.shape) for i in indices))
I understand what they do but I don't understand how: why is there a minus sign in front of the top_k? What exactly does the function np.unravel_index() do?
Have a great sunday!
Martin