david-cortes / contextualbandits

Python implementations of contextual bandits algorithms
http://contextual-bandits.readthedocs.io
BSD 2-Clause "Simplified" License
750 stars 148 forks source link

topN result in ascending order #75

Closed VJvR closed 3 weeks ago

VJvR commented 3 weeks ago

Should the result in this line not be reversed, since np.argsort() returns indices of values sorted in ascending order?

david-cortes commented 3 weeks ago

Thanks, should be fixed now.