[D] What's the mathematical notation for "top k argmax"? Submitted by fullgoopy_alchemist t3_11po6qw on March 12, 2023 at 8:00 PM in MachineLearning 9 comments 7
Philiatrist t1_jbyyqo8 wrote on March 12, 2023 at 8:26 PM There’s not a pretty way that I know of. You just could do: {i | a_i in topk(A, 5)} where topk is defined topk(A, 1) = {max(A)} topk(A, i + 1) = {max(A \ topk(A, i))} U topk(A, i) You can modify the first expression to deal with duplicates. Permalink −1−
Viewing a single comment thread. View all comments