This time, however, we carefully select |A|/L documents from each newsgroup rather than randomly choosing 500/L of them.
for each test example (document) X ∈ A, we add a similar training example X into A , chosen as follows: We associate each test example X to the most similar of the L training newsgroups, under a constraint that only |A|/L training examples may be associated to each newsgroup.