Risk prediction model training method, risk prediction method and device

By using users' application download data to build a training sample set and generate a risk prediction model, it solves the problem of inaccurate risk assessment in financial institutions when they lack historical credit records and improves the accuracy of risk prediction.

CN118657367APending Publication Date: 2024-09-17MASHANG CONSUMER FINANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410175866.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-07
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

When financial institutions assess user risks, the lack of historical credit records leads to inaccurate risk assessments, especially when users lack historical credit records.

Method used

By obtaining the download data of the target application from the user's terminal device, the application download characteristics are determined, and a training sample set is constructed based on these characteristics and user data, and iterative training is performed to generate a risk prediction model and improve the accuracy of risk prediction.

Benefits of technology

By describing user characteristics in a richer and more three-dimensional way, the accuracy of the risk prediction model is improved, the user's potential risks can be more accurately predicted, and the risk assessment results in financial services are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657367A
    Figure CN118657367A
Patent Text Reader

Abstract

The embodiment of the invention provides a training method of a risk prediction model, and a risk prediction method and device. The training method comprises the following steps: acquiring first user data of a plurality of target users; determining an application downloading feature of the target user according to first downloading data, which is included in the first user data, of a first terminal device of the target user for the target application program; constructing a training sample set based on the application downloading features and the first user data; and performing iterative training processing on the to-be-trained network by using the training sample set to obtain a risk prediction model. According to the embodiment of the invention, the accuracy of risk prediction is improved.
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 risk prediction model training method, a risk prediction method and a risk prediction device. Background Art

[0002] In recent years, financial institutions have provided users with a variety of financial services. In order to avoid losses, financial institutions usually conduct risk assessments on users before or during the provision of financial services to determine whether the user will be overdue for repayment or whether they have the ability to repay. At present, financial institutions conduct risk assessments mainly based on the user's current financial status and historical credit record. However, when the user lacks a historical credit record, accurate risk assessment results cannot be obtained. Therefore, how to enrich user characteristics and conduct accurate risk assessment is a technical problem that needs to be solved urgently. Summary of the invention

[0003] The present application provides a risk prediction model training method, a risk prediction method and a risk prediction device to improve the accuracy of risk prediction.

[0004] In a first aspect, an embodiment of the present application provides a method for training a risk prediction model, comprising:

[0005] Acquire first user data of multiple target users; the target users include users with preset risks and users without the preset risks, and the first user data includes first download data of the first terminal device of the target user for the target application;

[0006] determining application download characteristics of the target user according to the first download data;

[0007] Constructing a training sample set based on the application download characteristics and the first user data;

[0008] The training sample set is used to iteratively train the network to be trained to obtain a risk prediction model.

[0009] It can be seen that in the embodiment of the present application, when training the risk prediction model, the first user data of multiple target users is first obtained, and the first user data includes the first download data of the target user's first terminal device for the target application; then, according to the first download data, the application download characteristics of the target user are determined; and based on the application download characteristics and the first user data, a training sample set is constructed; thereafter, the training network is iteratively trained using the training sample set to obtain a risk prediction model. Since the target application is commonly used by users who enjoy financial services, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics, etc. Therefore, constructing a training sample set based on the application download characteristics of the target user for the target application can more richly and three-dimensionally characterize the user characteristics. Therefore, training the risk prediction model based on the training sample set can enable the model to learn more risk-related user characteristics, improve the accuracy of the risk prediction model, and then improve the accuracy of the user risk prediction.

[0010] In a second aspect, an embodiment of the present application provides a risk prediction method, comprising:

[0011] Acquire second user data of the user to be predicted; the second user data includes third download data of the third terminal device of the user to be predicted for the target application;

[0012] Determining application download characteristics of the to-be-predicted user according to the third download data;

[0013] Determining prediction information of the user to be predicted based on the application download characteristics of the user to be predicted and the second user data;

[0014] The prediction information is input into a risk prediction model for risk prediction processing to obtain a prediction result; the risk prediction model is trained by the risk prediction model training method provided by the first aspect above, and the prediction result represents whether the user to be predicted has a preset risk in a preset period of time in the future.

[0015] It can be seen that in the embodiment of the present application, when the second user data of the user to be predicted is obtained, the application download characteristics of the user to be predicted are determined according to the third download data of the third terminal device of the user to be predicted for the target application included in the second user data; and based on the application download characteristics of the user to be predicted and the second user data, the prediction information of the user to be predicted is determined; the prediction information is input into the risk prediction model for risk prediction processing to obtain the prediction result. Since in the training process of the risk prediction model, the training sample set is constructed based on the application download characteristics of the target application by the user. Among the users who enjoy financial services, the target application is commonly used, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics. Therefore, constructing a training sample set based on the application download characteristics of the target application by the target user can more richly and three-dimensionally characterize the user characteristics, so that the model can learn more risk-related user characteristics and improve the accuracy of the risk prediction model. Then, based on the high-accuracy risk prediction model, the prediction processing is performed based on the prediction information containing the application download characteristics of the user to be predicted, which can greatly improve the accuracy of the user risk prediction.

[0016] In a third aspect, an embodiment of the present application provides a risk prediction model training device, comprising:

[0017] An acquisition module, configured to acquire first user data of a plurality of target users; the target users include users with preset risks and users without the preset risks, and the first user data includes first download data of a first terminal device of the target user for a target application;

[0018] A determination module, configured to determine application download characteristics of the target user according to the first download data;

[0019] A construction module, configured to construct a training sample set based on the application download feature and the first user data;

[0020] The training module is used to perform iterative training on the network to be trained using the training sample set to obtain a risk prediction model.

[0021] In a fourth aspect, an embodiment of the present application provides a risk prediction device, comprising:

[0022] An acquisition module, configured to acquire second user data of the user to be predicted; the second user data includes third download data of a third terminal device of the user to be predicted for a target application;

[0023] A first determining module, configured to determine the application download characteristics of the user to be predicted according to the third download data;

[0024] A second determination module, configured to determine prediction information of the user to be predicted based on the application download characteristics of the user to be predicted and the second user data;

[0025] The prediction module is used to input the prediction information into the risk prediction model for risk prediction processing to obtain a prediction result; the risk prediction model is trained by the risk prediction model training method provided by the first aspect above, and the prediction result characterizes whether the user to be predicted has a preset risk in a preset period of time in the future.

[0026] In a fifth aspect, an embodiment of the present application provides an electronic device, including:

[0027] A processor; and a memory arranged to store computer executable instructions, wherein the executable instructions are configured to be executed by the processor, the executable instructions including steps for executing the training method for the risk prediction model provided in the first aspect above, or the executable instructions including steps for executing the risk prediction method provided in the second aspect above.

[0028] In a sixth aspect, an embodiment of the present application provides a storage medium, which is used to store computer-executable instructions, wherein the executable instructions enable a computer to execute the risk prediction model training method provided in the first aspect, or the executable instructions enable a computer to execute the risk prediction method provided in the second aspect.

[0029] In the seventh aspect, an embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the training method of the risk prediction model provided in the first aspect above, or when the computer program is executed by a processor, it implements the risk prediction method provided in the second aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate one or more embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0031] Figure 1 A first flow chart of a risk prediction model training method provided in an embodiment of the present application;

[0032] Figure 2 A second flow chart of a risk prediction model training method provided in an embodiment of the present application;

[0033] Figure 3 A third flow chart of a risk prediction model training method provided in an embodiment of the present application;

[0034] Figure 4 A fourth flow chart of a risk prediction model training method provided in an embodiment of the present application;

[0035] Figure 5 A first flow chart of a method for training an overdue risk prediction model provided in an embodiment of the present application;

[0036] Figure 6 A schematic diagram of a risk prediction method provided in an embodiment of the present application

[0037] Figure 7 A schematic diagram of the module composition of a risk prediction model training device provided in an embodiment of the present application;

[0038] Figure 8 A schematic diagram of the module composition of a risk prediction device provided in an embodiment of the present application;

[0039] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of the present application, the technical solutions in one or more embodiments of the present application will be clearly and completely described below in conjunction with the drawings in one or more embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on one or more embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0041] At present, when financial institutions conduct risk assessment on users, they mainly conduct it based on the user's current financial status and historical credit record. That is, when conducting risk assessment, the user's current financial status and historical credit record are first obtained and used as the first data; then the first data is processed to obtain the second data; then the second data is classified into variables, and for the first variable, the first preset feature binning rule is used for feature binning, and for the second variable, the second preset feature binning rule is used for feature binning; and the variables after feature binning are subjected to feature screening, and a model is established based on the feature screening results and the corresponding model indicators are generated. However, not all users have historical credit records. Therefore, when the user to be assessed lacks a historical credit record, the first data cannot fully characterize the user characteristics of the user to be assessed, and therefore an accurate risk assessment result cannot be obtained. Considering that with the popularization of mobile Internet and the widespread use of terminal devices (such as mobile phones, etc.), the application (Application, referred to as App) in the terminal device will bring a large amount of user behavior data, such as the download data of the application on the terminal device by the user. The download data can not only reflect the interests and preferences of users, but also different types of applications often represent different consumption habits and lifestyles, and consumption habits and lifestyles are often related to the potential credit characteristics of users. Based on this, the embodiment of the present application provides a training method, a risk prediction method and a device for a risk prediction model. In the training method, firstly, the first user data of multiple target users are obtained, wherein the target users include users with preset risks and users without preset risks, and the first user data includes the first download data of the first terminal device of the target user for the target application; then, according to the first download data, the application download characteristics of the target user are determined; and based on the application download characteristics and the first user data, a training sample set is constructed; then, the constructed training sample set is used to iteratively train the training network to obtain a risk prediction model. Because among users who enjoy financial services, the target application is commonly used by users, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and consumption habits and lifestyle are often related to the user's potential credit characteristics. Therefore, constructing a training sample set based on the application download characteristics of the target user for the target application can more richly and three-dimensionally characterize user characteristics. Therefore, training the risk prediction model based on the training sample set can enable the model to learn more user characteristics related to risks, improve the accuracy of the risk prediction model, and further improve the accuracy of user risk prediction.

[0042] Specifically, Figure 1 A flowchart of a method for training a risk prediction model provided for one or more embodiments of the present application. Figure 1The method can be executed by a training device for a risk prediction model, and the training device can be set in an electronic device. The electronic device can be a terminal device or a server. The terminal device can be a mobile phone, a tablet computer, a desktop computer, a portable notebook, etc. The server can be an independent server, a server cluster composed of multiple servers, or a cloud server for cloud computing processing. Figure 1 As shown, the method comprises the following steps:

[0043] Step S102, obtaining first user data of multiple target users; the target users include users with preset risks and users without preset risks, and the first user data includes first download data of a first terminal device of the target user for a target application;

[0044] Among them, the preset risk can be any one of overdue risk, financial risk, credit risk, etc. Overdue risk can be the risk of performing the agreed operation after the agreed date, etc. Financial risk can be the risk of financial deficit, inability to repay, etc. Credit risk can be the risk of not performing the agreed operation, etc.

[0045] In order to ensure the accuracy of the training samples, in the embodiment of the present application, a sampling period and an observation period can be selected in the historical time, and the target users are users who have financial behaviors related to the preset risks during the sampling period and the observation period. As an example, the preset risk is overdue risk, the sampling period is from January 1, 2023 to June 30, 2023, and the observation period is from July 1, 2023 to August 31, 2023. The target users may include users who have repayment behaviors from January 1, 2023 to June 30, 2023, some of the target users have overdue behaviors from July 1, 2023 to August 31, 2023, and other target users have no overdue behaviors from July 1, 2023 to August 31, 2023. Alternatively, some of the target users have overdue payments of less than 30 days between July 1, 2023 and August 31, 2023, and other target users have overdue payments of more than 30 days between July 1, 2023 and August 31, 2023.

[0046] The first user data may also include the user identification of the target user, user tags, basic information of the user, current asset information, historical financial data, etc. The user tag represents the risk status of the corresponding target user regarding the preset risk during the observation period. Continuing with the above example, the preset risk is overdue risk, and the user tags include 0 and 1. When some of the target users have overdue behavior from July 1, 2023 to August 31, 2023, and other target users have no overdue behavior from July 1, 2023 to August 31, 2023, tag 0 can represent that the corresponding target user has no overdue risk during the observation period, and tag 1 can represent that the corresponding target user has an overdue risk during the observation period. When some of the target users have overdue behaviors with an overdue period of less than 30 days from July 1, 2023 to August 31, 2023, and other target users have overdue behaviors with an overdue period of more than 30 days from July 1, 2023 to August 31, 2023, label 0 can represent that the corresponding target user has an overdue risk of less than 30 days during the observation period, label 1 can represent that the corresponding target user has an overdue risk of more than 30 days during the observation period, etc. It can be understood that the specific content and meaning of the preset risk and user label can be set as needed in actual applications. For example, in some embodiments, the preset risk is credit risk, and the user label includes 0 and 1, where label 0 can represent that the corresponding target user has no credit risk during the observation period, and label 1 can represent that the corresponding target user has a credit risk during the observation period, etc., which will not be listed one by one in this application.

[0047] The target application may include various applications other than system applications (such as calendar, memo, etc.), such as social-related applications, shopping-related applications, financial management-related applications, etc. The first download data may include the application name, application identifier, download time, and user identifier of the target user of the target application. The application identifier is a globally unique code of the target application, and the application identifier may also be referred to as the package name (Pkgname) of the installation package of the target application.

[0048] Step S104, determining the application download characteristics of the target user according to the first download data;

[0049] In some implementations, the application download characteristics of the target user may be determined according to the first download data in different determination methods. The specific determination process of the application download characteristics may refer to the relevant description below.

[0050] Step S106, constructing a training sample set based on the application download feature and the first user data;

[0051] In some implementations, the application download feature and the first user data may be integrated to obtain a training sample set. The specific construction process of the training sample set may refer to the relevant description below.

[0052] Step S108, using the training sample set to iteratively train the network to be trained to obtain a risk prediction model.

[0053] In some embodiments, it can be seen that the training sample set is divided into a training set and a test set, and the target training sample used in the current training round is obtained from the training set. The target training sample is input into the network to be trained for risk prediction processing to obtain the prediction result and the trained network to be trained. According to the loss function, the target loss is determined based on the prediction result and the user label in the target training sample. If the target loss is greater than the preset loss, the next round of training processing is performed in the aforementioned manner. If the target loss is not greater than the preset loss, and the network to be trained when the training end condition is met is determined as the network to be tested, the sample in the test set is input into the network to be tested for risk prediction processing to obtain the prediction result; if it is determined according to the test result that the training end condition is met, the network to be trained is determined as a risk prediction model; if it is determined according to the test result that the training end condition is not met, the training set is used to iteratively train the network to be tested again until a risk prediction model is obtained. Among them, the loss function can be a cross entropy loss function. The network to be trained can be a Light GBM network. For the specific process of iterative training and risk prediction processing, reference can be made to the relevant technology, which will not be further described in this application.

[0054] It should be noted that the risk prediction model is used to predict whether the user to be predicted has a preset risk in the future preset period based on the prediction information of the user to be predicted. It can be understood that the meaning of the prediction result of the risk prediction model is related to the meaning of the user label. Continuing with the above example, the preset risk is overdue risk, and the user label includes 0 and 1. When label 0 represents that the corresponding target user has no overdue risk in the observation period, and label 1 represents that the corresponding target user has an overdue risk in the observation period, the prediction result of the risk prediction model may include the probability that the user to be predicted has an overdue risk in the future preset period, and the probability that the user to be predicted has no overdue risk in the future preset period. When label 0 represents that the corresponding target user has an overdue risk of less than 30 days in the observation period, and label 1 represents that the corresponding target user has an overdue risk of more than 30 days in the observation period, the prediction result of the risk prediction model may include the probability that the user to be predicted has an overdue risk of less than 30 days in the future preset period, and the probability that the user to be predicted has an overdue risk of more than 30 days in the future preset period.

[0055] In one or more embodiments of the present application, when training a risk prediction model, first obtain the first user data of multiple target users, and the first user data includes the first download data of the target user's first terminal device for the target application; then determine the application download characteristics of the target user based on the first download data; and construct a training sample set based on the application download characteristics and the first user data; then, use the training sample set to iteratively train the training network to obtain a risk prediction model. Since the target application is commonly used by users who enjoy financial services, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics, etc. Therefore, constructing a training sample set based on the target user's application download characteristics for the target application can more richly and three-dimensionally characterize user characteristics. Therefore, training a risk prediction model based on the training sample set can enable the model to learn more risk-related user characteristics, improve the accuracy of the risk prediction model, and then improve the accuracy of user risk prediction.

[0056] In order to protect the rights and interests of users, in one or more embodiments of the present application, before step S102, it may also include: obtaining the authorization information of the target user; wherein the authorization information indicates that the target user has granted the training device permission to obtain the first downloaded data of its target application. In some embodiments, the target user's first terminal device may download a financial application of a financial institution, and obtain the authorization information of the target user in the financial application through a pop-up window or the like. It should be pointed out that the method of obtaining the authorization information is not limited to this, and it can be set according to actual needs in actual applications, and this application does not make specific restrictions on this.

[0057] In order to obtain rich application download-related features of the target user, in one or more embodiments of the present application, multiple different determination methods may be combined to determine the application download features of the target user according to the first download data. Specifically, Figure 2 As shown, step S104 may include the following steps S104-2 to S104-8:

[0058] Step S104-2, for each target user, determining risk classification information of the target user according to the first download data included in the first user data of the target user;

[0059] It should be noted that the execution order of steps S104-2 to S104-6 is not limited to Figure 2 As shown, they can be interchangeable with each other and can also be performed simultaneously. In some embodiments, steps S104-2 to S104-6 are performed simultaneously, such as Figure 3As shown, step S104-2 may include the following steps S104-22 to S104-26:

[0060] Step S104-22, for each target user, obtaining the application name of the target application from the first download data included in the first user data of the target user;

[0061] The first download data may include at least one download record, each download record corresponds to a target application, and the download record includes information such as the application name, download time, application identifier, and user identifier of the target application. In some embodiments, each target user may correspond to a download information table, and the download information table includes the first download data of the target user. Accordingly, step S104-22 may include: for each target user, obtaining the application name of the corresponding target application from each download record included in the download information table corresponding to the target user. In other embodiments, after obtaining the first download data of each target user, the training device may also save each first download data into the same download information table. Accordingly, step S104-22 may include: according to the user identifier of the target user, obtaining the associated target download record from the download information table, and obtaining the application name of the corresponding target application from the target download record.

[0062] Step S104-24, determining the target encoding data for each application name;

[0063] Considering the variety of applications currently on the market, different target users often download different target applications. In order to quickly determine the target coding data of the application name of each target application downloaded by each target user, in one or more embodiments of the present application, before step S104-2, it may also include: based on the authorization information of multiple authorized users, obtaining the second download data of the second terminal device of the authorized user for the target application; determining the number of downloads of each target application according to the second download data; encoding the application name of the target application corresponding to the target download number to obtain the first coding data; and establishing an association relationship between the application name and the first coding data. Correspondingly, step S104-24 may include: for each application name, obtaining the associated first coding data from the association relationship between the application name and the first coding data according to the application name; determining the obtained first coding data as the target coding data of the application name. Among them, the authorized users may include the target user or may not include the target user. The target download number is the number of downloads that meets the preset conditions.

[0064] In some embodiments, the target download count may be the N download counts that are ranked first in descending order among the download counts. In some embodiments, after the download count of each target application is determined, the download count may be sorted in ascending order to obtain a sorting result, and the application names of the first N target applications in the sorting result are determined as the target application names to be encoded. Alternatively, after the download count of each target application is determined, the download count may be sorted in descending order to obtain a sorting result, and the application names of the last N target applications in the sorting result are determined as the target application names to be encoded. Among them, N can be set as needed in actual applications, for example, N is 5000.

[0065] In some implementations, the first coded data may be a number, for example, the first coded data of application name 1 is 0, the first coded data of application name 2 is 1, the first coded data of application name 3 is 2, and so on. The specific form of the first coded data is not limited thereto, and can be set as needed in actual applications.

[0066] Step S104-26, classify the target coded data to obtain risk classification information of the target user;

[0067] Specifically, the target coded data is input into the classification model, and the target coded data is converted and processed by the classification model to obtain target feature data; and the features in the target feature data are subjected to a first fusion process to obtain first fused data; the features in the target feature data are subjected to a second fusion process to obtain second fused data; classification is performed according to the first fusion data and the second fusion data to obtain risk classification information of the target user.

[0068] In some embodiments, for each target user, the risk classification information of the target user can be determined by the classification model according to the first download data included in the first user data of the target user. Accordingly, step S104-26 may include: inputting the target coding data into the classification model, converting the target coding data by the classification model to obtain target feature data; and performing a first fusion process on the features in the target feature data by the classification model to obtain first fusion data; performing a second fusion process on the features in the target feature data by the classification model to obtain second fusion data; and classifying the first fusion data and the second fusion data by the classification model to obtain the risk classification information of the target user. Among them, the classification model can process variable length sparse features (Variable Length Sparse Feature). It can be understood that the lengths of different target coding data may be different. For example, if the target coding data is a number, the target coding data may include a single-digit number, a two-digit number, a three-digit number, etc. When the classification model converts the target coding data, each target coding data can be converted into feature data with a length of m, and a matrix of N*m dimensions is generated based on each feature data with a length of m, and the N*m-dimensional matrix is ​​determined as the target feature data. That is, the target feature data includes N rows and m columns, each row corresponds to a target application name, and each row includes m features. For target application names not included in the first download data of the target user, the corresponding row in the target feature data can be filled with m zeros.

[0069] In some embodiments, performing the first fusion processing on the features in the target feature data to obtain the first fused data may include: performing an addition processing on each column of features in the target feature data to obtain an addition result, and using the addition result as the target feature of the corresponding column to obtain the first fused data. That is, the first fused data is a 1*m-dimensional feature vector.

[0070] In some embodiments, performing the second fusion processing on the features in the target feature data to obtain the second fused data may include: averaging the features of each column in the target feature data, and using the average value as the target feature of the corresponding column to obtain the second fused data. That is, the second fused data is a 1*m-dimensional feature vector.

[0071] In some implementations, the above classification based on the first fused data and the second fused data to obtain the risk classification information of the target user may include: using a softmax function to classify based on the first fused data and the second fused data to obtain the risk classification information of the target user. As an example, the preset risk is overdue risk, and the obtained risk classification information may include two probability values, one of which represents the probability that the target user has an overdue risk, and the other represents the probability that the target user does not have an overdue risk.

[0072] It should be noted that the classification model can be pre-trained or trained simultaneously with the risk prediction model. In some embodiments, the classification model can be a DeepFM model. For the specific data processing process of the classification model, reference can be made to the relevant technology, which will not be further described here.

[0073] Step S104-4, determining application classification information of the target user according to a plurality of preset application categories and the first downloaded data included in the first user data of the target user;

[0074] Specifically, Figure 3 As shown, step S104-4 may include the following steps 104-42 to S104-48:

[0075] Step S104-42, for each target user, obtaining the application name of the target application from the first download data included in the first user data of the target user;

[0076] The specific process of obtaining the application name can be referred to the relevant description in the previous text, and the repeated parts will not be repeated here.

[0077] Step S104-44, for each application name, determining a target application category to which the target application corresponding to the application name belongs among multiple application categories;

[0078] Among them, the multiple application categories include at least one designated application category related to the preset risk (such as payment category, financial management category, money saving category, etc.), and other application categories that are not related to the preset risk. In order to facilitate the determination of the target application category to which the target application corresponding to each application name belongs in the multiple application categories, in one or more embodiments of the present application, the application categories to which some target application programs belong are obtained from network data in advance, and an association relationship between the application name and the application category is established; and keywords are set in advance for each designated application category, and matching processing is performed based on the keywords. For example, the keywords set for the payment category may include pay, brush, wallet, etc. Accordingly, step S104-44 may include: for each application name, determining whether an associated application category is obtained according to the association relationship between the application name and the application category; if the associated application category is obtained, determining the obtained application category as the target application category to which the target application corresponding to the application name belongs among multiple application categories; if the associated application category is not obtained, matching the application name with the keyword corresponding to each specified application category, and if there is a successfully matched keyword, determining the specified application category corresponding to the successfully matched keyword as the target application category to which the target application corresponding to the application name belongs among multiple application categories; if there is no successfully matched keyword, determining other application categories as the target application category to which the target application corresponding to the application name belongs among multiple application categories.

[0079] Step S104-46, determining, according to each target application category, a first number of target application programs downloaded by the first terminal device of the target user for each designated application category;

[0080] As an example, the specified application categories include payment category, financial management category, money saving category, etc., and it is determined that the target application category to which the target application 1 of the target user 1 belongs is the financial management category, the target application category to which the target application 2 belongs is the payment category, the target application category to which the target application 3 belongs is the payment category, the target application category to which the target application 4 belongs is the money saving category, the target application category to which the target application 5 belongs is the other application category, the target application category to which the target application 6 belongs is the payment category, and the target application category to which the target application 7 belongs is the money saving category; then it is determined that the first number of target applications downloaded by the target user's first terminal device for the payment category is 3, the first number of target applications downloaded for the financial management category is 1, and the first number of target applications downloaded for the money saving category is 2.

[0081] Step S104-48: determine each first quantity as application classification information of the target user.

[0082] Continuing with the above example, the first number 3 of target applications downloaded in the payment category, the first number 1 of target applications downloaded in the financial management category, and the first number 2 of target applications downloaded in the money saving category are determined as application classification information of the target user.

[0083] Step S104-6, determining application attribute information of the target user according to the application risk classification rule and the first downloaded data included in the first user data of the target user;

[0084] Specifically, Figure 3 As shown, step S104-6 may include the following steps S104-62 to S104-66:

[0085] Step S104-62, dividing the first downloaded data included in the first user data of the plurality of target users according to the application identifier to obtain a first downloaded data set of each target application program;

[0086] Considering that in actual applications, the same target application may have a phenomenon of changing the application name, and the application identifier can uniquely identify a target application. Based on this, in one or more embodiments of the present application, the first download data of each target user is divided and processed according to the application identifier to obtain the first download data set of each target application. Among them, each first download data set includes at least one download record, and each download record includes the user identifier of the corresponding target user, the application name of the downloaded target application, the download time, etc.

[0087] Step S104-64, determining an application risk level of a preset risk according to the first download data set;

[0088] Specifically, for each target application's first download data set, determine the first user number of target users who downloaded the target application based on the first download data set; determine the target application corresponding to the first user number greater than the user number threshold as the application to be processed; for each application to be processed, determine the risk probability of the application to be processed with respect to the preset risk based on the user label of the target user who downloaded the application to be processed and the first user number; determine the application risk level of the preset risk based on the risk probability threshold and the maximum risk probability among the risk probabilities.

[0089] More specifically, for each target application's first download data set, determine the number of user identifiers included in the first download data set, and determine the number of user identifiers as the first user number of target users who download the corresponding target application. Compare the first user number corresponding to each target application with the user number threshold to obtain a target first user number greater than the user number threshold, and determine the target application corresponding to the target first user number as the application to be processed. For each application to be processed, determine the second user number of target users with a preset risk based on the user tag of the target user who downloaded the application to be processed, and determine the risk probability of the application to be processed with respect to the preset risk based on the first user number and the second user number. Determine the maximum risk probability among the risk probabilities, which is greater than the risk probability threshold, and divide the probability interval consisting of the risk probability threshold to the maximum risk probability into T equal parts to obtain T application risk levels of the preset risk.

[0090] Wherein, risk probability = (number of second users / number of first users)*100. T can be set as required in actual applications.

[0091] As an example, the preset risk is overdue risk, the risk probability can be the overdue rate, the risk probability threshold can be the overdue rate threshold, the overdue rate threshold is 50, and T is 3, that is, the overdue risk corresponds to three application risk levels: low, medium, and high. If the number of first users corresponding to the first download data set of the target application 1 is 10, and the number of second users is 2, that is, there are 10 target users who download the target application 1, and among the 10 target users, the user tags of two users represent the existence of overdue risk. Then the risk probability of the target application 1 is determined to be 20, and the risk probability of each target application can be determined in the same way. If the maximum risk probability among the risk probabilities of each target application is 80, 50-80 is divided into three equal parts to obtain three risk probability intervals of 50-60, 60-70, and 70-80, and the application risk level corresponding to the risk probability interval of 50-60 is determined as low, the application risk level corresponding to the risk probability interval of 60-70 is determined as medium, and the application risk level corresponding to the risk probability interval of 70-80 is determined as high.

[0092] Step S104-66, determining the application attribute information of the target user according to the first downloaded data, the first downloaded data set and the application risk level.

[0093] Specifically, the pending applications corresponding to the risk probabilities greater than the risk probability threshold are determined as risky applications; for each target user, the target application risk level of the target user is determined according to the risk probability of the target user's risky applications and the probability interval corresponding to each application risk level; and, according to the application names in the target first download data set, the maximum number of name changes and the average number of name changes of the target user's risky applications are determined; wherein the target first download data set is the first download data set of the risky application of the target user; the latest download time is obtained from the target first download data set, and the target number of days from the latest download time to the target time is determined; the target application risk level, the maximum number of name changes, the average number of name changes and the target number of days are determined as the application attribute information of the target user.

[0094] More specifically, the risk probability of each target application is compared with the risk probability threshold to obtain a target risk probability greater than the risk probability threshold, and the target application corresponding to the target risk probability is determined as a risk application. For each target user, the risk probability of each risk application of the target user is matched with the probability interval corresponding to each application risk level to obtain the candidate application risk level corresponding to the probability interval that matches successfully; the highest application risk level among the candidate application risk levels is determined as the target application risk level corresponding to the target user. And, the first download data set of the risk applications of the target user is determined as the target first download data set; the second number of application names included in each target first download data set is determined; the third number after the second number is subtracted by 1 is determined as the number of name changes of the corresponding risk application, and the maximum number of name changes is determined. The number of name changes of each risk application of the target application is added to obtain the addition result; the addition result is divided by the fourth number of risk applications of the target user to obtain the average number of name changes. And, the download time in the target first download data set is compared to obtain the latest download time; the target number of days between the latest download time and the target time is determined. The target application risk level, maximum number of name changes, average number of name changes and target days are determined as the application attribute information of the target user. Among them, the latest download time is the last download time obtained by sorting the download times in the target first download data set in order from the beginning to the end. The target time can be the last day of the sampling period.

[0095] As an example, if the risk probability of target application 1 of target user 1 is 20, the risk probability of target application 2 is 56, the risk probability of target application 3 is 75, and the risk probability of target application 4 is 62, then it can be determined that the risk applications of target user 1 are target application 2, target application 3, and target application 4, and the application risk level of target application 2 is low, the application risk level of target application 3 is high, and the application risk level of target application 4 is medium, then the target application risk level of target user 1 is determined to be high. And, if the number of application names included in the first download data set of target application 2 is 2, the number of application names included in the first download data set of target application 3 is 3, and the number of application names included in the first download data set of target application 4 is 1, then it is determined that the number of name changes of target application 2 is 1, the number of name changes of target application 3 is 2, and the number of name changes of target application 4 is 0, the maximum number of name changes is 2, and the average number of name changes is (1+2+0) / 3=1. The latest download time obtained from the first download data set of target application 2, target application 3, and target application 4 is May 15, 2023, and the target time from the target time June 30, 2023 is 15 days. The target application risk level of target user 1 is high, the maximum number of name changes is 2, the average number of name changes is 1, and 15 days are determined as the application attribute information of target user 1.

[0096] Step S104-8: determine the risk classification information, application classification information and application attribute information as application download characteristics of the target user.

[0097] Therefore, determining the application download characteristics of the target users from different dimensions can more comprehensively and three-dimensionally characterize the user characteristics of the target users regarding the preset risks from the aspect of application downloads, so that in the subsequent training process, the network to be trained can learn more features related to the preset risks and improve the accuracy of the risk prediction model obtained through training.

[0098] Considering that the user's basic information, historical financial records, etc. are also of learning significance, based on this, in one or more embodiments of the present application, Figure 4 As shown, step S106 may include the following steps S106-2 to S106-8:

[0099] Step S106-2, for the first user data of each target user, if it is determined that the first user data contains data to be processed that meets the preprocessing condition, preprocess the data to be processed to obtain target data;

[0100] In some implementations, the preset conditions may include the existence of missing values, the existence of data to be converted, etc. Accordingly, the preprocessing may include data completion for the data to be processed with missing values, and preset conversion processing for the data to be converted. For example, if the first user data includes the user's home address "A Community, Haidian District", it can be completed to "A Community, Haidian District, Beijing"; for another example, if the first user data includes the educational information "bachelor's degree", it can be converted to the corresponding coded data 01, etc. It should be pointed out that the specific content of the preset conditions and the specific method of preprocessing can be set according to the actual application as needed.

[0101] Step S106-4, extracting user features and user tags of the target user from the first user data containing the target data;

[0102] Among them, user characteristics include basic characteristics and historical financial characteristics of target users; basic characteristics may include user age, education, occupation, etc.; historical financial characteristics may include historical credit, historical collection records, historical overdue days, etc.

[0103] Step S106-6, determining the target user's application download features, user features, and user tags as training samples;

[0104] Step S106-8: determine each training sample as a training sample set.

[0105] Therefore, a training sample set is constructed based on the target users' application download characteristics, user characteristics and user labels, so that during the training process, the network to be trained can learn more features related to the preset risks, thereby improving the accuracy of the risk prediction model obtained through training.

[0106] In one or more embodiments of the present application, when training a risk prediction model, first obtain the first user data of multiple target users, and the first user data includes the first download data of the target user's first terminal device for the target application; then determine the application download characteristics of the target user based on the first download data; and construct a training sample set based on the application download characteristics and the first user data; then, use the training sample set to iteratively train the training network to obtain a risk prediction model. Since the target application is commonly used by users who enjoy financial services, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics, etc. Therefore, constructing a training sample set based on the target user's application download characteristics for the target application can more richly and three-dimensionally characterize user characteristics. Therefore, training a risk prediction model based on the training sample set can enable the model to learn more risk-related user characteristics, improve the accuracy of the risk prediction model, and then improve the accuracy of user risk prediction.

[0107] In a specific implementation, the preset risk is overdue risk, and the risk prediction model is an overdue risk prediction model, such as Figure 5 As shown, the method may include the following steps S10 to S22:

[0108] Step S10, obtaining first user data of multiple target users; the target users include users with overdue risks and users without overdue risks, and the first user data includes first download data of the target user's first terminal device for the target application;

[0109] Step S12, for each target user, determining the overdue risk classification information of the target user according to the first download data included in the first user data of the target user;

[0110] Specifically, for each target user, the application name of the target application is obtained from the first download data included in the first user data of the target user; the target coding data of each application name is determined; the target coding data is classified and processed to obtain the overdue risk classification information of the target user.

[0111] Among them, classifying the target coded data to obtain the overdue risk classification information of the target user may include: converting the target coded data to obtain target feature data; and performing a first fusion process on the features in the target feature data to obtain first fusion data; performing a second fusion process on the features in the target feature data to obtain second fusion data; and classifying according to the first fusion data and the second fusion data to obtain the overdue risk classification information of the target user. The overdue risk classification information may include two probability values, one of which represents the probability that the target user has an overdue risk, and the other represents the probability that the target user does not have an overdue risk.

[0112] Step S14, determining application classification information of the target user according to a plurality of preset application categories and the first downloaded data included in the first user data of the target user;

[0113] Specifically, an application name of a target application is obtained from first download data included in first user data of a target user; for each application name, a target application category to which the target application corresponding to the application name belongs among multiple application categories is determined; based on each target application category, a first quantity of target applications downloaded by a first terminal device of the target user for each designated application category is determined; the designated application type is an application category among multiple application categories that is associated with overdue risks; and each first quantity is determined as application classification information of the target user.

[0114] Step S16, determining application attribute information of the target user according to the application risk classification rule and the first downloaded data included in the first user data of the target user;

[0115] Specifically, according to the application identifier, the first download data of multiple target users are divided and processed to obtain the first download data set of each target application; based on the first download data set, the application risk level corresponding to the overdue risk is determined; based on the first download data, the first download data set and the application risk level, the application attribute information of the target user is determined.

[0116] In one or more embodiments of the present application, the first user data also includes a user tag, and the user tag characterizes the risk status of the corresponding target user with respect to the overdue risk during the observation period. Accordingly, the above-mentioned determination of the application risk level corresponding to the overdue risk based on the first download data set may include: for each target application's first download data set, determining the first user number of target users who downloaded the target application based on the first download data set; determining the target application corresponding to the first user number greater than the user number threshold as the application to be processed; for each application to be processed, determining the risk probability of the application to be processed with respect to the overdue risk based on the user tag and the first user number of the target user who downloaded the application to be processed; and determining the application risk level corresponding to the overdue risk based on the risk probability threshold and the maximum risk probability among the determined risk probabilities.

[0117] Step S18, determining the overdue risk classification information, application classification information and application attribute information as application download characteristics of the target user;

[0118] Step S20, constructing a training sample set based on the application download feature and the first user data;

[0119] Step S22, using the training sample set to iteratively train the network to be trained to obtain an overdue risk prediction model.

[0120] For the specific implementation process of step S10 to step S22, reference may be made to the relevant description above, and the repeated parts will not be repeated here.

[0121] In one or more embodiments of the present application, when training an overdue risk prediction model, first obtain the first user data of multiple target users, the first user data includes the first download data of the target user's first terminal device for the target application; then determine the application download characteristics of the target user based on the first download data; and construct a training sample set based on the application download characteristics and the first user data; then, use the training sample set to iteratively train the training network to obtain an overdue risk prediction model. Since the target application is commonly used by users who enjoy financial services, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics. Therefore, constructing a training sample set based on the target user's application download characteristics for the target application can more richly and three-dimensionally characterize user characteristics. Therefore, training the overdue risk prediction model based on the training sample set can enable the model to learn more user characteristics related to overdue risk, improve the accuracy of the overdue risk prediction model, and then improve the accuracy of the user's overdue risk prediction.

[0122] Corresponding to the training method of the risk prediction model described above, based on the same technical concept, one or more embodiments of the present application also provide a risk prediction method. Figure 6 A schematic diagram of a risk prediction method provided in one or more embodiments of the present application, Figure 6 The method can be executed by a risk prediction device. The risk prediction device can be set in an electronic device, and the electronic device can be a terminal device or a server. The terminal device can be a mobile phone, a tablet computer, a desktop computer, a portable notebook, etc. The server can be an independent server, a server cluster composed of multiple servers, or a cloud server for cloud computing processing. Figure 6 As shown, the method comprises the following steps:

[0123] Step S202, obtaining second user data of the user to be predicted; the second user data includes third download data of the third terminal device of the user to be predicted for the target application;

[0124] Among them, the process of obtaining the second user data is the same as the process of obtaining the first user data mentioned above, and the specific content of the third downloaded data is the same as the specific content of the first downloaded data mentioned above. Please refer to the relevant description in the previous text, and the repeated parts will not be repeated here.

[0125] Step S204, determining the application download characteristics of the user to be predicted according to the third download data;

[0126] The implementation process of this step is the same as the implementation process of the aforementioned step S104, and reference may be made to the relevant description in the foregoing text, and the repeated parts will not be repeated here.

[0127] Step S206, determining prediction information of the user to be predicted based on the application download characteristics of the user to be predicted and the second user data;

[0128] Specifically, it is determined whether the second user data contains data to be processed that meets the preprocessing conditions. If so, the data to be processed is preprocessed to obtain the target data. The user features and user labels of the user to be predicted are extracted from the second user data containing the target data; the user features include the basic features and historical financial features of the user to be predicted. The preprocessing process can be referred to in the relevant description above, and the repetitive parts will not be repeated here.

[0129] Step S208, input the prediction information into the risk prediction model for risk prediction processing to obtain a prediction result; the prediction result indicates whether the user to be predicted has a preset risk in a preset period of time in the future.

[0130] The risk prediction model is obtained by training using the risk prediction model training method provided in any of the aforementioned embodiments.

[0131] In some embodiments, the preset risk is overdue risk, and accordingly, the risk prediction model can be an overdue risk prediction model. Step S208 may include: inputting the prediction information into the overdue risk prediction model to perform overdue risk prediction processing to obtain a prediction result; the prediction result represents whether the user to be predicted has an overdue risk in a preset period of time in the future.

[0132] In one or more embodiments of the present application, when the second user data of the user to be predicted is obtained, the application download characteristics of the user to be predicted are determined according to the third download data of the third terminal device of the user to be predicted for the target application included in the second user data; and based on the application download characteristics of the user to be predicted and the second user data, the prediction information of the user to be predicted is determined; the prediction information is input into the risk prediction model for risk prediction processing to obtain a prediction result. Since in the training process of the risk prediction model, the training sample set is constructed based on the application download characteristics of the target application by the user. Among the users who enjoy financial services, the target application is commonly used, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics. Therefore, constructing a training sample set based on the application download characteristics of the target application by the target user can more richly and three-dimensionally characterize the user characteristics, so that the model can learn more risk-related user characteristics and improve the accuracy of the risk prediction model. Then, based on the high-accuracy risk prediction model, the prediction processing is performed based on the prediction information containing the application download characteristics of the user to be predicted, which can greatly improve the accuracy of the user risk prediction.

[0133] Corresponding to the risk prediction model training method described above, based on the same technical concept, one or more embodiments of the present application also provide a risk prediction model training device. Figure 7 A schematic diagram of the module composition of a risk prediction model training device provided in one or more embodiments of the present application, such as Figure 7 As shown, the device comprises:

[0134] An acquisition module 301 is used to acquire first user data of multiple target users; the target users include users with preset risks and users without the preset risks, and the first user data includes first download data of a first terminal device of the target user for a target application;

[0135] A determination module 302, configured to determine application download characteristics of the target user according to the first download data;

[0136] A construction module 303, configured to construct a training sample set based on the application download feature and the first user data;

[0137] The training module 304 is used to perform iterative training on the network to be trained using the training sample set to obtain a risk prediction model.

[0138] The training device of the risk prediction model provided by the embodiment of the present application first obtains the first user data of multiple target users when training the risk prediction model, and the first user data includes the first download data of the target user's first terminal device for the target application; then, according to the first download data, the application download characteristics of the target user are determined; and based on the application download characteristics and the first user data, a training sample set is constructed; thereafter, the training network is iteratively trained using the training sample set to obtain a risk prediction model. Since the target application is commonly used by users who enjoy financial services, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics, etc. Therefore, constructing a training sample set based on the application download characteristics of the target user for the target application can more richly and three-dimensionally characterize the user characteristics. Therefore, training the risk prediction model based on the training sample set can enable the model to learn more risk-related user characteristics, improve the accuracy of the risk prediction model, and then improve the accuracy of the user risk prediction.

[0139] It should be noted that the embodiment of the training device for the risk prediction model in the present application and the embodiment of the training method for the risk prediction model in the present application are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding training method for the risk prediction model, and the repeated parts will not be repeated.

[0140] Each module in the training device of the risk prediction model can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the terminal device or the processor on the server side in the form of hardware, or can be stored in the memory in the terminal device or the memory on the server side in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0141] Furthermore, corresponding to the risk prediction method described above, based on the same technical concept, one or more embodiments of the present application also provide a risk prediction device. Figure 8 A schematic diagram of the module composition of a risk prediction device provided in one or more embodiments of the present application, such as Figure 8 As shown, the device comprises:

[0142] The acquisition module 401 is used to acquire second user data of the user to be predicted; the second user data includes third download data of the third terminal device of the user to be predicted for the target application;

[0143] A first determining module 402, configured to determine the application download characteristics of the user to be predicted according to the third download data;

[0144] A second determination module 403, configured to determine prediction information of the user to be predicted based on the application download characteristics of the user to be predicted and the second user data;

[0145] The prediction module 404 is used to input the prediction information into the risk prediction model for risk prediction processing to obtain a prediction result; the risk prediction model is trained by the risk prediction model training method provided by the first aspect above, and the prediction result represents whether the user to be predicted has a preset risk in a preset period of time in the future.

[0146] The risk prediction device provided in the embodiment of the present application, when obtaining the second user data of the user to be predicted, determines the application download characteristics of the user to be predicted according to the third download data of the third terminal device of the user to be predicted for the target application included in the second user data; and determines the prediction information of the user to be predicted based on the application download characteristics of the user to be predicted and the second user data; inputs the prediction information into the risk prediction model for risk prediction processing to obtain the prediction result. Since in the training process of the risk prediction model, the training sample set is constructed based on the application download characteristics of the target application by the user. Among the users who enjoy financial services, the target application is commonly used, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics, etc. Therefore, constructing a training sample set based on the application download characteristics of the target application by the target user can more richly and three-dimensionally characterize the user characteristics, so that the model can learn more risk-related user characteristics and improve the accuracy of the risk prediction model. Then, based on the high-accuracy risk prediction model, the prediction processing is performed based on the prediction information containing the application download characteristics of the user to be predicted, which can greatly improve the accuracy of the user risk prediction.

[0147] It should be noted that the embodiment of the risk prediction device in the present application and the embodiment of the risk prediction method in the present application are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding risk prediction method mentioned above, and the repeated parts will not be repeated.

[0148] Each module in the above risk prediction device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of the processor in the terminal device or the processor on the server side in the form of hardware, or can be stored in the memory in the terminal device or the memory on the server side in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0149] Furthermore, corresponding to the risk prediction model training method and risk prediction method described above, based on the same technical concept, one or more embodiments of the present application also provide an electronic device, which is used to execute the risk prediction model training method and risk prediction method described above. Fig. 9 A schematic diagram of the structure of an electronic device provided for one or more embodiments of the present application.

[0150] like Fig. 9As shown, the electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors 501 and memory 502, and the memory 502 may store one or more storage applications or data. Among them, the memory 502 can be a temporary storage or a permanent storage. The application stored in the memory 502 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the electronic device. Furthermore, the processor 501 can be configured to communicate with the memory 502 to execute a series of computer executable instructions in the memory 502 on the electronic device. The electronic device may also include one or more power supplies 503, one or more wired or wireless network interfaces 504, one or more input and output interfaces 505, one or more keyboards 506, etc.

[0151] In a specific embodiment, the electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the electronic device, and the one or more programs configured to be executed by one or more processors include the following computer executable instructions:

[0152] Acquire first user data of multiple target users; the target users include users with preset risks and users without the preset risks, and the first user data includes first download data of the first terminal device of the target user for the target application;

[0153] determining application download characteristics of the target user according to the first download data;

[0154] Constructing a training sample set based on the application download characteristics and the first user data;

[0155] The training sample set is used to iteratively train the network to be trained to obtain a risk prediction model.

[0156] The electronic device provided by one or more embodiments of the present application, when training a risk prediction model, first obtains the first user data of multiple target users, and the first user data includes the first download data of the target user's first terminal device for the target application; then, according to the first download data, determines the application download characteristics of the target user; and based on the application download characteristics and the first user data, constructs a training sample set; then, uses the training sample set to iteratively train the training network to obtain a risk prediction model. Because among users who enjoy financial services, the target application is commonly used by users, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics, etc. Therefore, constructing a training sample set based on the application download characteristics of the target user for the target application can more richly and three-dimensionally characterize the user characteristics. Therefore, training the risk prediction model based on the training sample set can enable the model to learn more risk-related user characteristics, improve the accuracy of the risk prediction model, and then improve the accuracy of the user risk prediction.

[0157] In another specific embodiment, the electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the electronic device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0158] Acquire second user data of the user to be predicted; the second user data includes third download data of the third terminal device of the user to be predicted for the target application;

[0159] Determining application download characteristics of the to-be-predicted user according to the third download data;

[0160] Determining prediction information of the user to be predicted based on the application download characteristics of the user to be predicted and the second user data;

[0161] The prediction information is input into a risk prediction model for risk prediction processing to obtain a prediction result; the risk prediction model is trained by the risk prediction model training method provided by the first aspect above, and the prediction result represents whether the user to be predicted has a preset risk in a preset period of time in the future.

[0162] The electronic device provided in the embodiment of the present application, when obtaining the second user data of the user to be predicted, determines the application download characteristics of the user to be predicted according to the third download data of the third terminal device of the user to be predicted for the target application included in the second user data; and determines the prediction information of the user to be predicted based on the application download characteristics of the user to be predicted and the second user data; inputs the prediction information into the risk prediction model for risk prediction processing to obtain the prediction result. Since in the training process of the risk prediction model, the training sample set is constructed based on the application download characteristics of the target application by the user. Among the users who enjoy financial services, the target application is commonly used, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics. Therefore, constructing a training sample set based on the application download characteristics of the target application by the target user can more richly and three-dimensionally characterize the user characteristics, so that the model can learn more risk-related user characteristics and improve the accuracy of the risk prediction model. Then, based on the high-accuracy risk prediction model, the prediction processing is performed based on the prediction information containing the application download characteristics of the user to be predicted, which can greatly improve the accuracy of the user risk prediction.

[0163] It should be noted that the embodiments of the electronic device in the present application and the embodiments of the risk prediction model training method and the risk prediction method in the present application are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the aforementioned corresponding risk prediction model training method and the implementation of the risk prediction method, and the repeated parts will not be repeated.

[0164] Furthermore, corresponding to the risk prediction model training method and risk prediction method described above, based on the same technical concept, one or more embodiments of the present application further provide a storage medium for storing computer executable instructions. In a specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer executable instructions stored in the storage medium are executed by the processor, the following process can be implemented:

[0165] Acquire first user data of multiple target users; the target users include users with preset risks and users without the preset risks, and the first user data includes first download data of the first terminal device of the target user for the target application;

[0166] determining application download characteristics of the target user according to the first download data;

[0167] Constructing a training sample set based on the application download characteristics and the first user data;

[0168] The training sample set is used to iteratively train the network to be trained to obtain a risk prediction model.

[0169] When the computer executable instructions stored in the storage medium provided by one or more embodiments of the present application are executed by the processor, the first user data of multiple target users is first obtained, and the first user data includes the first download data of the target user's first terminal device for the target application; then, the application download characteristics of the target user are determined according to the first download data; and a training sample set is constructed based on the application download characteristics and the first user data; thereafter, the training sample set is used to iteratively train the training network to obtain a risk prediction model. Since the target application is commonly used by users who enjoy financial services, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics, etc. Therefore, constructing a training sample set based on the application download characteristics of the target user for the target application can more richly and three-dimensionally characterize the user characteristics. Therefore, training the risk prediction model based on the training sample set can enable the model to learn more risk-related user characteristics, improve the accuracy of the risk prediction model, and then improve the accuracy of the user risk prediction.

[0170] In another specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer executable instructions stored in the storage medium are executed by the processor, the following process can be implemented:

[0171] Acquire second user data of the user to be predicted; the second user data includes third download data of the third terminal device of the user to be predicted for the target application;

[0172] Determining application download characteristics of the to-be-predicted user according to the third download data;

[0173] Determining prediction information of the user to be predicted based on the application download characteristics of the user to be predicted and the second user data;

[0174] The prediction information is input into a risk prediction model for risk prediction processing to obtain a prediction result; the risk prediction model is trained by the risk prediction model training method provided by the first aspect above, and the prediction result represents whether the user to be predicted has a preset risk in a preset period of time in the future.

[0175] When the computer executable instructions stored in the storage medium provided by one or more embodiments of the present application are executed by the processor, when the second user data of the user to be predicted is obtained, the application download characteristics of the user to be predicted are determined according to the third download data of the third terminal device of the user to be predicted for the target application included in the second user data; and based on the application download characteristics of the user to be predicted and the second user data, the prediction information of the user to be predicted is determined; the prediction information is input into the risk prediction model for risk prediction processing to obtain the prediction result. Since in the training process of the risk prediction model, the training sample set is constructed based on the application download characteristics of the target application by the user. Among the users who enjoy financial services, the target application is commonly used, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics. Therefore, constructing a training sample set based on the application download characteristics of the target application by the target user can more richly and three-dimensionally characterize the user characteristics, so that the model can learn more risk-related user characteristics and improve the accuracy of the risk prediction model. Then, based on the high-accuracy risk prediction model, the prediction processing is performed based on the prediction information containing the application download characteristics of the user to be predicted, which can greatly improve the accuracy of the user risk prediction.

[0176] It should be noted that the embodiments of the storage medium in the present application and the embodiments of the risk prediction model training method and the risk prediction method in the present application are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the aforementioned corresponding risk prediction model training method and the implementation of the risk prediction method, and the repeated parts will not be repeated.

[0177] Furthermore, corresponding to the flowchart generation method and the process extraction model training method described above, based on the same technical concept, one or more embodiments of the present application also provide a computer program product, which includes a computer program. When the computer program is executed by a processor, the following process can be implemented:

[0178] Acquire first user data of multiple target users; the target users include users with preset risks and users without the preset risks, and the first user data includes first download data of the first terminal device of the target user for the target application;

[0179] determining application download characteristics of the target user according to the first download data;

[0180] Constructing a training sample set based on the application download characteristics and the first user data;

[0181] The training sample set is used to iteratively train the network to be trained to obtain a risk prediction model.

[0182] When the computer program in the computer program product provided by one or more embodiments of the present application is executed by the processor, when training the risk prediction model, the first user data of multiple target users is first obtained, and the first user data includes the first download data of the target user's first terminal device for the target application; then, the application download characteristics of the target user are determined according to the first download data; and based on the application download characteristics and the first user data, a training sample set is constructed; thereafter, the training network is iteratively trained using the training sample set to obtain a risk prediction model. Since the target application is commonly used by users who enjoy financial services, and the download and use of the target application can reflect the user's consumption habits and lifestyle, and the consumption habits and lifestyle are often related to the user's potential credit characteristics, etc. Therefore, constructing a training sample set based on the application download characteristics of the target user for the target application can more richly and three-dimensionally characterize the user characteristics. Therefore, training the risk prediction model based on the training sample set can enable the model to learn more risk-related user characteristics, improve the accuracy of the risk prediction model, and then improve the accuracy of the user risk prediction.

[0183] In another specific embodiment, when the computer program in the computer program product is executed by a processor, the following process can be implemented:

[0184] Acquire second user data of the user to be predicted; the second user data includes third download data of the third terminal device of the user to be predicted for the target application;

[0185] Determining application download characteristics of the to-be-predicted user according to the third download data;

[0186] Determining prediction information of the user to be predicted based on the application download characteristics of the user to be predicted and the second user data;

[0187] The prediction information is input into a risk prediction model for risk prediction processing to obtain a prediction result; the risk prediction model is trained by the risk prediction model training method provided by any of the aforementioned embodiments, and the prediction result represents whether the user to be predicted has a preset risk in a preset period of time in the future.

[0188] When the computer program in the computer program product provided by one or more embodiments of the present application is executed by the processor, when the second user data of the user to be predicted is obtained, the application download characteristics of the user to be predicted are determined according to the third download data of the third terminal device of the user to be predicted for the target application included in the second user data; and based on the application download characteristics of the user to be predicted and the second user data, the prediction information of the user to be predicted is determined; the prediction information is input into the risk prediction model for risk prediction processing to obtain the prediction result. Since in the training process of the risk prediction model, the training sample set is constructed based on the application download characteristics of the target application by the user. Among the users who enjoy financial services, the target application is commonly used, and the download and use of the target application can reflect the consumption habits and lifestyle of the user, and the consumption habits and lifestyle are often related to the potential credit characteristics of the user. Therefore, constructing a training sample set based on the application download characteristics of the target application by the target user can more richly and three-dimensionally characterize the user characteristics, so that the model can learn more risk-related user characteristics and improve the accuracy of the risk prediction model. Then, based on the high-accuracy risk prediction model, the prediction processing is performed based on the prediction information containing the application download characteristics of the user to be predicted, which can greatly improve the accuracy of the user risk prediction.

[0189] It should be noted that the embodiment of the computer program product in the present application and the embodiment of the flowchart generation method and the training method of the process extraction model in the present application are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding flowchart generation method and the training method of the process extraction model, and the repeated parts will not be repeated.

[0190] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0191] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0192] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0193] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0194] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing the embodiments of the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0195] Those skilled in the art will appreciate that one or more embodiments of the present application may be provided as methods, systems or computer program products. Therefore, one or more embodiments of the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0196] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0197] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0198] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0199] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0200] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0201] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0202] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0203] One or more embodiments of the present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present application may also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0204] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0205] The above description is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.

Claims

1. A training method for a risk prediction model, characterized in that: include: Acquire first user data of multiple target users; the target users include users with preset risks and users without the preset risks, and the first user data includes first download data of the first terminal device of the target user for the target application; determining application download characteristics of the target user according to the first download data; Constructing a training sample set based on the application download characteristics and the first user data; The training sample set is used to iteratively train the network to be trained to obtain a risk prediction model.

2. The method according to claim 1, characterized in that The determining, according to the first download data, application download characteristics of the target user includes: For each of the target users, determining risk classification information of the target user according to the first download data; Determining application classification information of the target user according to multiple application categories and the first download data; Determining application attribute information of the target user according to the application risk classification rule and the first downloaded data; The risk classification information, the application classification information, and the application attribute information are determined as application download features of the target user.

3. The method according to claim 2, characterized in that The step of determining the risk classification information of the target user according to the first downloaded data includes: Acquire the application name of the target application from the first downloaded data; determining target encoding data for each of the application names; The target coded data is classified to obtain risk classification information of the target user.

4. The method according to claim 3, characterized in that Before determining the encoding data of each of the application names, the method further includes: Based on the authorization information of multiple authorized users, obtaining second download data of the second terminal device of the authorized user for the target application; Determining the number of downloads of each of the target applications according to the second download data; Encoding the application name of the target application corresponding to the target download number to obtain first encoded data; Establishing an association relationship between the application name and the first coded data; The determining of the target encoding data of each application name includes: For each application name, obtaining associated first coded data from the association relationship according to the application name; The first encoded data obtained is determined as target encoded data of the application name.

5. The method according to claim 3, characterized in that: The classifying process of the target coded data to obtain risk classification information of the target user includes: Converting the target coded data to obtain target feature data; Performing a first fusion process on the features in the target feature data to obtain first fused data; Performing a second fusion process on the features in the target feature data to obtain second fused data; Classification is performed according to the first fused data and the second fused data to obtain risk classification information of the target user.

6. The method according to claim 2, characterized in that The determining the application classification information of the target user according to the multiple application categories and the first download data includes: Acquire the application name of the target application from the first downloaded data; For each application name, determining a target application category to which a target application corresponding to the application name belongs among multiple application categories; Determining, according to each of the target application categories, a first number of target application programs downloaded by the first terminal device of the target user for each designated application category; the designated application type is an application category among the multiple application categories that is related to the preset risk; Each of the first quantities is determined as application classification information of the target user.

7. The method according to claim 2, characterized in that: The first download data includes an application identifier of the target application program; and determining the application attribute information of the target user according to the application risk classification rule and the first download data includes: According to the application identifier, the first download data of the plurality of target users are divided and processed to obtain a first download data set of each target application program; Determining, according to the first download data set, an application risk level corresponding to the preset risk; Application attribute information of the target user is determined according to the first downloaded data, the first downloaded data set, and the application risk level.

8. The method according to claim 7, characterized in that The first user data further includes a user tag, wherein the user tag represents a risk status of the corresponding target user with respect to the preset risk during the observation period; The determining, according to the first download data set, an application risk level corresponding to the preset risk includes: For each target application, determine a first number of target users who download the target application according to the first download data set; Determine the target application corresponding to the first number of users greater than the user number threshold as the application to be processed; For each application to be processed, determining a risk probability of the application to be processed with respect to the preset risk according to a user tag of a target user who downloads the application to be processed and the number of the first users; An application risk level of the preset risk is determined according to a risk probability threshold and a maximum risk probability among the risk probabilities.

9. The method according to claim 8, characterized in that The first download data also includes the application name and download time of the target application, and each application risk level corresponds to a probability interval; determining the application attribute information of the target user according to the first download data, the first download data set and the application risk level includes: Determine the to-be-processed applications corresponding to the risk probability greater than the risk probability threshold as risky applications; For each of the target users, determining the target application risk level of the target user according to the risk probability of the risk application of the target user and the probability interval; and Determining the maximum number of name changes and the average number of name changes of the risky applications of the target user according to the application names in the target first download data set; the target first download data set is the first download data set of the risky applications of the target user; Obtaining the latest download time from the target first download data set, and determining the target number of days between the latest download time and the target time; The target application risk level, the maximum number of name changes, the average number of name changes and the target number of days are determined as application attribute information of the target user.

10. The method according to claim 1, characterized in that The constructing a training sample set based on the application download feature and the first user data includes: For the first user data of each target user, if it is determined that the first user data contains data to be processed that meets the preprocessing condition, preprocess the data to be processed to obtain target data; Extracting user features and user tags of the target user from the first user data containing the target data; Determining the application download features, the user features, and the user tags of the target user as training samples; The training samples are determined as a training sample set.

11. A risk prediction method, characterized in that: include: Acquire second user data of the user to be predicted; the second user data includes third download data of the third terminal device of the user to be predicted for the target application; Determining application download characteristics of the to-be-predicted user according to the third download data; Determining prediction information of the user to be predicted based on the application download characteristics of the user to be predicted and the second user data; The prediction information is input into a risk prediction model for risk prediction processing to obtain a prediction result; the risk prediction model is trained by the risk prediction model training method described in any one of claims 1-10, and the prediction result represents whether the user to be predicted has a preset risk in a preset period of time in the future.

12. A training device for a risk prediction model, characterized in that: include: An acquisition module, configured to acquire first user data of a plurality of target users; the target users include users with preset risks and users without the preset risks, and the first user data includes first download data of a first terminal device of the target user for a target application; a determination module, configured to determine application download characteristics of the target user according to the first download data; A construction module, configured to construct a training sample set based on the application download feature and the first user data; The training module is used to perform iterative training on the network to be trained using the training sample set to obtain a risk prediction model.

13. A risk prediction device, characterized in that: include: An acquisition module, configured to acquire second user data of the user to be predicted; the second user data includes third download data of a third terminal device of the user to be predicted for a target application; A first determining module, configured to determine the application download characteristics of the user to be predicted according to the third download data; A second determination module, configured to determine prediction information of the user to be predicted based on the application download characteristics of the user to be predicted and the second user data; A prediction module is used to input the prediction information into a risk prediction model for risk prediction processing to obtain a prediction result; the risk prediction model is trained by the risk prediction model training method described in any one of claims 1-10, and the prediction result represents whether the user to be predicted has a preset risk in a preset period of time in the future.

14. An electronic device, characterized in that: include: processor; as well as, A memory arranged to store computer executable instructions, the executable instructions being configured to be executed by the processor, the executable instructions comprising steps for executing the training method for the risk prediction model described in any one of claims 1-10, or the executable instructions comprising steps for executing the risk prediction method described in claim 11.

15. A storage medium, characterized in that: The storage medium is used to store computer-executable instructions, which enable a computer to execute the risk prediction model training method described in any one of claims 1 to 10, or the executable instructions enable a computer to execute the risk prediction method described in claim 11.

16. A computer program product, characterized in that It includes a computer program, which, when executed by a processor, implements the training method of the risk prediction model described in any one of claims 1 to 10, or implements the risk prediction method described in claim 11 when the computer program is executed by a processor.