JohnLangford/vowpal_wabbit — pull request #188 by petricek (2013-11-10 06:49:54+00:00)
Title: topk reduction

Zhen has written a generic --topk reduction that looks good to me. What do you think?

Priority queue could be replaced by the possibly faster sorted array you suggested earlier.
recommend.cc could get simpler and use this reduction once the new matrix factorization as a reduction code is merged in.