The composed document representations can be naturally regarded as features of documents for sentiment classification without feature engineering.
we first add a linear layer to transform document vector to real-valued vector whose length is class number C. Afterwards, we add a sof tmax layer to convert real values to conditional probabilities, which is calculated as follows.