Once we learn a PCA projection matrix Π, we use it in both training and test times to obtain a dense feature vector of a bag-of-words sentence representation.
if x is the original bag-ofwords sentence vector, the new representation is given by where ⊕ is the vector concatenation operation.