Personal credit scoring method and system, electronic device and storage medium

By establishing multiple sub-assessment models and combining multiple data dimensions for personal credit assessment, the authenticity and flexibility problems of credit assessment methods in the existing technology are solved, and a more accurate and flexible credit score is achieved.

CN112258312BActive Publication Date: 2024-09-13CHINA UNIONPAY MERCHANT SERVICES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011106851.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-16
Publication Date
2024-09-13
Estimated Expiration
2040-10-16

AI Technical Summary

Technical Problem

The authenticity of existing personal credit assessment methods that rely on Internet data is questionable, and they rely too much on historical credit records, making it difficult to assess the credit status of white credit households. Moreover, the single assessment model constructed has low flexibility and is difficult to adjust according to specific businesses.

Method used

By establishing multiple sub-assessment models from multiple dimensions, combining identity information, asset status, credit history and consumer behavior data, a personal credit scoring model is constructed, and a logistic regression algorithm is used to calculate scoring rules to improve the flexibility and accuracy of the scoring method. .

Benefits of technology

It achieves a more comprehensive and accurate credit assessment, avoids over-reliance on a certain credit record, improves the flexibility of the scoring method, and can be adjusted according to different business scenarios to adapt to a variety of assessment needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112258312B
    Figure CN112258312B
Patent Text Reader

Abstract

The embodiment of the present invention provides a personal credit scoring method and system, electronic device and storage medium. The personal credit scoring method provided by the embodiment of the present invention can evaluate the credit of an individual more comprehensively by establishing multiple sub-evaluation models from multiple dimensions, avoiding over-reliance on a certain credit record, and improving the accuracy of the personal credit scoring method. In addition, by establishing multiple sub-evaluation models, the personal credit evaluation can be adjusted comprehensively in combination with multiple business scenarios, thereby improving the flexibility of the personal credit scoring method.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the field of financial technology, and in particular to a personal credit scoring method and system, electronic equipment and storage medium. [Background technology]

[0002] In recent years, with the deepening of inclusive finance, personal credit business has developed rapidly. Most of the credit business has been transferred to online, which can quickly and timely meet the loan needs of customers, but due to the lack of collateral, the overdue rate has continued to rise. In this scenario, how to efficiently and accurately assess personal credit status and identify default risks is particularly important. Most of the existing methods for personal credit assessment are based on Internet data to build a credit assessment model, using data including operational behavior data on specific application software (such as the browsing time of the loan product introduction page), social network data, historical credit record data, etc. However, this type of method has the following main defects:

[0003] (1) Reliance on Internet data, the authenticity of which is questionable (the data is obtained through web crawlers and other means, and the authenticity has not been verified);

[0004] (2) Over-reliance on historical credit records makes it difficult to assess the credit status of credit-free households;

[0005] (3) Building a single evaluation model is difficult to adjust according to specific business needs and has low flexibility. [Summary of the invention]

[0006] In view of this, the embodiments of the present invention provide a personal credit scoring method and system, electronic device and storage medium. By establishing multiple sub-assessment models from multiple dimensions, a comprehensive assessment of personal credit can be conducted in combination with multiple business scenarios, thereby improving the flexibility and accuracy of the personal credit scoring method.

[0007] As an aspect of an embodiment of the present invention, an embodiment of the present invention provides a personal credit scoring method, comprising: preprocessing original sample data to generate new sample data, wherein the data format of the new sample data meets the format requirements of a logistic regression algorithm; dividing the new sample data into a training data set and a test data set; constructing a personal credit scoring model, wherein the personal credit scoring model includes four sub-models; inputting the variables in the training data set into each sub-model according to a preset corresponding relationship for logistic regression, and calculating the scoring rule of each sub-model; obtaining the weight of each sub-model; calculating the scoring rule of the personal credit scoring model according to the weight of each sub-model and the scoring rule of each sub-model; and receiving personal credit data, inputting the personal credit data into the personal credit scoring model, and calculating the credit score of the individual according to the scoring rule of the personal credit model.

[0008] The original sample data includes four categories of sub-sample data, and the four categories of sub-sample data correspond to the four sub-models respectively.

[0009] In one embodiment of the present invention, the four categories of sub-sample data include: identity information sample data, asset status sample data, credit history sample data and consumer behavior sample data; the four sub-models include: identity information sub-model, asset status sub-model, credit history sub-model and consumer behavior sub-model.

[0010] In one embodiment of the present invention, the preprocessing of the original sample data further includes: cleaning the original sample data to obtain cleaned sample data; classifying the variables in the cleaned sample data into multiple continuous variables and multiple nominal variables; binning the multiple continuous variables one by one to generate the WOE value and information value of each of the continuous variables; and reducing the basis of the multiple nominal variables to generate at least one new nominal variable, calculating the at least one new nominal variable to generate the WOE value and information value of each of the new nominal variables; wherein the new sample data includes the WOE value and information value of each of the continuous variables, and the WOE value and information value of the new nominal variable.

[0011] In one embodiment of the present invention, the cleaning of the original sample data further includes: identifying each group of data in the original sample data, determining whether the data value of each category in each group of data is missing, and when the data value of the first category in the first group of data is missing, replacing the data value of the first category in the first group of data with zero or the average value of the first category; or identifying each group of data in the original sample data, determining whether the data value of each category in each group of data is abnormal, and when the data value of the second category in the second group of data is abnormal, eliminating the second group of data.

[0012] In one embodiment of the present invention, dividing the new sample data into a training data set and a test data set further includes: downsampling the new sample data to generate standard sample data; and dividing the standard sample data into a training data set and a test data set.

[0013] In one embodiment of the present invention, downsampling the new sample data further includes: dividing the new sample data into good sample data and bad sample data; and randomly extracting a plurality of good sample data from the good sample data without replacement, wherein the number of the extracted good sample data is 2 to 4 times the number of the bad sample data; and the standard sample data includes the extracted good sample data and all the bad sample data.

[0014] In one embodiment of the present invention, the variables in the training data set are input into each sub-model according to a preset corresponding relationship for logistic regression, and the scoring rule of each sub-model is calculated, which further includes: inputting the variables in the training data set into each sub-model according to a preset corresponding relationship for stepwise regression to generate an initial logistic regression coefficient of each variable in each sub-model; eliminating interference variables in each sub-model according to the initial logistic regression coefficient of each variable in each sub-model; selectively performing at least one binning process on the remaining variables in each sub-model to generate WOE values ​​and information values ​​of the remaining variables; inputting the remaining variables in each sub-model after at least one binning process into each sub-model for logistic regression to obtain the logistic regression coefficients of the remaining variables; and calculating the scoring rule of each sub-model according to the logistic regression coefficient of each remaining variable in each sub-model.

[0015] In one embodiment of the present invention, the elimination of interference variables in each sub-model according to the initial logistic regression coefficient of each variable in each sub-model further includes: judging whether the initial logistic regression coefficient of each variable in each sub-model is significant, and when the initial logistic regression coefficient of the first variable in the first sub-model is not significant, the variable is eliminated; and / or judging whether the sign of the initial logistic regression coefficient of each variable in each sub-model conforms to the preset coefficient sign, and when the sign of the initial logistic regression coefficient of the first variable in the first sub-model does not conform to the preset coefficient sign, the variable is eliminated; and / or judging the correlation between multiple variables in each sub-model, and when the correlation between N variables in each sub-model is greater than the preset correlation, N-1 variables among the N variables are eliminated, wherein N is an integer greater than one.

[0016] In one embodiment of the present invention, the variables in the training data set are input into each sub-model according to a preset correspondence relationship for stepwise regression to generate an initial logistic regression coefficient for each variable in each sub-model, which further includes: obtaining model input variables according to the information values ​​of multiple variables in the training data set and preset experience, and a preset correspondence between the model input variables and each sub-model; the variables in the sample data are input into each sub-model according to the preset correspondence relationship for logistic regression training to obtain the initial logistic regression coefficient of each remaining variable in each sub-model.

[0017] In one embodiment of the present invention, the variables in the training data set include the modeled variables and the non-modeled variables, wherein the scoring rule of each sub-model is calculated based on the logistic regression coefficient of each remaining variable in each sub-model, further comprising: evaluating whether the non-modeled variable has the scoring rule, and when the non-modeled variable has the scoring rule, assigning the coefficient of the non-modeled variable; and calculating the scoring rule of each sub-model based on the logistic regression coefficient of each remaining variable in each sub-model and the coefficient of the non-modeled variable.

[0018] In one embodiment of the present invention, obtaining the weight of each sub-model further includes: inputting the test data set into each sub-model for testing according to the preset correspondence relationship, and obtaining the AUC value of each sub-model; calculating the weight of each sub-model according to the AUC value of each sub-model and the preset weight of each sub-model.

[0019] In a second aspect, an embodiment of the present invention provides a personal credit scoring system, comprising: a preprocessing unit, used to preprocess original sample data to generate new sample data, wherein the data format of the new sample data meets the format requirements of the logistic regression algorithm; a data partitioning unit, used to partition the new sample data into a training data set and a test data set; a sub-model construction unit, used to construct four sub-models; a sub-model scoring rule acquisition unit, used to input the variables in the training data set into each sub-model according to a preset corresponding relationship for logistic regression, and calculate the scoring rule of each sub-model; a sub-model weight acquisition unit, used to obtain the weight of each sub-model; and a credit scoring unit, used to calculate the scoring rule of the personal credit scoring model according to the weight of each sub-model and the scoring rule of each sub-model, and output the credit score of the individual according to the received personal credit data and the scoring rule of the personal credit scoring model; wherein the original sample data includes four categories of sub-sample data, and the four categories of sub-sample data correspond to the four sub-models one by one.

[0020] In one embodiment of the present invention, the four categories of sub-sample data include: identity information sample data, asset status sample data, credit history sample data and consumer behavior sample data; the four sub-models include: identity information sub-model, asset status sub-model, credit history sub-model and consumer behavior sub-model.

[0021] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the personal credit scoring method described above.

[0022] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; and the processor for executing the personal credit scoring method described above.

[0023] The personal credit scoring method provided by the embodiment of the present invention can evaluate the credit of an individual more comprehensively by establishing multiple sub-evaluation models from multiple dimensions, avoiding over-reliance on a certain credit record, and improving the accuracy of the personal credit scoring method. In addition, by establishing multiple sub-evaluation models, the personal credit evaluation can be comprehensively adjusted in combination with various business scenarios, thereby improving the flexibility of the personal credit scoring method.

Brief Description of the Drawings

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 FIG. 1 is a flow chart of a personal credit scoring method provided by an embodiment of the present invention;

[0026] Figure 2 FIG. 1 is a flow chart of a personal credit scoring method provided by another embodiment of the present invention;

[0027] Figure 3 FIG. 1 is a flow chart of a personal credit scoring method provided by another embodiment of the present invention;

[0028] Figure 4 FIG. 1 is a flow chart of a personal credit scoring method provided by another embodiment of the present invention;

[0029] Figure 5 FIG. 1 is a flow chart of a personal credit scoring method provided by another embodiment of the present invention;

[0030] Figure 6 FIG. 1 is a flow chart of a personal credit scoring method provided by another embodiment of the present invention;

[0031] Figure 7 FIG. 1 is a flow chart of a personal credit scoring method provided by another embodiment of the present invention;

[0032] Figure 8 FIG. 1 is a schematic diagram of the structure of a personal credit scoring system provided by an embodiment of the present invention. [Specific implementation method]

[0033] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0034] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0035] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0036] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0037] Figure 1 FIG. 1 is a flow chart of a personal credit scoring method provided by an embodiment of the present invention. The personal credit scoring method specifically includes the following steps:

[0038] Step S101: pre-processing the original sample data to generate new sample data, the data format of the new sample data meets the format requirements of the logistic regression algorithm;

[0039] Step S102: Divide the new sample data into a training data set and a test data set;

[0040] Step S103: constructing a personal credit scoring model, wherein the personal credit scoring model includes four sub-models;

[0041] Step S104: input the variables in the training data set into each sub-model according to the preset corresponding relationship to perform logistic regression and calculate the scoring rule of each sub-model;

[0042] Step S105: Obtain the weight of each sub-model; and

[0043] Step S106: Calculate the scoring rule of the personal credit scoring model according to the weight of each sub-model and the scoring rule of each sub-model;

[0044] Step S107: receiving personal credit data, inputting the personal credit data into a personal credit scoring model, and calculating the personal credit score according to the scoring rules of the personal credit model.

[0045] Among them, the original sample data includes four types of sub-sample data, and the four types of sub-sample data correspond to four sub-models one by one. The personal credit scoring method provided by the embodiment of the present invention can input the four types of sub-sample data into four sub-models for logistic regression, and then calculate the personal credit score in combination with the weight of each sub-model and the scoring rule of each sub-model. By establishing multiple sub-assessment models from multiple dimensions, the credit of an individual can be evaluated more comprehensively, avoiding over-reliance on a certain credit record, and improving the accuracy of the personal credit scoring method. In addition, by establishing multiple sub-assessment models, the credit assessment of an individual can be adjusted comprehensively in combination with multiple business scenarios, thereby improving the flexibility of the personal credit scoring method.

[0046] In one embodiment of the present invention, the four types of sub-sample data include: identity information sample data, asset status sample data, credit history sample data and consumption behavior sample data; the four sub-models include: identity information sub-model, asset status sub-model, credit history sub-model and consumption behavior sub-model. Among them, the identity information sample data may include the user's age, whether the user has children, the nature of the user's job, the nature of the user's spouse's job, etc. The asset status sample data may include the user's bank card level, the number of bank cards and the corresponding bank name, the user's salary income, the user's financial management situation and other data that can reflect the user's financial situation. The credit history sample data may include historical loan application information, historical repayment information, historical overdue information, the latest loan date, etc. The consumption behavior sample data may include the user's consumption amount, the number of the user's consumption and the amount of each consumption, the user's consumption items and other information that can reflect the user's consumption ability and characteristics. The embodiment of the present invention uses identity information sample data, asset status sample data, credit history sample data and consumption behavior sample data to input into the corresponding identity information sub-model, asset status sub-model, credit history sub-model and consumption behavior sub-model for logistic regression, and then calculates the user's score value, adds the user's actual consumption scenario, realizes the assessment of the user's real consumption ability, etc., and further increases the accuracy of the user's credit score.

[0047] Step S101 actually processes the original sample data into a format that meets the requirements of the logistic regression algorithm. Figure 2 As shown, step S101 specifically includes the following steps:

[0048] Step S1011: clean the original sample data to obtain cleaned sample data;

[0049] Step S1012: classifying the variables in the cleaned sample data into a plurality of continuous variables and a plurality of nominal variables;

[0050] Step S1013: binning multiple continuous variables one by one to generate the WOE value and information value of each variable;

[0051] In step S1013, since the data in the original sample data are classified into four categories (for example, consumption cluster data are classified into consumption behavior sample data), but the continuous variables between the categories may be correlated and identical, in order to make the continuous variables in the original sample data be better binned, when binning multiple continuous variables, all continuous variables in the original sample data are binned together, and the continuous variables are not classified into four categories (for example, consumption cluster data are classified into consumption behavior sample data) and then the continuous variables within the category are binned.

[0052] Step S1014: performing base reduction processing on multiple nominal variables to generate at least one new nominal variable, and performing calculation on at least one new nominal variable to generate a WOE value and an information value of the new nominal variable;

[0053] The new sample data includes the WOE value and information value of each continuous variable and the WOE value and information value of the new nominal variable.

[0054] At this point, step S1014 has completed the preprocessing of the original sample data, and obtained new sample data, wherein the format of the new sample data meets the format requirements of the logistic regression algorithm. After the original sample data is preprocessed, step S102 is further performed.

[0055] In practical applications, the data of each category in the original sample data is often incomplete, and there may be abnormal data. Incomplete data and abnormal data will affect the score of the sub-model. Therefore, in one embodiment of the present invention, Figure 3 As shown, step S1011 further includes:

[0056] Step S10111: Identify each group of data in the original sample data, and determine whether the data value of each category in each group of data is missing. When the data value of the first category in the first group of data is missing, replace the data value of the first category in the first group of data with zero or the average value of the first category;

[0057] For example, in the user's identity information sample data, when the data on whether a user has children is missing in the user's identity data, the item on whether the user has children in the user's identity data is replaced by the average value (that is, the average value of the item on whether the user has children). The missing data on whether the user has children is unobservable, and using the average value instead can better reflect the possible values ​​of the missing data.

[0058] For another example, in the user's credit history sample data, when the data of the credit loan record in the credit history sample data of a user is missing, the user has not used any loan method. Therefore, the credit loan data in the credit history sample data of the user is replaced by 0, which can better reflect that the user's credit loan record is 0, that is, a credit-clear user. In other words, the personal credit scoring method provided in the embodiment of the present application, when the user is a credit-clear user, can still comprehensively evaluate the user's credit score from other dimensions (such as identity information, actual consumption information, and asset status). Compared with the credit scoring method in the prior art, it can more accurately and objectively evaluate the credit score of a credit-clear user.

[0059] It should be understood that which categories of missing data are replaced by 0 and which categories of missing data are replaced by the average value can be judged according to the actual data category. For example, the data is missing because it cannot be observed and there are relatively few cases where the data value can be selected. For example, whether the user has children, real estate, or a car, because whether or not there is a house or a car has two answers, either yes (for example, represented by data 1) or no (for example, represented by 0), then when data is missing, using the average value instead can better reflect the possible values ​​of the missing data.

[0060] Missing data is due to actual conditions. For example, when the credit loan record data in a user's credit history sample data is missing, it means that the user has not used any loan method. This is the actual situation, so using 0 instead can better reflect the possible value of the missing data.

[0061] Step S10111 is a method for cleaning missing data in the original sample data. When cleaning the original sample data, not only the missing data needs to be supplemented, but also the abnormal data in the original sample data needs to be cleaned, that is, execute step S10112.

[0062] Step S10112: Identify each group of data in the original sample data, and determine whether the data value of each category in each group of data is abnormal. When the data value of the second category in the second group of data is abnormal, the second group of data is eliminated.

[0063] For example, in the user's asset status sample data, the number of bank cards held by the user is as high as dozens or even hundreds, then the user's asset status sample data is abnormal data and the user's asset status sample data is eliminated.

[0064] For another example, in the user's consumption behavior sample data, if the consumption amount of one item in the consumption record is much larger than the remaining consumption amount, then the user's consumption record data is likely to be abnormal data, and the user's consumption record data is eliminated.

[0065] Step S10112 is to remove abnormal data from the original sample data.

[0066] It should be understood that step S10111 is to supplement the missing data, and step S10112 is to remove the abnormal data, and the two steps can be performed simultaneously, or only one of the steps can be performed. The embodiment of the present invention does not limit this.

[0067] The embodiment of the present invention reduces the abnormal data in the sample data by supplementing the missing data and eliminating the abnormal data, improves the accuracy of the scoring rules of each sub-model, and further improves the accuracy of the personal credit score judgment.

[0068] After step S101 completes processing the original sample data into a format that meets the requirements of the logistic regression algorithm, step S102 is executed, that is, the new sample data is divided into a training data set and a test data set. Figure 4 As shown, step S102 specifically includes the following steps:

[0069] Step S1021: down-sampling the new sample data to generate standard sample data; and

[0070] Step S1022: Divide the standard sample data into a training data set and a test data set.

[0071] When the standard sample data is divided into a training data set and a test data set, the ratio of the number of the training data set to the number of the test data set may be 8 / 2.

[0072] Preferably, when downsampling the new sample data to generate the standard sample data, in order to make the standard sample data more reflective of the real data situation, such as Figure 5 As shown, step S1021 (i.e., downsampling the new sample data) specifically includes the following steps:

[0073] Step S10211: Divide the new sample data into good sample data and bad sample data; and

[0074] Step S10211: randomly extracting a plurality of good sample data from the good sample data without replacement, wherein the number of the extracted good sample data is 2 to 4 times the number of the bad sample data;

[0075] Preferably, the number of good sample data extracted is three times the number of bad sample data;

[0076] Since the number of good samples in the new sample data is far greater than the number of bad samples, in order to make the standard sample data more truly reflect the actual data, when generating the standard sample data, all the bad sample data in the original sample data are retained, that is, the standard sample data includes the extracted good sample data and all the bad sample data.

[0077] After step S102 completes dividing the new sample data into a training data set and a test data set, step S103 is executed (i.e., building four sub-models). After step S103 completes building the four sub-models, step S104 is executed (i.e., performing logistic regression training on the four sub-models and calculating the scoring rules for each sub-model). In one embodiment of the present invention, Figure 6 As shown, step S104 specifically includes the following steps:

[0078] Step S1041: input the variables in the training data set into each sub-model according to the preset corresponding relationship to perform stepwise regression, and generate the initial logistic regression coefficient of each variable in each sub-model;

[0079] Since the sample data have been classified into four different categories before the original sample preprocessing stage (for example, consumption cluster data are classified into consumption behavior sample data), but in step S1013, all variables in the original sample data are binned together. Therefore, when inputting the variables in the training data set into each sub-model for stepwise regression, it is necessary to select the variables that need to be entered into the sub-model from multiple variables, that is, to input the variables in the multiple variables into the four sub-models according to the preset corresponding relationship.

[0080] For example, if the training sample data set includes m variables, f variables can be selected from the m variables according to the preset corresponding relationship and input into the first sub-model for logistic regression training, a variables can be selected to input into the second sub-model, b variables can be selected to input into the third sub-model, and c variables can be selected to input into the fourth sub-model. The categories of the variables in the f variables, a variables, b variables, and c variables do not overlap.

[0081] The method for obtaining the preset corresponding relationship may include: obtaining the input variables according to the information values ​​of multiple variables in the training data set and preset experience (such as expert experience), and the preset corresponding relationship between the input variables and each sub-model.

[0082] Step S1042: according to the initial logistic regression coefficient of each variable in each sub-model, eliminate the interference variables in each sub-model;

[0083] Since there is a high probability that there is a correlation between the variables input into a sub-model, it is also possible that the coefficient of a certain variable is not significant, resulting in a low scoring accuracy of the sub-model. Therefore, it is necessary to eliminate interfering variables based on the initial logistic regression coefficients.

[0084] Step S1043: According to the remaining variables in each sub-model, selectively perform at least one binning process on the remaining variables to generate WOE values ​​and information values ​​of the remaining variables;

[0085] Since in step S1013, all variables in the original sample data are binned together, the number of variable samples in each category may be small, so the ratio of good samples and bad samples of the variable is very unstable (for example, it may be abnormally large or abnormally small). Therefore, if the variable with a small number is input into a sub-model for logistic regression training, the logistic regression coefficient of the variable is unreasonable. Therefore, after the variable is input into the sub-model for logistic regression training, it is necessary to perform binning again at least once according to the initial logistic regression coefficient of the remaining variables in each sub-model. For example, for variables such as the number of overdue payments in a certain period of time in the credit sample data of a user's credit history, according to common sense, the more times the person is overdue, the more likely he is a bad user, and the lower the score should be. This trend is monotonic, and in the case of no adjustment, this trend may first decrease and then increase, which may be caused by unreasonable binning, so the credit history sample data of the user needs to be binned again.

[0086] Step S1044: inputting the remaining variables after at least one binning process in each sub-model into each sub-model to perform logistic regression, and obtaining the logistic regression coefficients of the remaining variables; and

[0087] Step S1045: Calculate the scoring rule for each sub-model according to the logistic regression coefficient of each remaining variable in each sub-model.

[0088] In the embodiment of the present invention, after the variables are input into the corresponding sub-model, stepwise logistic regression training is performed to generate the initial logistic regression coefficient of each variable, and the abnormal variables are further cleaned and adjusted according to the initial logistic regression coefficient, so as to more accurately evaluate the personal credit value.

[0089] In one embodiment of the present invention, when the variables in the training data set are input into each sub-model according to the preset corresponding relationship for stepwise regression in step S1041, not all variables in the training data set are selected into one sub-model. For example, data on whether a user has a motorhome is input into the asset status sub-model, but not into the identity information sub-model. However, data on whether the user has a motorhome may be of certain importance in the evaluation of identity information. Then, in step S1045 (i.e., when calculating the scoring rules for each sub-model), step S1045 may also include:

[0090] Step S10451: evaluating whether the unmodeled variable has a scoring rule. When the unmodeled variable has a scoring rule, assigning a coefficient to the unmodeled variable, for example, evaluating the coefficient of the variable of whether the user has a house based on the significance of the data of whether the user has a house in the context of identity information; and

[0091] Step S10452: Calculate the scoring rule for each sub-model based on the logistic regression coefficient of each remaining variable in each sub-model and the coefficient of the unmodeled variable.

[0092] The embodiment of the present invention increases the accuracy of personal credit scoring by appropriately assigning coefficients to variables that are not included in a sub-model according to their meaning in the context, and when calculating the scoring rule of the sub-model, in addition to considering the logistic regression coefficients of the remaining variables in the sub-model, also considering the coefficients assigned to the variables that are not included in the model.

[0093] As described above, removing the interference variables in each sub-model in step S1042 can make the score of each sub-model more accurate. Therefore, in one embodiment of the present invention, Figure 7 As shown, step S1042 may specifically include the following steps:

[0094] Step S10421: Determine whether the initial logistic regression coefficient of each variable in each sub-model is significant. When the initial logistic regression coefficient of the first variable in the first sub-model is not significant, the variable is eliminated; when the initial logistic regression coefficient of the first variable in the first sub-model is significant, the variable is classified as a remaining variable and step S1043 is further executed. And / or

[0095] Step S10422: Determine whether the initial logistic regression coefficient sign of each variable in each sub-model meets the preset coefficient sign. When the initial logistic regression coefficient sign of the first variable in the first sub-model does not meet the preset coefficient sign, the variable is eliminated. When the initial logistic regression coefficient sign of the first variable in the first sub-model meets the preset coefficient sign, the variable is classified as a remaining variable, and step S1043 is further executed. And / or

[0096] Step S10423: Determine the correlation between multiple variables in each sub-model. When the correlation between N variables in each sub-model is greater than the preset correlation, N-1 variables among the N variables are eliminated, where N is an integer greater than one; when the correlation between N variables in each sub-model is less than or equal to the preset correlation, the N variables are classified as remaining variables and step S1043 is further executed.

[0097] The embodiment of the present invention eliminates variables with strong correlation, insignificant initial logistic regression coefficients, and initial logistic regression coefficients whose signs do not conform to the actual situation in each sub-model through the initial logistic regression coefficient, so that the score of each sub-model can be made more accurate.

[0098] It should be understood that step S10421, step S10422 and step S10423 are three ways of eliminating interference variables, respectively. The three steps may be performed simultaneously or only one or two of the three steps may be performed, which is not limited in the embodiment of the present invention.

[0099] After step S104 calculates the scoring rules for each sub-model, step S105 is further executed to obtain the weight of each sub-model. In one embodiment of the present invention, Figure 7 As shown, step S105 specifically includes the following steps:

[0100] Step S1051: inputting the test data set into each sub-model according to the preset corresponding relationship for testing, and obtaining the AUC value of each sub-model; and

[0101] Step S1052: Calculate the weight of each sub-model according to the AUC value of each sub-model and the preset weight of each sub-model.

[0102] After obtaining the weight of each sub-model and the scoring rule of each sub-model, step S106 is executed: that is, the personal credit score is calculated according to the weight of each sub-model and the scoring rule of each sub-model. Step S106 can obtain the user's credit score.

[0103] As a second aspect of the embodiment of the present invention, Figure 8 FIG. 1 is a personal credit scoring system provided by an embodiment of the present invention. Figure 8As shown, the personal credit scoring system includes: a preprocessing unit 1, which is used to preprocess the original sample data to generate new sample data, and the data format of the new sample data meets the format requirements of the logistic regression algorithm; a data division unit 2, which is used to divide the new sample data into a training data set and a test data set; a sub-model construction unit 3, which is used to construct four sub-models, and the four sub-models are respectively a first sub-model 31, a second sub-model 32, a third sub-model 33 and a fourth sub-model 34; a sub-model scoring rule acquisition unit 4, which is used to input the variables in the training data set into each sub-model according to a preset corresponding relationship to perform logistic regression and calculate the scoring rule of each sub-model; a sub-model weight acquisition unit 5, which is used to obtain the weight of each sub-model; and a credit scoring unit 6, which is used to calculate the scoring rule of the personal credit scoring model according to the weight of each sub-model and the scoring rule of each sub-model, and output the personal credit score according to the received personal credit data and the scoring rule of the personal credit scoring model; wherein the original sample data includes four types of sub-sample data, and the four types of sub-sample data correspond to the four sub-models one by one.

[0104] The above-mentioned preprocessing unit 1, data partitioning unit 2, sub-model construction unit 3, sub-model scoring rule acquisition unit 4, sub-model weight acquisition unit 5 and credit scoring unit 6 respectively perform the corresponding working steps in the above-mentioned personal credit scoring method in their respective working processes, and will not be repeated here.

[0105] The personal credit scoring system provided by the embodiment of the present invention includes four sub-models of different dimensions, which can evaluate the credit of an individual more comprehensively, avoid over-reliance on a certain credit record, and improve the accuracy of the personal credit scoring method. In addition, by establishing multiple sub-evaluation models, the personal credit evaluation can be adjusted in combination with various business scenarios, thereby improving the flexibility of the personal credit scoring method. When performing personal credit scoring, a single sub-model in the scoring system can be used, or any combination of two, three, or four of the four sub-models can be used, making the scoring system more flexible.

[0106] In one embodiment of the present invention, the four types of sub-sample data include: identity information sample data, asset status sample data, credit history sample data and consumption behavior sample data; the four sub-models include: identity information sub-model, asset status sub-model, credit history sub-model and consumption behavior sub-model. Among them, the identity information sample data may include the user's age, whether the user has children, the nature of the user's job, the nature of the user's spouse's job, etc. The asset status sample data may include the user's bank card level, the number of bank cards and the corresponding bank name, the user's salary income, the user's financial management situation and other data that can reflect the user's financial situation. The credit history sample data may include historical loan application information, historical repayment information, historical overdue information, the latest loan date, etc. The consumption behavior sample data may include the user's consumption amount, the number of the user's consumption and the amount of each consumption, the user's consumption items and other information that can reflect the user's consumption ability and characteristics. The embodiment of the present invention uses identity information sample data, asset status sample data, credit history sample data and consumption behavior sample data to input into the corresponding identity information sub-model, asset status sub-model, credit history sub-model and consumption behavior sub-model for logistic regression, and then calculates the user's score value, adds the user's actual consumption scenario, realizes the assessment of the user's real consumption ability, etc., and further increases the accuracy of the user's credit score.

[0107] Exemplary Electronic Devices

[0108] As a third aspect of the present invention, an embodiment of the present invention further provides an electronic device, including one or more processors and a memory.

[0109] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0110] The memory may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor may run the above-mentioned program instructions to implement the personal credit scoring method of each embodiment of the present application described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0111] Exemplary computer program products and computer-readable storage media

[0112] In addition to the above methods and devices, embodiments of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, cause the processor to perform the method described in the above “Exemplary Method” section of the present specification according to the present application. Figures 1 to 3 as well as Figure 6 The steps of the method for personal credit scoring of the illustrated embodiment.

[0113] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0114] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the power parameter adjustment method or the reinforcement learning model training method according to various embodiments of the present application described in the above "Exemplary Method" section of this specification.

[0115] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0116] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.

[0117] The block diagrams of devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems may be connected, arranged, or configured in any manner.

[0118] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.

[0119] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0120] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A personal credit scoring method, characterized in that: include: Preprocessing the original sample data to generate new sample data, wherein the data format of the new sample data meets the format requirements of the logistic regression algorithm; Dividing the new sample data into a training data set and a test data set; Constructing a personal credit scoring model, wherein the personal credit scoring model includes four sub-models; Input the variables in the training data set into each sub-model according to the preset corresponding relationship to perform logistic regression, and calculate the scoring rule of each sub-model; Obtaining the weight of each of the sub-models; Calculating the scoring rule of the personal credit model according to the weight of each sub-model and the scoring rule of each sub-model; as well as Receiving personal credit data, and inputting the personal credit data into the personal credit scoring model, and calculating the credit score of the individual according to the scoring rules of the personal credit model; The original sample data includes four types of sub-sample data, and the four types of sub-sample data correspond to the four sub-models one by one; the four types of sub-sample data include: identity information sample data, asset status sample data, credit history sample data and consumer behavior sample data; the four sub-models include: identity information sub-model, asset status sub-model, credit history sub-model and consumer behavior sub-model; The step of inputting the variables in the training data set into each sub-model according to a preset corresponding relationship to perform logistic regression and calculating the scoring rule of each sub-model further includes: Inputting the variables in the training data set into each sub-model according to the preset corresponding relationship to perform stepwise regression, and generating the initial logistic regression coefficient of each variable in each sub-model; Based on the initial logistic regression coefficient of each variable in each sub-model, the nuisance variables in each sub-model were eliminated; Among the remaining variables in each sub-model, selectively perform at least one binning process on the remaining variables to generate WOE values ​​and information values ​​of the remaining variables; Input the remaining variables after at least one binning process in each sub-model into each sub-model for logistic regression, and obtain the logistic regression coefficients of the remaining variables; and The scoring rule of each sub-model is calculated according to the logistic regression coefficient of each of the remaining variables in each sub-model.

2. The personal credit scoring method according to claim 1, characterized in that: The preprocessing of the original sample data further includes: Cleaning the original sample data to obtain cleaned sample data; Classifying the variables in the cleaned sample data into a plurality of continuous variables and a plurality of nominal variables; Perform binning processing on the multiple continuous variables one by one to generate a WOE value and an information value for each of the continuous variables; and Performing base reduction processing on the multiple nominal variables to generate at least one new nominal variable, and performing calculation on the at least one new nominal variable to generate a WOE value and an information value of each new nominal variable; The new sample data includes the WOE value and information value of each of the continuous variables, and the WOE value and information value of each of the new nominal variables.

3. The personal credit scoring method according to claim 2, characterized in that: The cleaning of the original sample data further includes: Identify each group of data in the original sample data, determine whether the data value of each category in each group of data is missing, and when the data value of the first category in the first group of data is missing, replace the data value of the first category in the first group of data with zero or the average value of the first category; or Each group of data in the original sample data is identified to determine whether the data value of each category in each group of data is abnormal; when the data value of the second category in the second group of data is abnormal, the second group of data is eliminated.

4. The personal credit scoring method according to claim 2, characterized in that: The dividing the new sample data into a training data set and a test data set further comprises: Performing downsampling processing on the new sample data to generate standard sample data; and The standard sample data is divided into a training data set and a test data set.

5. The personal credit scoring method according to claim 4, characterized in that: The downsampling process of the new sample data further includes: dividing the new sample data into good sample data and bad sample data; and Randomly extracting a plurality of good sample data from the good sample data without replacement, wherein the number of the extracted good sample data is 2 to 4 times the number of the bad sample data; The standard sample data includes the extracted good sample data and all the bad sample data.

6. The personal credit scoring method according to claim 1, characterized in that: The removing of interference variables in each sub-model according to the initial logistic regression coefficient of each variable in each sub-model further comprises: Determine whether the initial logistic regression coefficient of each variable in each sub-model is significant, and when the initial logistic regression coefficient of the first variable in the first sub-model is not significant, remove the variable; and / or Determine whether the initial logistic regression coefficient sign of each variable in each sub-model meets the preset coefficient sign, and when the initial logistic regression coefficient sign of the first variable in the first sub-model does not meet the preset coefficient sign, remove the variable; and / or Determine the correlation between multiple variables in each sub-model. When the correlation between N variables in each sub-model is greater than a preset correlation, eliminate N-1 variables among the N variables, where N is an integer greater than one.

7. The personal credit scoring method according to claim 1, characterized in that: The step of inputting the variables in the training data set into each sub-model according to a preset corresponding relationship to perform stepwise regression, and generating an initial logistic regression coefficient for each variable in each sub-model, further includes: Obtaining model input variables according to information values ​​of multiple variables in the training data set and preset experience, as well as preset corresponding relationships between the model input variables and each of the sub-models; The variables in the sample data are respectively input into each sub-model according to the preset corresponding relationship to perform logistic regression training, and the initial logistic regression coefficient of each variable in each sub-model is obtained.

8. The personal credit scoring method according to claim 7, characterized in that: The variables in the training data set include the variables entered into the model and the variables not entered into the model. The scoring rule for each sub-model is calculated according to the logistic regression coefficient of each remaining variable in each sub-model, further comprising: evaluating whether the non-modeled variable meets the scoring rule, and assigning a coefficient to the non-modeled variable when the non-modeled variable meets the scoring rule; and The scoring rule of each sub-model is calculated according to the logistic regression coefficient of each remaining variable in each sub-model and the coefficient of the unmodeled variable.

9. The personal credit scoring method according to claim 1, characterized in that: The obtaining of the weight of each sub-model further comprises: Input the test data set into each sub-model according to the preset corresponding relationship for testing, and obtain the AUC value of each sub-model; The weight of each sub-model is calculated according to the AUC value of each sub-model and the preset weight of each sub-model.

10. A personal credit scoring system, characterized in that: include: A preprocessing unit, used to preprocess the original sample data to generate new sample data, wherein the data format of the new sample data complies with the format requirements of the logistic regression algorithm; A data division unit, used for dividing the new sample data into a training data set and a test data set; A sub-model building unit, used to build four sub-models; A sub-model scoring rule acquisition unit, used to input the variables in the training data set into each sub-model according to a preset corresponding relationship, perform logistic regression, and calculate the scoring rule of each sub-model; A sub-model weight acquisition unit, used to acquire the weight of each sub-model; as well as A credit scoring unit, configured to calculate a scoring rule of a personal credit scoring model according to the weight of each sub-model and the scoring rule of each sub-model, and output a credit score of the individual according to the received personal credit data and the scoring rule of the personal credit scoring model; The original sample data includes four types of sub-sample data, and the four types of sub-sample data correspond to the four sub-models one by one; the four types of sub-sample data include: identity information sample data, asset status sample data, credit history sample data and consumer behavior sample data; the four sub-models include: identity information sub-model, asset status sub-model, credit history sub-model and consumer behavior sub-model; The step of inputting the variables in the training data set into each sub-model according to a preset corresponding relationship to perform logistic regression and calculating the scoring rule of each sub-model further includes: Inputting the variables in the training data set into each sub-model according to the preset corresponding relationship to perform stepwise regression, and generating the initial logistic regression coefficient of each variable in each sub-model; Based on the initial logistic regression coefficient of each variable in each sub-model, the nuisance variables in each sub-model were eliminated; Among the remaining variables in each sub-model, selectively perform at least one binning process on the remaining variables to generate WOE values ​​and information values ​​of the remaining variables; Input the remaining variables after at least one binning process in each sub-model into each sub-model for logistic regression, and obtain the logistic regression coefficients of the remaining variables; and The scoring rule of each sub-model is calculated according to the logistic regression coefficient of each of the remaining variables in each sub-model.

11. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the personal credit scoring method according to any one of claims 1 to 9.

12. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is used to execute the personal credit scoring method described in any one of claims 1 to 9 above.