The invention discloses a short text
sentiment analysis method based on a sum product network depth autocoder. The method comprises the following steps of 1, preprocessing short text data; 2, utilizing a doc2vec model to
train sentence vectors; 3, utilizing the sum product network depth coder to code the
sentence vectors, and obtaining layered abstract characteristics of the
sentence vectors; 4, utilizing a maximum product network depth decoder to decode the layered abstract characteristics, comparing the decoded characteristics with the primary sentence vector characteristics, calculating a
reconstruction error, adjusting parameters of the sum product network depth autocoder to make the
reconstruction error smallest, obtaining an optimal sum product network depth coder, and obtaining an optimal layered abstract characteristic by the optimal sum product network depth coder; 5, utilizing the optimal layered abstract characteristic to conduct online
structure learning to generate a sum product
network structure, using a small amount of short text data with tags to finely adjust a sum product network, using an online
parameter learning algorithm to continuously adjust network parameters, inputting a
test set, and obtaining sentiment classifications through the trained sum product network.