Method for predicting multiple criminal names by using sequence generation network based on multilayer attention
A technology of sequence generation and attention, applied in biological neural network models, neural learning methods, special data processing applications, etc., can solve problems such as large distance between relevant information and required information, loss of key information, and inability to connect relevant information. , to achieve the effect of improving modeling ability and forecasting effect, and strengthening information flow
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0109] A method for multi-crime prediction using a multi-layer attention-based sequence generation network, such as figure 2 shown, including the following steps:
[0110] (1) Data preprocessing:
[0111] Because the data set is the original data set and does not meet the input requirements of the model, the data needs to be preprocessed. Screen the original data, the original data is the judgment document, extract the description of the criminal facts contained in the judgment document using the method of regular expression matching, and perform Chinese word segmentation to obtain all the data sets of the judgment document; After the data set is scrambled, it is divided into several parts, set as N, N-1 as the training data set, and the remaining 1 as the test data set;
[0112] (2) Training word vectors to obtain semantic information, semantic information refers to word vectors:
[0113] Input the training data set that above-mentioned step (1) obtains into skipgram neur...
Embodiment 2
[0124] According to a method of multi-crime prediction using a multi-layer attention-based sequence generation network described in Embodiment 1, the difference is that:
[0125] After step (3), extract legal articles, including: first, use the article extractor to select the first k legal articles, and then obtain the feature vectors of the k legal articles to represent semantic information, and send the feature vectors to the attention mechanism middle.
[0126] The legal article extraction part is set according to the content of the data set. As mentioned in the later experiments, the CJO data set contains legal information, and the legal article extraction module can be added. There is no legal information in the CAIL data set, and the legal article extraction is not added to the model. part;
[0127] The present invention also adds a section for extracting legal articles, using the information of legal articles in the data as an auxiliary means to predict related crimes....
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