Policy text classification method based on machine learning
A text classification and machine learning technology, applied in machine learning, neural learning methods, instruments, etc., can solve problems such as unguaranteed accuracy and inapplicability to changing scenarios, and achieve the effect of ensuring accuracy and intelligent policy classification
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] Such as figure 1 As shown, the present embodiment provides a policy text classification method based on machine learning, and the method includes the following steps:
[0057] S1), label the prepared data according to policy alerts, policies and regulations, declaration notices, policy announcements, policy activities, policy interpretations, and single-text labels;
[0058] S2), using the data of each category as a training data set, and randomly dividing it into 80% training set, 15% test set and 5% evaluation set;
[0059] S3), giving the title of the policy a weight of 0.7 and a content weight of 0.3, merging them into text, and converting the text into a vector;
[0060] S4), choose the CNN algorithm as the basic algorithm, add policy dimension function, weight factor, configure 100 layers, batch 100, learning rate 2e-5, model save interval 500 input word vector sequence, generate a feature map, use The maximum pooling operation in the time dimension obtains the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

