The k-winner machine model