Re-crime risk prediction method based on reinforcement learning, medium and computing device
A technology of risk prediction and reinforcement learning, applied in the field of re-crime risk prediction based on reinforcement learning, can solve problems such as difficult re-crime prediction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0086] This embodiment discloses a method for predicting the risk of recidivism based on reinforcement learning. This method can target relevant personnel with criminal history and then predict criminal behavior, so as to be able to conduct targeted monitoring and intervention for these personnel to reduce The impact of re-crime on society. The steps of the re-crime risk prediction method in this embodiment are as follows figure 1 As shown in, including:
[0087] S1. Obtain training samples to form a training sample set; training samples include persons with criminal records and re-criminal behaviors and persons with criminal records and no re-criminal behaviors.
[0088] As shown in Table 1, suppose the following training samples are included in the training sample set, and the data of each training sample is as follows:
[0089] Table 1
[0090] Numbering gender age Type of crime Whether to commit a crime again a1 male19 violence Yes a2 male27 theft no a3 male45 robbery Yes a...
Embodiment 2
[0203] The storage medium includes a processor and a memory for storing an executable program for the processor, wherein the processor executes the program stored in the memory to implement the recidivism risk based on reinforcement learning described in Embodiment 1. The forecast method is as follows:
[0204] Obtain training samples to form a training sample set; training samples include persons with criminal records and re-criminal behaviors and persons with criminal records and no re-criminal behaviors;
[0205] According to the continuous attribute and sub-type attribute of each training sample in the training sample set, cluster each training sample, define the number of clusters obtained as N, and N is a constant, that is, all training samples in the training sample set are clustered as N class;
[0206] For the N classes obtained by clustering, construct corresponding N neural networks respectively;
[0207] Input the continuous attribute of each training sample and the sub-t...
Embodiment 3
[0212] This embodiment discloses a computing device that stores a program, and when the program is executed by a processor, the method for re-crime risk prediction based on reinforcement learning described in Embodiment 1 is implemented as follows:
[0213] Obtain training samples to form a training sample set; training samples include persons with criminal records and re-criminal acts and persons with criminal records and no re-criminal acts;
[0214] According to the continuous attribute and sub-type attribute of each training sample in the training sample set, cluster each training sample, define the number of clusters obtained as N, and N is a constant, that is, all training samples in the training sample set are clustered as N class;
[0215] For the N classes obtained by clustering, construct corresponding N neural networks;
[0216] Input the continuous attribute of each training sample and the sub-type attribute after one-hot encoding into the neural network corresponding to t...
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