Risk assessment model training method and risk assessment method
By obtaining a data set of positive and negative samples with a predetermined ratio, training and verifying the risk assessment model, the problem of low risk identification accuracy in traditional data mining and data modeling is solved, and high-precision identification of a small number of risk events is achieved.
Patent Information
- Application Number
- CN201910511929.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-13
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional data mining and data modeling do not have high accuracy in identifying insurance risk events, especially a small number of risk events that are difficult to effectively identify.
By obtaining a data set of positive and negative samples with a predetermined ratio, the risk assessment model is trained and verified, the risk assessment accuracy of the model is calculated, and the model with the highest accuracy is selected for risk identification.
It improves the identification accuracy of a small number of risk events and improves the identification accuracy of the risk assessment model.
Smart Images

Figure CN110349038B
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer data processing, and in particular to a risk assessment model training method, system, computer equipment, computer-readable storage medium, and a risk assessment method based on big data. Background Art
[0002] With the continuous development of cloud computing technology and big data technology, insurance data is also developing in the direction of multi-dimensional and large data volume. The traditional manual insurance risk assessment method is not suitable for current insurance risk assessment due to its low efficiency and the need for a lot of manpower. Therefore, by collecting a large amount of insurance risk-related data for data modeling, risk control and risk warning are carried out through the data model built by big data, which is more scientific and efficient than the traditional manual experience risk control method.
[0003] Take an insurance company as an example. The number of preservation cases is about 23 million per year. Among these cases, there are a small number of risk events, such as impersonation, which refers to the handling of insurance business on behalf of the person without the person's consent. However, this type of risk event has the characteristics of small number, and the risk identification accuracy of this type of risk event is not high through traditional data mining and data modeling. Summary of the invention
[0004] In view of this, the purpose of an embodiment of the present invention is to provide a risk assessment model training method, system, computer device, computer-readable storage medium and a risk assessment method based on big data, which can solve the problem of low risk identification accuracy of risk events by traditional data mining and data modeling.
[0005] To achieve the above object, an embodiment of the present invention provides a risk assessment model training method based on big data, comprising the following steps:
[0006] Acquire multiple sample data sets of the target business, each sample data set includes positive sample data of multiple positive samples and negative sample data of multiple negative samples, and the multiple positive samples and the multiple negative samples in each sample data set are in a predetermined ratio;
[0007] Training a preconfigured risk assessment model with each sample data set to obtain a plurality of target risk assessment models trained with the plurality of sample data sets;
[0008] Acquire a verification sample data set of a target business, wherein the verification sample data set includes a plurality of verification data;
[0009] Inputting the plurality of verification data into the plurality of risk assessment models respectively to obtain a risk assessment result output by each target risk assessment model based on the verification sample data set;
[0010] According to the risk assessment results of each target risk assessment model, the risk assessment accuracy rate corresponding to each target risk assessment model is calculated;
[0011] Determine whether the risk assessment accuracy rate corresponding to each target risk model is greater than a preset threshold; and
[0012] If the risk assessment accuracy rate corresponding to each target risk model is greater than the preset threshold, the target risk model with the highest risk assessment accuracy rate is selected.
[0013] Preferably, the step of acquiring multiple sample data sets of the target business includes:
[0014] According to a plurality of pre-configured risk tags, acquiring the plurality of original data corresponding to the plurality of risk tags from a customer database; and
[0015] The multiple sample data sets are acquired according to the multiple original data.
[0016] Preferably, the plurality of sample data sets include a first sample data set and a second sample data set;
[0017] The step of acquiring the plurality of sample data sets according to the plurality of original data comprises:
[0018] Acquire a first positive sample set and a first negative sample set corresponding to a first time interval according to the plurality of original data, perform sampling operations on the first positive sample set and the first negative sample set respectively according to the predetermined ratio, and mix the plurality of positive samples and the plurality of negative samples extracted from the first positive sample set and the first negative sample set to obtain the first sample data set;
[0019] A second positive sample set and a second negative sample set corresponding to a second time interval are obtained based on the multiple original data, and sampling operations are performed on the second positive sample set and the second negative sample set respectively according to the predetermined ratio, and the multiple positive samples and the multiple negative samples extracted from the second positive sample set and the second negative sample set are mixed to obtain the second sample data set.
[0020] Preferably, before the step of acquiring multiple sample data sets of the target business, the step includes:
[0021] Get all positive sample data generated in n time intervals;
[0022] All the positive sample data are distributed to positive sample sets corresponding to each time interval according to a preset rule, wherein the positive sample data set includes the first positive sample set and the second positive sample set.
[0023] Preferably, the step of obtaining a verification sample data set of the target business includes:
[0024] Acquire all negative sample data and all positive sample data generated in m time intervals, where there is no overlapping time interval between the m time intervals and the n time intervals;
[0025] Performing sampling operations on all negative sample data and all positive sample data generated in the m time intervals to obtain a plurality of negative validation samples and a plurality of positive validation samples; and
[0026] The multiple negative validation samples and the multiple positive validation samples are mixed to obtain the validation sample data set, wherein the multiple positive validation samples and the multiple negative validation samples are in the predetermined ratio.
[0027] Preferably, if the risk assessment accuracy rate corresponding to each target risk model is not greater than the preset threshold:
[0028] reconfigure multiple risk tags;
[0029] Based on the reconfigured multiple risk tags, corresponding multiple original data are obtained from the customer database for training and verifying the risk assessment model.
[0030] To achieve the above object, an embodiment of the present invention further provides a risk assessment method, the method comprising:
[0031] Receive electronic application forms submitted by users;
[0032] Extracting basic user information from the application electronic form;
[0033] Acquire user data corresponding to multiple risk tags of the user according to the basic information of the user;
[0034] Inputting the user data of the user into the selected target risk model as described above;
[0035] According to the risk coefficient output by the selected target risk model, it is determined whether to issue a risk warning message.
[0036] To achieve the above objectives, an embodiment of the present invention further provides a risk assessment model training system based on big data, including:
[0037] A first acquisition module is used to acquire multiple sample data sets of a target business, each sample data set includes positive sample data of multiple positive samples and negative sample data of multiple negative samples, and the multiple positive samples and the multiple negative samples in each sample data set are in a predetermined ratio;
[0038] A training module, used for training a preconfigured risk assessment model through each sample data set to obtain a plurality of target risk assessment models trained through the plurality of sample data sets;
[0039] A second acquisition module is used to acquire a verification sample data set of a target business, wherein the verification sample data set includes a plurality of verification data;
[0040] A verification module, used to input the multiple verification data into the multiple risk assessment models respectively, so as to obtain a risk assessment result output by each target risk assessment model based on the verification sample data set;
[0041] A calculation module is used to calculate the risk assessment accuracy rate corresponding to each target risk assessment model according to the risk assessment result of each target risk assessment model;
[0042] A judgment module, used to judge whether the risk assessment accuracy rate corresponding to each target risk model is greater than a preset threshold; and
[0043] The selection module is used to select the target risk model with the highest risk assessment accuracy if the risk assessment accuracy corresponding to each target risk model is greater than the preset threshold.
[0044] To achieve the above-mentioned purpose, an embodiment of the present invention further provides a computer device, which includes a computer device memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the risk assessment model training method based on big data are implemented as described above.
[0045] To achieve the above-mentioned purpose, an embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by at least one processor to enable the at least one processor to perform the steps of the risk assessment model training method based on big data as described above.
[0046] The risk assessment model training method, system, computer device, computer-readable storage medium and a risk assessment method based on big data provided by the embodiments of the present invention provide a sample data set with a predetermined ratio of positive and negative sample data, which can train and improve the recognition accuracy of the risk assessment model for risk events with the characteristics of a small number of some risk events. That is, the risk assessment model is trained by multiple sample data sets with multiple preset ratios, and the training is verified according to each trained model, and the recognition accuracy of each trained model for risk events is evaluated according to the verification results, so as to obtain a trained model with high recognition accuracy for risk events. It can be seen that the risk assessment model trained based on this embodiment has a greater recognition accuracy for risk events. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 This is a flow chart of Example 1 of the risk assessment model training method based on big data of the present invention.
[0048] Figure 2 This is a flow chart of Example 2 of the risk assessment method of the present invention.
[0049] Figure 3 This is a schematic diagram of the program modules of Example 3 of the risk assessment model training system based on big data of the present invention.
[0050] Figure 4 Schematic diagram of the hardware structure of the fourth embodiment of the computer device of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0052] It should be noted that the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0053] The following embodiments will be described exemplarily by taking the computer device 2 as the execution subject.
[0054] Embodiment 1
[0055] See also Figure 1 , shows a flowchart of the steps of the risk assessment model training method based on big data in the first embodiment of the present invention. It can be understood that the flowchart in the embodiment of the method is not used to limit the order of executing the steps. The details are as follows.
[0056] Step S100: Acquire multiple sample data sets of the target business.
[0057] The target business may be, for example, an insurance business.
[0058] Each sample data set includes positive sample data of a plurality of positive samples and negative sample data of a plurality of negative samples, and the plurality of positive samples and the plurality of negative samples in each sample data set are in a predetermined ratio.
[0059] Positive samples refer to electronic data that records risks, and negative samples refer to electronic data that does not record risks. In an exemplary embodiment:
[0060] The positive samples (positive items) may refer to electronic data of insurance business that records fraudulent processing events, and the sources include new contract follow-up calls, SMS verification, manual records of institutions, counter fraudulent processing records, etc.
[0061] The negative samples may refer to electronic data of insurance business in which no fraudulent incidents occur.
[0062] In one embodiment, step S100 may specifically include: step S1000, obtaining the multiple original data (desensitized original data) corresponding to the multiple risk labels from the customer database according to the pre-configured multiple risk labels; step S1002, obtaining the multiple sample data sets based on the multiple original data.
[0063] The multiple risk tags can be divided into the following data dimensions: customer identity information, credit information, fund flow information, Internet information and historical preservation information. Each data dimension may include multiple risk tags, such as customer identity information may include: gender tag, occupation tag, age tag, etc.; credit information may include: loan tag, loan overdue tag, etc.; the fund flow information may include monthly fund inflow tag, monthly fund outflow tag, etc.; the Internet information includes purchase behavior tags, etc.; the historical preservation information may include: policy change tag, preservation category tag, preservation amount tag, etc.
[0064] In one embodiment, in order to improve the efficiency of batch acquisition of positive samples and negative samples, the positive and negative sample sets corresponding to each time interval can be acquired in units of time intervals, and the multiple sample data sets include at least a first sample data set and a second sample data set. Step S1002 may specifically include:
[0065] (1) Obtain the first sample data set:
[0066] Step S1002a1: acquiring a first positive sample set and a first negative sample set corresponding to a first time interval according to the plurality of original data.
[0067] Step S1002b1, sampling the first positive sample set and the first negative sample set respectively according to the predetermined ratio. The sampling operation may adopt multiple random sampling with replacement.
[0068] Step S1002c1: Mix multiple positive samples and multiple negative samples extracted from the first positive sample set and the first negative sample set to obtain the first sample data set.
[0069] (2) Obtain the second sample data set:
[0070] Step S1002a1: acquiring a second positive sample set and a second negative sample set corresponding to a second time interval according to the plurality of original data.
[0071] Step S1002b1, sampling the second positive sample set and the second negative sample set according to the predetermined ratio. The sampling operation may adopt multiple random sampling with replacement.
[0072] Step S1002c1: Mix multiple positive samples and multiple negative samples extracted from the second positive sample set and the second negative sample set to obtain the second sample data set.
[0073]
[0074] Taking the above table as an example, multiple positive samples can be extracted from the first positive sample set in January 2015, and multiple negative samples can be extracted from the first negative sample. The ratio of the number of the multiple positive samples to the multiple negative samples (such as 1:100) can be customized, and the extracted multiple positive samples and multiple negative samples constitute the first sample data set.
[0075] In one embodiment, in order to ensure a balanced ratio of positive samples and negative samples in each time interval (month), before step S100, the following steps are further included:
[0076] Get all positive sample data generated in n time intervals, where n is a positive integer greater than 2;
[0077] All the positive sample data are distributed to positive sample sets corresponding to each time interval according to a preset rule, wherein the positive sample data set includes the first positive sample set and the second positive sample set.
[0078] For example, all the positive sample data are randomly shuffled and distributed to each month, and the ratio of positive samples to negative samples in each month is adjusted to be roughly close.
[0079] Step S102: training a preconfigured risk assessment model by using each sample data set to obtain a plurality of target risk assessment models trained by using the plurality of sample data sets.
[0080] The risk assessment model may be an LR (loss function, logistic regression) model, a GBDT (GradientBoost Decision Tree) + LR combination model, a GBDT + FM (Factorization Machine) combination model, or other models.
[0081] Take one of the sample data sets as an example: multiple label data corresponding to multiple users in the sample data set are input into the risk assessment model for model training to obtain a trained target risk assessment model.
[0082] Step S104: obtaining a verification sample data set of the target business, wherein the verification sample data set includes a plurality of verification data.
[0083] In an embodiment, the step S104 may include:
[0084] S104a, acquiring all negative sample data and all positive sample data generated in m time intervals, wherein there is no overlap between the m time intervals and the n time intervals, where m is a positive integer not less than 2.
[0085] S104b, performing a sampling operation from all negative sample data and all positive sample data generated in the m time intervals to obtain a plurality of negative verification samples and a plurality of positive verification samples.
[0086] S104c, mixing the multiple negative validation samples and the multiple positive validation samples to obtain the validation sample data set, wherein the multiple positive validation samples and the multiple negative validation samples are in the predetermined ratio.
[0087] Through steps S104a to S104c, a cross-time verification set (spanning m time periods) can be obtained.
[0088] Step S106: input the multiple verification data into the multiple target risk assessment models respectively to obtain a risk assessment result output by each target risk assessment model based on the verification sample data set.
[0089] Exemplarily, in step S102, the risk assessment model is trained by a first sample data set to obtain a first target risk assessment model; and the risk assessment model is trained by a second sample data set to obtain a second target risk assessment model.
[0090] The verification operation is performed on the first target risk assessment model and the second target risk assessment model respectively through the verification sample data set. Specifically, taking the verification of the first target risk assessment model as an example: multiple label data corresponding to multiple users in the verification sample data set are input into the first target risk assessment model, so as to output multiple risk coefficients through the first target risk assessment model. One user can correspond to one risk coefficient.
[0091] Step S108, calculating the risk assessment accuracy rate corresponding to each target risk assessment model according to the risk assessment result of each target risk assessment model.
[0092] Take the first target risk assessment model as an example:
[0093] According to the risk coefficient of each positive verification sample and the risk coefficient of each negative verification sample in the verification sample set, the verification accuracy of the multiple positive verification samples and the multiple negative verification samples is counted. For example, taking 0.7 as the risk coefficient threshold, when the risk coefficient of a positive verification sample is greater than 0.7, it means that the verification is correct, otherwise the verification fails; when the risk coefficient of a negative sample is not greater than 0.7, it means that the verification is correct, otherwise the verification fails.
[0094] Furthermore, the stability coefficient of the first target risk assessment model can also be calculated according to the risk coefficient of each positive validation sample and the risk coefficient of each negative validation sample in the validation sample set. Furthermore, the stability coefficient can be obtained by a standard deviation formula, for example, by respectively calculating the first stability coefficient of the plurality of positive validation samples and the second stability coefficient of the plurality of negative validation samples to obtain the stability coefficient of the first target risk assessment model.
[0095] Step S110, determining whether the risk assessment accuracy corresponding to each target risk model is greater than a preset threshold.
[0096] The preset threshold can be customized. For example, 0.95 is used as the preset threshold. According to industry practice, when the evaluation accuracy of a model exceeds 0.95, it is considered to be ready for market launch.
[0097] Step S112: If the risk assessment accuracy rate corresponding to each target risk model is greater than the preset threshold, the target risk model with the highest risk assessment accuracy rate is selected.
[0098] Furthermore, one of the target risk models is selected according to the risk assessment accuracy and stability coefficient corresponding to each target risk model.
[0099] In one embodiment, step S114 is further included, if the risk assessment accuracy rate corresponding to each target risk model is not greater than the preset threshold:
[0100] reconfigure multiple risk tags;
[0101] Based on the reconfigured multiple risk labels, corresponding multiple original data are obtained from the customer database for training and validating the risk assessment model.
[0102] Embodiment 2
[0103] See also Figure 2 , shows a flow chart of the steps of the risk assessment method of the second embodiment of the present invention. It can be understood that the flow chart in the embodiment of the method is not used to limit the order of executing the steps. The details are as follows.
[0104] Step S200: receiving an electronic application form submitted by a user.
[0105] Step S202: extracting basic user information from the application electronic form.
[0106] The basic user information may include user name information, ID card information, age information, and face image information.
[0107] Step S204: acquiring user data corresponding to the multiple risk tags of the user according to the basic information of the user.
[0108] For example: based on the basic information of the user, obtain credit information from the credit reporting system, obtain fund flow information from the banking system, obtain security information from the system, and obtain Internet information from the Internet platform.
[0109] Step S206: input the user data of the user into the selected target risk model.
[0110] The target risk model can be obtained by training through the method of embodiment 1.
[0111] Step S208: confirm whether to issue risk warning information based on the risk coefficient output by the selected target risk model.
[0112] When the risk factor is greater than the preset threshold, a risk warning message is issued.
[0113] Embodiment 3
[0114] Please continue reading Figure 3 , showing a program module schematic diagram of the third embodiment of the risk assessment model training system based on big data of the present invention. In this embodiment, the risk assessment model training system 20 based on big data may include or be divided into one or more program modules, one or more program modules are stored in a storage medium, and executed by one or more processors to complete the present invention, and can implement the above-mentioned risk assessment model training method based on big data. The program module referred to in the embodiment of the present invention refers to a series of computer program instruction segments that can perform specific functions, and is more suitable for describing the execution process of the risk assessment model training system 20 based on big data in a storage medium than the program itself. The following description will specifically introduce the functions of each program module of this embodiment:
[0115] The first acquisition module 200 is used to acquire multiple sample data sets of the target business, each sample data set includes positive sample data of multiple positive samples and negative sample data of multiple negative samples, and the multiple positive samples and the multiple negative samples in each sample data set are in a predetermined ratio.
[0116] Exemplarily, the first acquisition module 200 is further used to: acquire the plurality of original data corresponding to the plurality of risk tags from the customer database according to the plurality of preconfigured risk tags; and acquire the plurality of sample data sets according to the plurality of original data. The plurality of sample data sets include a first sample data set and a second sample data set.
[0117] Exemplarily, the first acquisition module 200 is also used to: before the step of acquiring multiple sample data sets of the target business, acquire all positive sample data generated in n time intervals; and allocate all the positive sample data to the positive sample sets corresponding to each time interval according to preset rules, wherein the positive sample data sets include the first positive sample set and the second positive sample set.
[0118] The training module 202 is used to train a preconfigured risk assessment model through each sample data set to obtain a plurality of target risk assessment models trained through the plurality of sample data sets.
[0119] Exemplarily, the training module 202 is further used for:
[0120] Acquire a first positive sample set and a first negative sample set corresponding to a first time interval according to the plurality of original data, perform sampling operations on the first positive sample set and the first negative sample set respectively according to the predetermined ratio, and mix the plurality of positive samples and the plurality of negative samples extracted from the first positive sample set and the first negative sample set to obtain the first sample data set;
[0121] A second positive sample set and a second negative sample set corresponding to a second time interval are obtained based on the multiple original data, and sampling operations are performed on the second positive sample set and the second negative sample set respectively according to the predetermined ratio, and the multiple positive samples and the multiple negative samples extracted from the second positive sample set and the second negative sample set are mixed to obtain the second sample data set.
[0122] The second acquisition module 204 is used to acquire a verification sample data set of a target business, where the verification sample data set includes a plurality of verification data.
[0123] Exemplarily, the second acquisition module 204 is also used to: acquire all negative sample data and all positive sample data generated in m time intervals, wherein there is no overlapping time interval between the m time intervals and the n time intervals; perform sampling operations on all negative sample data and all positive sample data generated in the m time intervals to obtain multiple negative verification samples and multiple positive verification samples; and mix the multiple negative verification samples with the multiple positive verification samples to obtain the verification sample data set, wherein the multiple positive verification samples and the multiple negative verification samples are in the predetermined proportion.
[0124] The verification module 206 is used to input the multiple verification data into the multiple risk assessment models respectively to obtain the risk assessment results output by each target risk assessment model based on the verification sample data set.
[0125] The calculation module 208 is used to calculate the risk assessment accuracy rate corresponding to each target risk assessment model according to the risk assessment result of each target risk assessment model.
[0126] The judgment module 210 is used to judge whether the risk assessment accuracy corresponding to each target risk model is greater than a preset threshold.
[0127] The selection module 212 is configured to select the target risk model with the highest risk assessment accuracy if the risk assessment accuracy corresponding to each target risk model is greater than the preset threshold.
[0128] Optionally, the label configuration module 214 is used to: if the risk assessment accuracy corresponding to each target risk model is not greater than the preset threshold: reconfigure multiple risk labels; based on the reconfigured multiple risk labels, obtain corresponding multiple original data from the customer database for training and verifying the risk assessment model.
[0129] Embodiment 4
[0130] See also Figure 4 , is a schematic diagram of the hardware architecture of the computer device of the fourth embodiment of the present invention. In this embodiment, the computer device 2 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. The computer device 2 can be a personal computer, a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a server cluster composed of multiple servers), etc. As shown in the figure, the computer device 2 at least includes, but is not limited to, a memory 21, a processor 22, a network interface 23, and a risk assessment model training system 20 based on big data that can communicate with each other through a system bus. Among them:
[0131] In this embodiment, the memory 21 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 21 can be an internal storage unit of the computer device 2, such as a hard disk or memory of the computer device 2. In other embodiments, the memory 21 can also be an external storage device of the computer device 2, such as a plug-in hard disk equipped on the computer device 20, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 21 can also include both the internal storage unit of the computer device 2 and its external storage device. In this embodiment, the memory 21 is generally used to store the operating system and various application software installed on the computer device 2, such as the program code of the risk assessment model training system 20 based on big data in Example 3. In addition, the memory 21 can also be used to temporarily store various types of data that have been output or are to be output.
[0132] The processor 22 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 22 is generally used to control the overall operation of the computer device 2. In this embodiment, the processor 22 is used to run the program code stored in the memory 21 or process data, such as running the risk assessment model training system 10 based on big data to implement the risk assessment model training method based on big data of the first embodiment.
[0133] The network interface 23 may include a wireless network interface or a wired network interface, and the network interface 23 is generally used to establish a communication connection between the computer device 2 and other electronic devices. For example, the network interface 23 is used to connect the computer device 2 to an external terminal through a network, and to establish a data transmission channel and a communication connection between the computer device 2 and the external terminal. The network may be a wireless or wired network such as an Intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth, or Wi-Fi.
[0134] It should be pointed out that Figure 4 Computer device 2 is shown only with components 20 - 23 , but it should be understood that implementation of all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0135] In this embodiment, the big data-based risk assessment model training system 20 stored in the memory 21 can also be divided into one or more program modules, and the one or more program modules are stored in the memory 21 and executed by one or more processors (processor 22 in this embodiment) to complete the present invention.
[0136] For example, Figure 3The program module schematic diagram of the third embodiment of the risk assessment model training system 20 based on big data is shown. In this embodiment, the risk assessment model training system 20 based on big data can be divided into a first acquisition module 200, a training module 202, a second acquisition module 204, a verification module 206, a calculation module 208, a judgment module 210, a selection module 212, a label configuration module 214 and an evaluation module 216. Among them, the program module referred to in the present invention refers to a series of computer program instruction segments that can complete specific functions, which is more suitable for describing the execution process of the risk assessment model training system 20 based on big data in the computer device 2 than a program. The specific functions of the program modules 200-216 have been described in detail in the third embodiment and will not be repeated here.
[0137] Embodiment 5
[0138] This embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, and the program realizes the corresponding function when executed by the processor. The computer-readable storage medium of this embodiment is used to store the risk assessment model training system 20 based on big data, and when executed by the processor, the risk assessment model training method based on big data of embodiment 1 is realized.
[0139] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.
[0141] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A risk assessment model training method based on big data, characterized in that: The method comprises: Acquire multiple sample data sets of the target business, each sample data set includes positive sample data of multiple positive samples and negative sample data of multiple negative samples, and the multiple positive samples and the multiple negative samples in each sample data set are in a predetermined ratio; Training a preconfigured risk assessment model with each sample data set to obtain a plurality of target risk assessment models trained with the plurality of sample data sets; Acquire a verification sample data set of a target business, wherein the verification sample data set includes a plurality of verification data; Inputting the plurality of verification data into a plurality of risk assessment models respectively to obtain a risk assessment result output by each target risk assessment model based on the verification sample data set; According to the risk assessment results of each target risk assessment model, the risk assessment accuracy rate corresponding to each target risk assessment model is calculated; Determine whether the risk assessment accuracy rate corresponding to each target risk assessment model is greater than a preset threshold; and If the risk assessment accuracy rate corresponding to each target risk assessment model is greater than the preset threshold, selecting the target risk assessment model with the highest risk assessment accuracy rate; The method further includes: calculating the stability coefficient of each target risk assessment model according to the risk coefficient of each positive validation sample and the risk coefficient of each negative validation sample in the validation sample set; further, the stability coefficient is obtained by a standard deviation formula, and the first stability coefficient of multiple positive validation samples and the second stability coefficient of the negative validation samples are calculated respectively to obtain the stability coefficient of each target risk assessment model; according to the risk assessment accuracy and stability coefficient corresponding to each target risk assessment model, one of the target risk assessment models is selected; The step of obtaining multiple sample data sets of the target business includes: According to the pre-configured risk tags, obtaining a plurality of original data corresponding to the plurality of risk tags from a customer database; and Acquire the plurality of sample data sets according to the plurality of original data; Wherein, the multiple sample data sets include a first sample data set and a second sample data set; The step of acquiring the plurality of sample data sets according to the plurality of original data comprises: Acquire a first positive sample set and a first negative sample set corresponding to a first time interval according to the plurality of original data, perform sampling operations on the first positive sample set and the first negative sample set respectively according to the predetermined ratio, and mix the plurality of positive samples and the plurality of negative samples extracted from the first positive sample set and the first negative sample set to obtain the first sample data set; Acquire a second positive sample set and a second negative sample set corresponding to a second time interval according to the plurality of original data, perform sampling operations on the second positive sample set and the second negative sample set respectively according to the predetermined ratio, and mix the plurality of positive samples and the plurality of negative samples extracted from the second positive sample set and the second negative sample set to obtain the second sample data set; The sampling operation adopts multiple random sampling with replacement; Wherein, before the step of obtaining multiple sample data sets of the target business, the following steps are included: Get all positive sample data generated in n time intervals; All the positive sample data are distributed to positive sample sets corresponding to each time interval according to a preset rule, wherein the positive sample data set includes the first positive sample set and the second positive sample set.
2. The risk assessment model training method based on big data according to claim 1 is characterized in that: The steps of obtaining a verification sample data set of the target business include: Acquire all negative sample data and all positive sample data generated in m time intervals, where there is no overlapping time interval between the m time intervals and the n time intervals; Performing sampling operations on all negative sample data and all positive sample data generated in the m time intervals to obtain a plurality of negative validation samples and a plurality of positive validation samples; and The multiple negative validation samples and the multiple positive validation samples are mixed to obtain the validation sample data set, wherein the multiple positive validation samples and the multiple negative validation samples are in the predetermined ratio.
3. The risk assessment model training method based on big data according to claim 2 is characterized in that: If the risk assessment accuracy rate corresponding to each target risk assessment model is not greater than the preset threshold: reconfigure multiple risk tags; Based on the reconfigured multiple risk tags, corresponding multiple original data are obtained from the customer database for training and verifying the risk assessment model.
4. A risk assessment method, characterized in that: The method comprises: Receive electronic application forms submitted by users; Extracting basic user information from the application electronic form; Acquire user data corresponding to multiple risk tags of the user according to the basic information of the user; Inputting the user data of the user into the selected target risk assessment model according to any one of claims 1 to 3; According to the risk coefficient output by the selected target risk assessment model, it is determined whether to issue a risk warning message.
5. A risk assessment model training system based on big data, characterized in that: include: A first acquisition module is used to acquire multiple sample data sets of a target business, each sample data set includes positive sample data of multiple positive samples and negative sample data of multiple negative samples, and the multiple positive samples and the multiple negative samples in each sample data set are in a predetermined ratio; A training module, used for training a preconfigured risk assessment model through each sample data set to obtain a plurality of target risk assessment models trained through the plurality of sample data sets; A second acquisition module is used to acquire a verification sample data set of a target business, wherein the verification sample data set includes a plurality of verification data; A verification module, used to input the plurality of verification data into a plurality of risk assessment models respectively, so as to obtain a risk assessment result output by each target risk assessment model based on the verification sample data set; A calculation module is used to calculate the risk assessment accuracy rate corresponding to each target risk assessment model according to the risk assessment result of each target risk assessment model; A judgment module is used to judge whether the risk assessment accuracy rate corresponding to each target risk assessment model is greater than a preset threshold; and A selection module, configured to select the target risk assessment model with the highest risk assessment accuracy if the risk assessment accuracy corresponding to each target risk assessment model is greater than the preset threshold; According to the risk coefficient of each positive validation sample and the risk coefficient of each negative validation sample in the validation sample set, the stability coefficient of each target risk assessment model is calculated; further, the stability coefficient is obtained by a standard deviation formula, and the first stability coefficient of the positive validation sample and the second stability coefficient of multiple negative validation samples are calculated respectively to obtain the stability coefficient of each target risk assessment model; according to the risk assessment accuracy and stability coefficient corresponding to each target risk assessment model, one of the target risk assessment models is selected; Wherein, the first acquisition module is further used for: According to the pre-configured risk tags, obtaining a plurality of original data corresponding to the plurality of risk tags from a customer database; and Acquire the plurality of sample data sets according to the plurality of original data; Wherein, the multiple sample data sets include a first sample data set and a second sample data set; The training module is also used to: Acquire a first positive sample set and a first negative sample set corresponding to a first time interval according to the plurality of original data, perform sampling operations on the first positive sample set and the first negative sample set respectively according to the predetermined ratio, and mix the plurality of positive samples and the plurality of negative samples extracted from the first positive sample set and the first negative sample set to obtain the first sample data set; Acquire a second positive sample set and a second negative sample set corresponding to a second time interval according to the plurality of original data, perform sampling operations on the second positive sample set and the second negative sample set respectively according to the predetermined ratio, and mix the plurality of positive samples and the plurality of negative samples extracted from the second positive sample set and the second negative sample set to obtain the second sample data set; The sampling operation adopts multiple random sampling with replacement; Wherein, the first acquisition module is further used for: Get all positive sample data generated in n time intervals; All the positive sample data are distributed to positive sample sets corresponding to each time interval according to a preset rule, wherein the positive sample data set includes the first positive sample set and the second positive sample set.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the computer program is executed by a processor, the steps of the risk assessment model training method based on big data are implemented as described in any one of claims 1 to 3.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which can be executed by at least one processor so that the at least one processor performs the steps of the risk assessment model training method based on big data as described in any one of claims 1 to 3.
8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to claims 1 to 3 are implemented.
