Text emotion recognition method based on maximum probability filling and multi-head attention mechanism
A technology with maximum probability and attention, applied in character and pattern recognition, neural learning methods, computer components, etc., can solve problems such as data sparseness and semantic confusion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0054] Below in conjunction with specific embodiments, the present invention will be further illustrated, and it should be understood that these embodiments are only used to illustrate the present invention and not to limit the scope of the present invention. The modifications all fall within the scope defined by the appended claims of this application.
[0055] like figure 1 As shown, the text sentiment classification method based on LDA maximum probability filling and multi-head attention mechanism includes the following steps:
[0056] Step S10: Acquire a text data set, and perform text preprocessing. The data set is divided into three parts: training set, validation set and test set according to the ratio of 8:1:1. Each document has a corresponding sentiment polarity label: 0 or 1, representing positive sentiment and negative sentiment, respectively; positive and negative The samples are evenly distributed. Text preprocessing can make the text conform to the input forma...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


