Method for analyzing and predicting online public opinion based on LDA topic models
A topic model and predictive network technology, which is applied in network data retrieval, website content management, natural language data processing, etc., can solve the problems of not using the document generation time, and the model can not reflect the change trend of documents, topics, words, etc. , to achieve the effect of convenient subdivision and strong practicability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0032] A method of analyzing and predicting network public opinion based on the LDA topic model of the present invention, based on the LDA topic model of time information, obtains the training results on different time slices, so as to realize the dynamic analysis and prediction function of network public opinion; the steps are as follows:
[0033] First, according to the time information of the LDA topic model, the documents in the corpus are discretized into the corresponding time window on the time series, and the matrix is processed in parallel by using the distributed cloud computing architecture to process the corpus;
[0034] Then process the document collection on each time window sequentially to obtain the training results on different time slices, and use the training results of the previous corpus as the prior parameters in the subsequent corpus training process;
[0035] Finally, from the training results, the trend of the strength of each LDA topic model over tim...
Embodiment 2
[0037] A method of analyzing and predicting network public opinion based on the LDA topic model of the present invention, based on the LDA topic model of time information, obtains training results on different time slices, so as to realize the dynamic analysis and prediction function of network public opinion; different time in the corpus The order of the documents in the segment is affected. According to the Markov principle, each state s in the random state t , only with its previous state s t-1 are directly related to:
[0038] P(s t |s 1 ,s 2 ,s 3 ,...,s t-1 ) = P(s t |s t-1 );
[0039] The concrete steps of described method are as follows:
[0040] Step 1: Segment the acquired corpus by time slice D 1 ,D 2 ,D 3 ,...,D T ;
[0041] The second step: in the corpus D t Perform LDA modeling on the above to get the doc-topic matrix θ t,m with topic-word matrix to theta t,m Take the mean value of the columns, and get the vector α t ;
[0042] The third step:...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com