Skip to content

Glossary: Linear Algebra for ML

argsort

Also written: .argsort()

An array method that gives the positions that would sort the array from smallest to largest. Reversed with `[::-1]`, it ranks items from highest to lowest.

Where the book teaches it

Related terms

Fancy indexing