Regional risk level assessment method, device, computer equipment and storage medium

By training the risk rating model with multi-modal heterogeneous algorithms and combining it with the analytic hierarchy process, it solves the problems of low efficiency and low accuracy in regional risk assessment in the existing technology, and achieves a more accurate risk level assessment.

CN113298438BActive Publication Date: 2024-09-17CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110694076.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-22
Publication Date
2024-09-17
Estimated Expiration
2041-06-22

AI Technical Summary

Technical Problem

The lack of effective regional risk assessment methods in the existing technology results in low efficiency and low accuracy in risk level assessment, making it difficult to accurately grasp the applicable situation of risk assessment.

Method used

Multi-modal heterogeneous algorithms are used to train the risk rating model. By initializing and dividing the indicator data in the target area, categorical features and continuous feature data are input into the corresponding sub-models respectively, and weighted summation is performed in combination with the analytic hierarchy process to prevent Model overfitting and improved estimation accuracy.

Benefits of technology

The efficiency and accuracy of regional risk assessment are improved, making the risk level assessment results more accurate and scientific.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113298438B
    Figure CN113298438B
Patent Text Reader

Abstract

The present application discloses a method, device, computer equipment and storage medium for evaluating regional risk levels, which can improve the accuracy of regional risk evaluation. The method includes: initializing the target area data to be evaluated for regional risk, obtaining the indicator data of each preset dimension, the indicator data including the first indicator data under the category feature and the second indicator data under the continuous feature; obtaining a risk rating model that meets the preset training standard based on multimodal heterogeneous algorithm training, the risk rating model including the category feature risk rating sub-model for identifying the first indicator data, and the continuous feature risk rating sub-model for identifying the second indicator data; inputting the first indicator data and the second indicator data into the category feature risk rating sub-model and the continuous feature risk rating sub-model respectively, obtaining the predicted probability that the target area belongs to different preset risk levels; determining the preset risk level with the highest corresponding predicted probability as the risk evaluation level of the target area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a method, device, computer equipment and storage medium for evaluating regional risk levels. Background Art

[0002] With the rapid development of artificial intelligence, the word "smart" is no longer just used to describe humans, but can also describe a city or a country. From government decision-making and services, to people's lifestyles of food, clothing, housing and transportation, to the city's industrial layout and planning, as well as the city's operation and management methods, all of these will move towards "smartness" under the support of artificial intelligence. The risk monitoring network of smart cities is an important construction for preventing urban risks. In the future, cities will carry more and more people. In order to ensure urban safety, building an urban risk monitoring network is a top priority. The occurrence of urban risk accidents is not an isolated incident, but the result of a series of events. From the natural environment, social environment, human shortcomings, unsafe behaviors of people to the unsafe state of things, accidents, and injuries, they are all linked together.

[0003] In the existing technology, there is no complete and reliable risk assessment method for regional risks, and risk assessment is relatively abstract. It is difficult for relevant departments to accurately grasp the applicability of risk assessment, which leads to low efficiency and accuracy in regional risk level assessment. Summary of the invention

[0004] In view of this, the present application provides a method, device, computer equipment and storage medium for evaluating regional risk levels, which can be used to solve the technical problems that currently occur when performing regional risk assessments, resulting in low efficiency and accuracy in regional risk level assessments.

[0005] According to one aspect of the present application, a method for assessing regional risk level is provided, the method comprising:

[0006] Initialize the target area data for regional risk assessment to obtain indicator data of each preset dimension, wherein the indicator data at least includes first indicator data under the category feature and second indicator data under the continuous feature;

[0007] A risk rating model that meets a preset training standard is obtained based on multimodal heterogeneous algorithm training, wherein the risk rating model includes a category feature risk rating sub-model applicable to the first indicator data identification, and a continuous feature risk rating sub-model applicable to the second indicator data identification;

[0008] Inputting the first indicator data and the second indicator data into the category feature risk rating sub-model and the continuous feature risk rating sub-model respectively, to obtain the predicted probability that the target area belongs to different preset risk levels;

[0009] The preset risk level corresponding to the highest prediction probability is determined as the risk assessment level of the target area.

[0010] According to another aspect of the present application, a device for evaluating regional risk level is provided, the device comprising:

[0011] A processing module, used for initializing the target area data for regional risk assessment to obtain indicator data of each preset dimension, wherein the indicator data at least includes first indicator data under the category feature and second indicator data under the continuous feature;

[0012] A training module, used for obtaining a risk rating model that meets a preset training standard based on multimodal heterogeneous algorithm training, wherein the risk rating model includes a category feature risk rating sub-model applicable to the first indicator data identification, and a continuous feature risk rating sub-model applicable to the second indicator data identification;

[0013] An input module, used to input the first indicator data and the second indicator data into the category feature risk rating sub-model and the continuous feature risk rating sub-model respectively, to obtain the predicted probability that the target area belongs to different preset risk levels;

[0014] The determination module is used to determine the preset risk level corresponding to the highest prediction probability as the risk assessment level of the target area.

[0015] According to another aspect of the present application, a non-volatile readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for assessing the regional risk level is implemented.

[0016] According to another aspect of the present application, a computer device is provided, comprising a non-volatile readable storage medium, a processor, and a computer program stored on the non-volatile readable storage medium and executable on the processor, wherein the processor implements the above-mentioned method for assessing regional risk levels when executing the program.

[0017] By means of the above technical scheme, the present application provides a method, device, computer equipment and storage medium for evaluating regional risk levels. Compared with the current regional risk level evaluation method, the present application can divide the target area to be risk evaluated into grids, determine each grid unit, and extract the indicator data of multiple preset dimensions in each grid unit. Based on a multimodal heterogeneous algorithm that can avoid overfitting, multiple category feature risk rating sub-models that can be used to identify category features in indicator data and continuous feature risk rating sub-models that can identify continuous features in indicator data are created and trained, and different algorithms are randomly selected when training different data batches, thereby effectively preventing the model from overfitting. For a new grid unit, the indicator data in the grid unit can first be divided into category features and continuous features, and then the category features and continuous features are respectively input into multiple models corresponding to the category feature risk rating sub-model and the continuous feature risk rating sub-model, and the predicted probability of the grid unit belonging to different risk levels is comprehensively obtained, and finally the risk rating with the largest predicted probability is used as the final risk assessment level of the grid. In this solution, by using indicator data of multiple dimensions including risk factors, favorable factors, vulnerability and prevention capabilities to conduct risk assessment, the risk of a region can be considered more comprehensively, making the calculation results more accurate. And through the hierarchical analysis method, the weighted sum of each risk factor is taken, and a scientific method is introduced to determine the weight. From this aspect, the calculation results will also be more accurate and reasonable. Therefore, through the technical solution in this application, the efficiency of regional risk assessment can be improved, and the assessment results of regional risk levels can be made more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the local application. In the drawings:

[0019] Figure 1 A schematic diagram of a flow chart of a method for evaluating regional risk level provided in an embodiment of the present application is shown;

[0020] Figure 2 A schematic diagram showing a flow chart of another method for evaluating regional risk level provided in an embodiment of the present application;

[0021] Figure 3 A schematic diagram of the structure of a device for evaluating regional risk level provided in an embodiment of the present application is shown;

[0022] Figure 4 A schematic diagram of the structure of another device for evaluating regional risk level provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0023] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0024] In view of the technical problems that the efficiency and accuracy of regional risk level assessment are low when conducting regional risk assessment, this application provides a method for assessing regional risk level, such as Figure 1 As shown, the method includes:

[0025] 101. Initialize the target area data for regional risk assessment to obtain indicator data of each preset dimension, where the indicator data at least includes first indicator data under category features and second indicator data under continuous features.

[0026] Among them, the target area data is the data extracted from the target area to be evaluated for regional risk. When extracting the target area data, multiple preset dimensions that affect the regional risk can be determined first. Specifically, data can be obtained from multiple dimensions such as risk factors, favorable factors, and prevention capabilities (such as regional GDP, supporting facilities, and medical level). In this solution, the following five dimensions of indicator data can be obtained: (1) Natural disaster data: earthquake data, typhoon data, mudslides, floods, etc.; (2) Human data: economy (GDP data), population (population density); (3) High-risk factors: quantitative data of chemical plants, hydropower stations, fireworks factories, etc.; (4) Favorable factors: quantitative data of fire stations, hospitals, and first aid stations; (5) Insurance data: target address, premium data, and compensation data; among them, natural disaster data includes the number and intensity of historical disasters in the region; in order to ensure the reference value of the preset dimension data, insurance data only counts the data of the last two years.

[0027] For this embodiment, in order to ensure the influence of the dimension of each indicator data, the initialization process may specifically include normalization processing, and the indicator data under each dimension are controlled within the preset value range through normalization processing, so as to facilitate the analysis and processing of the indicator data. After the normalization processing, the longitude and latitude coordinates of the indicator data carrying the location information (such as the target address of the insurance data, the target address of the natural disaster in the natural disaster data, etc.) can also be corrected. Correspondingly, due to the different data forms corresponding to the indicator data, it will have different effects on the classification, and may specifically include discrete data (such as discrete data such as the presence or absence and quantity of high-risk risk factors, favorable factors) and continuous data (such as continuous values ​​such as GDP data, population density data, premium data, and compensation data). Therefore, in this application, after the indicator data is normalized and the longitude and latitude coordinates are corrected, it is also necessary to divide the indicator data into category features and continuous features, and further divide the indicator data into the first indicator data under the category feature and the second indicator data under the continuous feature.

[0028] 102. A risk rating model that meets preset training standards is obtained based on multimodal heterogeneous algorithm training. The risk rating model includes a category feature risk rating sub-model suitable for first indicator data identification, and a continuous feature risk rating sub-model suitable for second indicator data identification.

[0029] For this embodiment, a risk rating model may be first constructed and trained. To facilitate accurate identification of different indicator data, the risk rating model may include a category feature risk rating sub-model applicable to the identification of the first indicator data, and a continuous feature risk rating sub-model applicable to the identification of the second indicator data. In a specific application scenario, the category feature risk rating sub-model and the continuous feature risk rating sub-model may be trained separately using sample label data, and then the trained category feature risk rating sub-model and the continuous feature risk rating sub-model may be used to comprehensively construct a risk rating model, so as to use the risk rating model to achieve risk accuracy assessment of target area data under different indicators.

[0030] 103. Input the first indicator data and the second indicator data into the category characteristic risk rating sub-model and the continuous characteristic risk rating sub-model respectively to obtain the predicted probability that the target area belongs to different preset risk levels.

[0031] Among them, the preset risk level can be specifically divided according to the actual application scenario. For example, the preset risk level can be divided into three evaluation levels of high risk, medium risk and low risk according to the severity. In addition, a more detailed division can be made, such as dividing the preset risk level into five levels of high risk, relatively high risk, medium risk, relatively low risk and low risk. According to the evaluation level setting of the preset risk level, the category feature risk rating submodel and the continuous feature risk rating submodel correspond to different output results. When the preset risk level corresponds to three evaluation levels, the output result of the risk rating model is a vector of length 3, which respectively represents the predicted probabilities belonging to 3 different preset risk levels; when the preset risk level corresponds to five evaluation levels, the output result of the risk rating model is a vector of length 5, which respectively represents the predicted probabilities belonging to 5 different preset risk levels. In this application, it is preferred to divide the preset risk level into five levels of high risk, relatively high risk, medium risk, relatively low risk and low risk.

[0032] In specific application scenarios, after the risk rating model training is completed, the indicator data can be further input into the risk rating model according to the indicator type, that is, the first indicator data and the second indicator data are respectively input into the category feature risk rating sub-model and the continuous feature risk rating sub-model, and each obtains the prediction results under the corresponding indicator data, and then the prediction results of the category features and the continuous features are added together to determine the prediction probability that the target area belongs to different preset risk levels.

[0033] For example, if the indicator data in the target area includes a, b, c, d, e, and f, the indicator data are further divided into first indicator data a, b, c, and d under category characteristics, and second indicator data e and f under continuous characteristics according to the indicator type. When evaluating the risk level of the target area, the first indicator data a, b, c, and d can be input into the category characteristic risk rating sub-model to obtain the first prediction probability that the target area belongs to different preset risk levels, and the second indicator data e and f can be input into the continuous characteristic risk rating sub-model to obtain the second prediction probability that the target area belongs to different preset risk levels. Then, the first prediction probability and the second prediction probability can be added together to calculate the final prediction probability that the target area belongs to different preset risk levels.

[0034] 104. The preset risk level corresponding to the highest predicted probability is determined as the risk assessment level of the target area.

[0035] For this embodiment, if the predicted probabilities of the target area belonging to different preset risk levels based on the risk assessment model are: high risk 40%, higher risk 10%, medium risk 20%, lower risk 15%, and low risk 15%, through comparative analysis, it can be determined that the predicted probability corresponding to high risk is the highest, so high risk can be determined as the risk assessment level of the target area.

[0036] According to the method for evaluating the regional risk level in this embodiment, the target area to be risk assessed can be divided into grids to determine each grid unit, and the indicator data of multiple preset dimensions in each grid unit can be extracted. Based on a multimodal heterogeneous algorithm that can avoid overfitting, multiple category feature risk rating sub-models that can be used to identify category features in indicator data and continuous feature risk rating sub-models that can identify continuous features in indicator data are created and trained, and different algorithms are randomly selected when training different data batches, thereby effectively preventing the model from overfitting. For a new grid unit, the indicator data in the grid unit can be first divided into category features and continuous features, and then the category features and continuous features are respectively input into multiple models corresponding to the category feature risk rating sub-model and the continuous feature risk rating sub-model, and the predicted probability of the grid unit belonging to different risk levels is comprehensively obtained, and finally the risk rating with the largest predicted probability is used as the final risk assessment level of the grid. In this scheme, by using indicator data including multiple dimensions such as risk factors, favorable factors, vulnerability and prevention capabilities for risk assessment, the risk of a region can be considered more comprehensively, making the calculation result more accurate. And through the hierarchical analysis method, the weighted sum of each risk factor is carried out, and a scientific method is introduced to determine the weight. From this aspect, the calculation result will be more accurate and reasonable. Therefore, through the technical solution in this application, the efficiency of regional risk assessment can be improved, and the assessment result of regional risk level can be made more accurate.

[0037] Further, as a refinement and extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, another method for evaluating the regional risk level is provided, such as Figure 2 As shown, the method includes:

[0038] 201. Perform grid division processing on the target area data in the target area to obtain a plurality of grid units of preset sizes, wherein the grid units contain grid data of various preset dimensions.

[0039] For this embodiment, after determining the target area, the target area can first be rasterized, and the target area can be divided into a number of grid units of preset sizes according to certain rules, so as to determine the risk level of each grid unit. For example, the risk of the area can be determined as high risk, relatively high risk, medium risk, relatively low risk, or low risk. Commonly used grid divisions include regional divisions based on roads and water systems, or standard rectangular divisions based on longitude and latitude. This proposal uses longitude and latitude to rasterize the area, with a resolution of 2 kilometers, that is, the target area is divided into 2*2 squares.

[0040] After determining each grid unit, the grid data in each grid unit can be further extracted. Specifically, data can be obtained from multiple dimensions such as risk factors, favorable factors, and prevention capabilities (such as regional GDP, supporting facilities, medical level, etc.). In this solution, the following five dimensions of indicator data can be obtained: (1) Natural disaster data: earthquake data, typhoon data, mudslides, floods, etc.; (2) Human data: economy (GDP data), population (population density); (3) High-risk factors: quantitative data of chemical plants, hydropower stations, fireworks factories, etc.; (4) Favorable factors: quantitative data of fire stations, hospitals, first aid stations, etc.; (5) Insurance data: target address, premium data, and compensation data; among them, natural disaster data includes the number and intensity of historical disasters in the region; in order to ensure the reference value of the preset dimension data, insurance data only counts the data of the last two years.

[0041] 202. Initialize each grid data to obtain first indicator data about the category feature and second indicator data about the continuous feature in each grid unit. The initialization process at least includes normalization, coordinate correction, and classification of the category feature and the continuous feature.

[0042] For this embodiment, after obtaining the raster data, the raster data may be normalized, the latitude and longitude coordinates may be corrected, and a series of processes such as the classification feature and the continuous feature may be performed. When performing the normalization process, this application may adopt a min-max standardized processing method, and the specific form is as follows:

[0043]

[0044] Where X min , X max They represent the maximum and minimum values ​​corresponding to the indicator data X respectively.

[0045] After normalization, the latitude and longitude coordinates of indicator data carrying location information (such as the target address of insurance data, the target address of natural disasters in natural disaster data, etc.) can be corrected. In a specific application scenario, in order to attribute the target address to the corresponding grid unit, it is necessary to obtain the latitude and longitude information of the target address. In a specific application scenario, an existing map navigation application can be used to parse the latitude and longitude information of the address. For the same address, different map navigation applications can be used to parse the target address separately, and then compare and select the latitude and longitude information with a finer resolution of the geographical level as the final latitude and longitude coordinates.

[0046] Correspondingly, due to the different data forms corresponding to the raster data, different effects will be exerted on the classification, which may specifically include discrete data (such as the presence or absence and quantity of high-risk risk factors and favorable factors) and continuous data (such as continuous values ​​such as GDP data, population density data, premium data, and compensation data). To ensure the accuracy of model recognition, in this application, after the raster data is normalized and the longitude and latitude coordinates are corrected, the raster data needs to be divided into category features and continuous features, and further divided to obtain the first indicator data under the category features and the second indicator data under the continuous features.

[0047] 203. The first risk rating sub-model and the second risk rating sub-model suitable for category feature identification are trained using the CART classification tree algorithm and the Naive Bayes algorithm respectively. The third risk rating sub-model and the fourth risk rating sub-model suitable for continuous feature identification are trained using the multinomial logistic regression model and the support vector machine algorithm respectively.

[0048] For this embodiment, it can be based on a multimodal heterogeneous algorithm, that is, for each indicator type, multiple optional identifiable risk rating sub-models are trained separately, and the final prediction result is determined by integrating the estimated results of multiple risk rating sub-models. In the present application, for category features, the first risk rating sub-model and the second risk rating sub-model can be trained based on the CART classification tree algorithm and the naive Bayes algorithm respectively, even if the category feature risk rating sub-model includes the first risk rating sub-model and the second risk rating sub-model; for continuous features, the third risk rating sub-model and the fourth risk rating sub-model can be trained based on the multinomial logistic regression model and the support vector machine algorithm respectively, even if the continuous feature risk rating sub-model includes the third risk rating sub-model and the fourth risk rating sub-model. In this embodiment, by setting multiple risk rating sub-models, and then integrating the output results of multiple risk rating sub-models to obtain the final risk assessment result, the accuracy of risk prediction can be guaranteed. It should be noted that in the present application, two risk rating sub-models can be trained for category features and continuous features respectively based on a multimodal heterogeneous algorithm. Those skilled in the art can easily imagine that one or more (more than two) risk rating sub-models can be trained simultaneously for each feature type, thereby achieving the technical effect of the present application or better than that of the present application. Therefore, the technical solution of training one or more risk rating sub-models for each feature type using other related machine learning algorithms to ensure the accuracy of model risk assessment should fall within the scope of protection of the present application and is not specifically limited here.

[0049] 204. Train the risk rating model in batches based on the sample label data and the first risk rating sub-model, the second risk rating sub-model, the third risk rating sub-model, and the fourth risk rating sub-model, so that the risk rating model meets the preset training standards.

[0050] Among them, the sample label data is marked with the risk rating probability under each preset risk level.

[0051] In a specific application scenario, since insurance claim data can more intuitively show the risk level results, in this embodiment, after determining the sample data, the insurance claim ratio can be first calculated based on the historical insurance data in the sample data, that is:

[0052]

[0053] Generally speaking, V 赔付 <V 保费 , so the value range of R is [0,1]. If V 赔付 >V 保费 , then take R=1.

[0054] Then, the corresponding risk level can be determined according to the insurance claim ratio. Specifically, the interval [0,1] can be divided into 5 small intervals [0, 0.2], [0.2, 0.4], [0.4, 0.6], [0.6, 0.8] and [0.8, 1.0]. According to the interval of the claim ratio R, the grid cells are divided into low risk, lower risk, medium risk, higher risk and high risk levels. For the 10,000 randomly selected grid cells, labeled data samples can be obtained. Where X i ={x i,1 ,x i,2 ,…,x i,m} represents the index data on grid i; Y i Indicates the risk level in one-hot format.

[0055] Based on these label data This application proposes a multimodal heterogeneous algorithm for classification. The main idea of ​​the multimodal heterogeneous algorithm is to process the category features and continuous features separately. In addition, in order to prevent the algorithm from overfitting and strengthen the robustness of the model, the input continuous features are randomly perturbed to enhance the data. Among them, the data enhancement method is: for each feature in the continuous feature X_cont, add a small random white noise, that is, for each feature, randomly add a normal distribution N(0,0.01), expand 5000 data and combine them with the original data to obtain the sample label data after data enhancement.

[0056] Furthermore, the sample label data after data enhancement can be used to train the first risk rating sub-model (denoted as F1), the second risk rating sub-model (denoted as F2) applicable to categorical features, and the third risk rating sub-model (denoted as F3) and the fourth risk rating sub-model (denoted as F4) applicable to continuous features.

[0057] Specifically, due to the large amount of data, the data batch training method can be used to divide the 15,000 sample label data into training batches, for example, a total of 15 batches, each batch containing 100 sample label data. In each batch, risk rating sub-models can be randomly selected for category features and continuous features for model training. When performing model training, the labeled data after data enhancement in each training batch can be divided into a training set and a validation set in a ratio of 8:2, and the input features of the training set are divided into category features and continuous features. Randomly select one from the first risk rating sub-model and the second risk rating sub-model as the category feature risk rating sub-model F_category for training and identifying the category feature X_category in the current data batch, and randomly select one from the third risk rating sub-model and the fourth risk rating sub-model as the continuous feature risk rating sub-model F_cont for training and identifying the continuous feature X_cont in the current data batch, and obtain:

[0058] F=w1*F_category(X_category)+w2*F_cont(X_cont)

[0059] Where w1 and w2 represent the weights of F_category and F_cont respectively, and w1:w2 is set = number of category features: number of continuous features; F is a vector of length 5, representing the probabilities of belonging to five different preset risk levels.

[0060] Since the target risk level data is usually unbalanced (generally the number of grids at high risk levels is much smaller), in order to improve the accuracy of the model, the Focal Loss function is used as the loss function of the model and the Focal Loss function is used as the objective function, that is, the loss function is:

[0061]

[0062] Among them, F i,j It indicates the probability that the model predicts that the i-th sample belongs to the j-th category, y i,j Indicates the true probability that the i-th sample belongs to the j-th sample; the parameters α and γ are 0.25 and 2 respectively, and the following minimization problem is solved by using the adam optimization solver:

[0063]

[0064] To determine the parameter θ;

[0065] For this embodiment, during the risk rating model training process, when it is determined that the loss functions of each risk rating sub-model under each training batch have reached a convergence state, or when it is determined that the values ​​of the loss functions are all less than a preset threshold, it can be determined that the first risk rating sub-model, the second risk rating sub-model, the third risk rating sub-model and the fourth risk rating sub-model meet the preset training standards, and the first risk rating sub-model, the second risk rating sub-model, the third risk rating sub-model and the fourth risk rating sub-model that have been trained can be combined to construct a risk rating model. It should be noted that since the amount of labeled data after data enhancement is large, during training, the labeled data can be divided into data batches, and for each data batch, different category feature risk rating sub-models F_category and continuous feature risk rating sub-models F_cont are randomly selected, thereby effectively preventing the model from overfitting.

[0066] Accordingly, step 204 of the embodiment may specifically include: dividing the sample label data into multiple training batches; for each training batch, determining any one of the first risk rating sub-model and the second risk rating sub-model as a category feature risk rating sub-model, and determining any one of the third risk rating sub-model and the fourth risk rating sub-model as a continuous feature risk rating sub-model; training the category feature risk rating sub-model and the continuous feature risk rating sub-model under each training batch based on the risk rating probability marked in the sample label data; if it is determined that the loss functions of the category feature risk rating sub-model and the continuous feature risk rating sub-model under any training batch are both less than a preset threshold, then it is determined that the risk rating model has completed training.

[0067] 205. Input the first indicator data into the first risk rating sub-model and the second risk rating sub-model respectively to obtain a first prediction result and a second prediction result.

[0068] For this embodiment, after extracting the first indicator data for the category characteristics of the target area, the first indicator data can be simultaneously input into the first risk rating sub-model and the second risk rating sub-model to obtain different prediction results of the two risk rating sub-models for the first indicator data.

[0069] 206. Input the second indicator data into the third risk rating sub-model and the fourth risk rating sub-model respectively to obtain a third prediction result and a fourth prediction result.

[0070] For this embodiment, after extracting the second indicator data for the continuous features of the target area, the second indicator data can be simultaneously input into the third risk rating sub-model and the fourth risk rating sub-model to obtain different prediction results of the two risk rating sub-models for the second indicator data.

[0071] 207. Calculate the prediction probability of each grid unit for each preset risk level according to the first prediction result, the second prediction result, the third prediction result, and the fourth prediction result.

[0072] For this embodiment, after calculating the first prediction result and the second prediction result for the first indicator data, and the third prediction result and the fourth prediction result for the second indicator data, the integrated result of the first prediction result, the second prediction result, the third prediction result and the fourth prediction result can be calculated according to the integrated calculation formula, and the integrated result can be further determined as the predicted probability of the grid unit for each preset risk level.

[0073] The characteristic description of the integrated calculation formula is:

[0074] P=0.5(F1(X_category)+F2(X_category)+F3(X_cont)+F4(X_cont))

[0075] Among them, P is a vector of length 5. Since F1 and F2 belong to the prediction results under category features, and F3 and F4 belong to the prediction results under continuous features, when comprehensively calculating the probability that the grid cells belong to different risk levels, it is necessary to divide the sum of the probabilities of the first risk rating sub-model, the second risk rating sub-model, the third risk rating sub-model and the fourth risk rating sub-model by 2. That is, after calculating the sum of the four risk sub-models, multiply the sum by 0.5 to obtain the probability that the grid cells belong to five different risk levels (high, relatively high, medium, relatively low, and low). For this embodiment, the risk rating with the highest probability can be used as the final risk level of the grid cell.

[0076] Accordingly, as an optional method, the configuration weights of the first risk rating sub-model, the second risk rating sub-model, the third risk rating sub-model and the fourth risk rating sub-model in the above integrated calculation formula are all 50%. However, in specific application scenarios, different weights can be configured for different risk rating sub-models according to the accuracy of prediction of each model. For example, for the first risk rating sub-model, the configurable weight is a, the configurable weight for the second risk rating sub-model is (1-a), for the third risk rating sub-model, the configurable weight is b, and the configurable weight for the fourth risk rating sub-model is (1-b), where a and b are both values ​​greater than 0 and less than or equal to 1.

[0077] Correspondingly, the characteristic description of the above integrated calculation formula can be transformed into:

[0078] P=a*F1(X_category)+(1-a)*F2(X_category)+b*F3(X_cont)+(1-b)*F4(X_cont)

[0079] 208. Determine the preset risk level corresponding to the highest prediction probability as the risk assessment level of each grid unit.

[0080] In a specific application scenario, as a preferred method, after determining the risk assessment level of each grid cell in the target area, the grid cells can be further marked for risk according to the risk assessment level of each grid cell in the target area; and risk prevention and control recommendations are generated for grid cells whose risk assessment level is greater than a preset risk threshold.

[0081] Specifically, after determining the risk level corresponding to each grid unit in the target area, a risk distribution map can be generated according to the risk level. In the risk distribution map, each grid area is color-coded according to the risk level. For example, red, orange, yellow, blue, and green can be used as the warning colors corresponding to the five warning levels of high, relatively high, medium, relatively low, and low. The natural breakpoint method, standard deviation method, and equidistant segmentation method can be used for color grading, which is not limited here. The risk distribution map can more intuitively display the risk distribution situation, which is convenient for early warning analysis of risks. In order to predict the regional risk level before the risk occurs in the target area, so as to prevent and maintain it in advance. Furthermore, for areas with higher risk levels, corresponding risk prevention and control strategies can also be generated, such as matching target insurance products according to the characteristic information corresponding to the indicator data of the five dimensions, and then generating target insurance product recommendations for the target area.

[0082] By means of the above-mentioned regional risk level assessment method, the target area to be risk assessed can be divided into grids to determine each grid unit, and the indicator data of multiple preset dimensions in each grid unit can be extracted. Based on a multimodal heterogeneous algorithm that can avoid overfitting, a category feature risk rating submodel that can be used to identify category features in indicator data and a continuous feature risk rating submodel that can identify continuous features in indicator data are created and trained, and different algorithms are randomly selected when training different data batches, thereby effectively preventing the model from overfitting. For a new grid unit, the indicator data in the grid unit can first be divided into category features and continuous features, and then the category features and continuous features are respectively input into multiple models corresponding to the category feature classification model and the continuous feature classification model, and the predicted probability of the grid unit belonging to different risk levels is obtained comprehensively, and finally the risk rating with the largest predicted probability is used as the final risk assessment level of the grid. In this scheme, by using indicator data including multiple dimensions such as risk factors, favorable factors, vulnerability and prevention capabilities for risk assessment, the risk of a region can be considered more comprehensively, making the calculation results more accurate. And through the hierarchical analysis method, the weighted sum of each risk factor is carried out, and a scientific method is introduced to determine the weight. From this aspect, the calculation result will be more accurate and reasonable. Therefore, through the technical solution in this application, the efficiency of regional risk assessment can be improved, and the assessment result of regional risk level can be made more accurate.

[0083] Further, as Figure 1 and Figure 2 The specific implementation of the method shown in the embodiment of the present application provides a device for evaluating the regional risk level, such as Figure 3 As shown, the device includes: a processing module 31, a training module 32, an input module 33, and a determination module 34;

[0084] The processing module 31 may be used to initialize the target area data for regional risk assessment to obtain indicator data of each preset dimension, where the indicator data at least includes first indicator data under the category feature and second indicator data under the continuous feature;

[0085] A training module 32, which can be used to obtain a risk rating model that meets a preset training standard based on a multimodal heterogeneous algorithm training, wherein the risk rating model includes a category feature risk rating sub-model applicable to the first indicator data identification, and a continuous feature risk rating sub-model applicable to the second indicator data identification;

[0086] An input module 33, which can be used to input the first indicator data and the second indicator data into the category feature risk rating sub-model and the continuous feature risk rating sub-model respectively, to obtain the predicted probability that the target area belongs to different preset risk levels;

[0087] The determination module 34 may be used to determine the preset risk level corresponding to the highest prediction probability as the risk assessment level of the target area.

[0088] In a specific application scenario, in order to obtain indicator data of each preset dimension based on the target area data, the processing module 31 can be specifically used to perform grid division processing on the target area data in the target area to obtain multiple grid units of preset sizes, and the grid units contain grid data of each preset dimension; each raster data is initialized to obtain first indicator data about category features and second indicator data about continuous features in each grid unit, and the initialization processing at least includes normalization processing, coordinate correction processing, and division processing of category features and continuous features.

[0089] Correspondingly, when training a risk rating model that meets the preset training standards, the training module 32 can be specifically used to use the CART classification tree algorithm and the naive Bayes algorithm to respectively train the first risk rating sub-model and the second risk rating sub-model suitable for category feature identification; use the multinomial logistic regression model and the support vector machine algorithm to respectively train the third risk rating sub-model and the fourth risk rating sub-model suitable for continuous feature identification; and train the risk rating model in batches based on sample label data and the first risk rating sub-model, the second risk rating sub-model, the third risk rating sub-model, and the fourth risk rating sub-model so that the risk rating model meets the preset training standards.

[0090] In a specific application scenario, the sample label data is marked with the risk rating probability under each preset risk level; accordingly, when the risk rating model is trained in batches based on the sample label data and the first risk rating sub-model, the second risk rating sub-model, the third risk rating sub-model, and the fourth risk rating sub-model so that the risk rating model meets the preset training standards, the training module 32 can be specifically used to divide the sample label data into multiple training batches; for each training batch, any one of the first risk rating sub-model and the second risk rating sub-model is determined as a category feature risk rating sub-model, and any one of the third risk rating sub-model and the fourth risk rating sub-model is determined as a continuous feature risk rating sub-model; based on the risk rating probability marked in the sample label data, the category feature risk rating sub-model and the continuous feature risk rating sub-model under each training batch are trained; if it is determined that the loss functions of the category feature risk rating sub-model and the continuous feature risk rating sub-model under any training batch are less than the preset threshold, it is determined that the risk rating model has completed training.

[0091] Correspondingly, in order to determine the predicted probability that the target area belongs to different preset risk levels, the input module 33 can be specifically used to input the first indicator data into the first risk rating sub-model and the second risk rating sub-model respectively, to obtain the first prediction result and the second prediction result; input the second indicator data into the third risk rating sub-model and the fourth risk rating sub-model respectively, to obtain the third prediction result and the fourth prediction result; calculate the predicted probability of each grid unit for each preset risk level according to the first prediction result, the second prediction result, the third prediction result and the fourth prediction result.

[0092] In a specific application scenario, in order to determine the risk assessment level of the target area based on the predicted probability that the target area belongs to different preset risk levels, the determination module 34 can be specifically used to determine the preset risk level with the highest corresponding predicted probability as the risk assessment level of each grid unit.

[0093] Accordingly, in order to display and control risks based on the risk assessment level of each grid unit in the target area, such as Figure 4 As shown, the device further includes: a marking module 35, a generating module 36;

[0094] The marking module 35 may be used to mark the grid cells for risk according to the risk assessment level of each grid cell in the target area;

[0095] The generating module 36 may be used to generate risk prevention and control recommendations for grid cells whose risk assessment levels are greater than a preset risk threshold.

[0096] It should be noted that for other corresponding descriptions of the functional units involved in the regional risk level assessment device provided in this embodiment, reference can be made to Figure 1 to Figure 2 The corresponding description will not be repeated here.

[0097] Based on the above Figure 1 to Figure 2 The method shown in the embodiment also provides a non-volatile storage medium on which computer-readable instructions are stored. When the computer-readable instructions are executed by the processor, the above-mentioned Figure 1 to Figure 2 The method for assessing the risk level of the area shown.

[0098] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present application.

[0099] Based on the above Figure 1 to Figure 2 The method shown and Figure 3 , Figure 4 In order to achieve the above-mentioned purpose, the present embodiment further provides a computer device, which includes a storage medium and a processor; a non-volatile storage medium for storing a computer program; and a processor for executing the computer program to achieve the above-mentioned Figure 1 to Figure 2 The method for assessing the risk level of the area shown.

[0100] Optionally, the computer device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.

[0101] Those skilled in the art will appreciate that the computer device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different component arrangements.

[0102] The non-volatile storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned computer device, and supports the operation of information processing programs and other software and / or programs. The network communication module is used to realize communication between the components inside the non-volatile storage medium, and communication with other hardware and software in the information processing entity device.

[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or by hardware.

[0104] By applying the technical solution of the present application, compared with the current existing technology, the present application can divide the target area to be risk assessed into grids, determine each grid unit, and extract the indicator data of multiple preset dimensions in each grid unit. Based on the multimodal heterogeneous algorithm that can avoid overfitting, multiple category feature risk rating sub-models that can be used to identify category features in indicator data and continuous feature risk rating sub-models that can identify continuous features in indicator data are created and trained, and different algorithms are randomly selected when training different data batches, thereby effectively preventing the model from overfitting. For a new grid unit, the indicator data in the grid unit can be first divided into category features and continuous features, and then the category features and continuous features are respectively input into multiple models corresponding to the category feature risk rating sub-model and the continuous feature risk rating sub-model, and the predicted probability of the grid unit belonging to different risk levels is comprehensively obtained, and finally the risk rating with the largest predicted probability is used as the final risk assessment level of the grid. In this solution, by using indicator data of multiple dimensions including risk factors, favorable factors, vulnerability and prevention capabilities for risk assessment, the risk of a region can be considered more comprehensively, making the calculation results more accurate. And through the hierarchical analysis method, the weighted sum of each risk factor is carried out, and a scientific method is introduced to determine the weight. From this aspect, the calculation result will be more accurate and reasonable. Therefore, through the technical solution in this application, the efficiency of regional risk assessment can be improved, and the assessment result of regional risk level can be made more accurate.

[0105] Those skilled in the art will appreciate that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily necessary for implementing the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the description of the implementation scenario, or can be changed accordingly and located in one or more devices different from the present implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple submodules.

[0106] The above serial numbers of this application are only for description and do not represent the advantages and disadvantages of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of this application, but this application is not limited to them, and any changes that can be thought of by technicians in this field should fall within the scope of protection of this application.

Claims

1. A method for evaluating regional risk level, characterized in that: include: Initialize the target area data for regional risk assessment to obtain indicator data of each preset dimension, wherein the indicator data at least includes first indicator data under category characteristics and second indicator data under continuous characteristics, and the preset dimensions include natural disaster data, humanities data, high-risk factors, favorable factors and insurance data. The indicator data corresponding to the natural disaster data include earthquake data, typhoon data, mudslide data and flood data. The indicator data corresponding to the humanities data include GDP data and population density. The indicator data corresponding to the high-risk factors include the number data of chemical plants, hydropower stations and fireworks factories. The indicator data corresponding to the favorable factors include the number data of fire stations, hospitals and first aid stations. The indicator data corresponding to the insurance data include the target address, premium data and compensation data. The natural disaster data include the number and intensity of historical disasters in the target area. A risk rating model that meets the preset training standard is obtained based on multimodal heterogeneous algorithm training, wherein the risk rating model includes a category feature risk rating sub-model suitable for the first indicator data identification, and a continuous feature risk rating sub-model suitable for the second indicator data identification, wherein the category feature risk rating sub-model includes a first risk rating sub-model and a second risk rating sub-model respectively trained using a CART classification tree algorithm and a naive Bayes algorithm, and wherein the continuous feature risk rating sub-model includes a third risk rating sub-model and a fourth risk rating sub-model respectively trained using a multinomial logistic regression model and a support vector machine algorithm, and when performing model training, the input features of the training set are divided into category features and continuous features, and one of the first risk rating sub-model and the second risk rating sub-model is randomly selected as a category feature risk rating sub-model for training and identifying category features under the current data batch, and one of the third risk rating sub-model and the fourth risk rating sub-model is randomly selected as a continuous feature risk rating sub-model for training and identifying continuous features under the current data batch; Inputting the first indicator data and the second indicator data into the category feature risk rating sub-model and the continuous feature risk rating sub-model respectively, to obtain the predicted probability that the target area belongs to different preset risk levels; The preset risk level corresponding to the highest prediction probability is determined as the risk assessment level of the target area.

2. The method according to claim 1, characterized in that The target area data to be subjected to regional risk assessment is initialized to obtain indicator data of each preset dimension, wherein the indicator data at least includes first indicator data under category features and second indicator data under continuous features, specifically including: Performing grid division processing on the target area data in the target area to obtain a plurality of grid units of preset sizes, wherein the grid units contain grid data of various preset dimensions; Each of the grid data is initialized to obtain first indicator data about the category feature and second indicator data about the continuous feature in each grid unit, and the initialization processing at least includes normalization processing, coordinate correction processing, and classification processing of category features and continuous features.

3. The method according to claim 1, characterized in that The risk rating model that meets the preset training standard is obtained based on the multimodal heterogeneous algorithm training, and the risk rating model includes a category feature risk rating sub-model applicable to the first indicator data identification, and a continuous feature risk rating sub-model applicable to the second indicator data identification, specifically including: The CART classification tree algorithm and the Naive Bayes algorithm are used to train the first risk rating sub-model and the second risk rating sub-model respectively, which are suitable for category feature recognition; The third risk rating sub-model and the fourth risk rating sub-model suitable for continuous feature recognition are trained using a multinomial logistic regression model and a support vector machine algorithm respectively; The risk rating model is trained in batches based on the sample label data and the first risk rating sub-model, the second risk rating sub-model, the third risk rating sub-model, and the fourth risk rating sub-model so that the risk rating model meets the preset training standards.

4. The method according to claim 3, characterized in that The sample label data is marked with risk rating probabilities at various preset risk levels; The step of training the risk rating model in batches based on the sample label data and the first risk rating sub-model, the second risk rating sub-model, the third risk rating sub-model, and the fourth risk rating sub-model so that the risk rating model meets the preset training standard specifically includes: Dividing the sample label data into multiple training batches; For each training batch, any one of the first risk rating sub-model and the second risk rating sub-model is determined as a category feature risk rating sub-model, and any one of the third risk rating sub-model and the fourth risk rating sub-model is determined as a continuous feature risk rating sub-model; According to the risk rating probabilities marked in the sample label data, training the category feature risk rating sub-model and the continuous feature risk rating sub-model under each training batch; If it is determined that in any training batch, the loss functions of the category feature risk rating sub-model and the continuous feature risk rating sub-model are both less than a preset threshold, then it is determined that the risk rating model has completed training.

5. The method according to claim 4, characterized in that The step of inputting the first indicator data and the second indicator data into the category feature risk rating sub-model and the continuous feature risk rating sub-model respectively to obtain the predicted probability that the target area belongs to different preset risk levels specifically includes: Inputting the first indicator data into the first risk rating sub-model and the second risk rating sub-model respectively to obtain a first prediction result and a second prediction result; Inputting the second indicator data into the third risk rating sub-model and the fourth risk rating sub-model respectively to obtain a third prediction result and a fourth prediction result; The prediction probability of each grid unit for each preset risk level is calculated according to the first prediction result, the second prediction result, the third prediction result and the fourth prediction result.

6. The method according to claim 5, characterized in that The step of determining the preset risk level corresponding to the highest prediction probability as the risk assessment level of the target area specifically includes: The preset risk level corresponding to the highest prediction probability is determined as the risk assessment level of each grid unit.

7. The method according to claim 1, characterized in that The method further comprises: According to the risk assessment level of each grid cell in the target area, the grid cell is risk marked; Generate risk prevention and control recommendations for grid cells whose risk assessment level is greater than the preset risk threshold.

8. A device for evaluating regional risk level, characterized in that: include: a processing module, for initializing the target area data for regional risk assessment to obtain index data of various preset dimensions, wherein the index data at least includes first index data under category characteristics and second index data under continuous characteristics, and the preset dimensions include natural disaster data, humanities data, high-risk factors, favorable factors and insurance data, the index data corresponding to the natural disaster data include earthquake data, typhoon data, mudslide data, and flood data, the index data corresponding to the humanities data include GDP data and population density, the index data corresponding to the high-risk factors include the number data of chemical plants, hydropower stations, and fireworks factories, the index data corresponding to the favorable factors include the number data of fire stations, hospitals, and first aid stations, the index data corresponding to the insurance data include the target address, premium data, and compensation data, and the natural disaster data include the number and intensity of historical disasters in the target area; A training module, for obtaining a risk rating model that meets preset training standards based on multimodal heterogeneous algorithm training, wherein the risk rating model includes a category feature risk rating sub-model applicable to the first indicator data identification, and a continuous feature risk rating sub-model applicable to the second indicator data identification, wherein the category feature risk rating sub-model includes a first risk rating sub-model and a second risk rating sub-model respectively trained using a CART classification tree algorithm and a naive Bayes algorithm, and wherein the continuous feature risk rating sub-model includes a third risk rating sub-model and a fourth risk rating sub-model respectively trained using a multinomial logistic regression model and a support vector machine algorithm, and when performing model training, the input features of the training set are divided into category features and continuous features, and one of the first risk rating sub-model and the second risk rating sub-model is randomly selected as a category feature risk rating sub-model for training and identifying category features under the current data batch, and one of the third risk rating sub-model and the fourth risk rating sub-model is randomly selected as a continuous feature risk rating sub-model for training and identifying continuous features under the current data batch; An input module, used to input the first indicator data and the second indicator data into the category feature risk rating sub-model and the continuous feature risk rating sub-model respectively, to obtain the predicted probability that the target area belongs to different preset risk levels; The determination module is used to determine the preset risk level corresponding to the highest prediction probability as the risk assessment level of the target area.

9. A non-volatile readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for evaluating the regional risk level according to any one of claims 1 to 7 is implemented.

10. A computer device comprising a non-volatile readable storage medium, a processor, and a computer program stored in the non-volatile readable storage medium and executable on the processor, characterized in that: When the processor executes the program, the method for evaluating the regional risk level according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Credit score establishing method based on machine learning and big data technology

    CN108154430A

  • Method and system for evaluating mountain torrent disaster risks of villages along river based on DPSIR model

    CN110298577A

  • Typhoon storm surge risk assessment method and system based on ArcGIS platform

    CN110377674A

  • Spatial gridding drought disaster risk assessment method and system based on multi-source data

    CN111737651A

  • Food safety risk assessment method, device and equipment and storage medium

    CN111738549A