Method for constructing retail credit risk prediction model and retail credit Score sigma2b model
By constructing a retail credit credit risk prediction model based on massive communication data and using decision trees and logistic regression models, the problem of insufficient data diversity and coverage in credit risk assessment of financial institutions in online credit business has been solved, and the accuracy of credit risk prediction has been improved. Stability and precision.
Patent Information
- Application Number
- CN202310201552.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-03
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Financial institutions face problems of insufficient data diversity and coverage when building credit scoring systems, resulting in insufficient stability and accuracy of credit risk prediction models, especially in online credit businesses where it is difficult to effectively assess the credit risk of borrowers.
Based on massive communication data, we build a credit risk prediction model for retail credit customers, use the decision tree method to classify samples, and build a logistic regression model to calculate credit through a feature transformation method that combines WOE transformation, continuous transformation, and dumb feature transformation. Probability of default and credit scores.
It improves the coverage and stability of credit risk prediction in online credit business, especially has significant advantages in predicting medium and long-term overdue risks, and enhances the risk management capabilities of financial institutions.
Smart Images

Figure BDA0004109249150000261 
Figure BDA0004109249150000291 
Figure BDA0004109249150000092
Abstract
Description
Technical Field
[0001] This application relates to a credit risk management system and method. The method and system of this application can assist financial institutions in making more accurate risk decisions and accelerate their digital transformation process. In detail, this application relates to a method for building a retail credit risk prediction model for online credit business and a retail credit risk prediction model for online credit business. Background Art
[0002] In the current environment of booming consumer credit, the manual approval mechanism of some financial institutions can no longer cope with the increasing demand for credit, so there is an urgent need to improve the intelligent risk control capabilities of financial institutions. Financial institutions hope to build a risk mitigation mechanism for the entire credit process, from customer pre-screening, pre-loan review, loan approval, post-loan management to early collection stages.
[0003] If a scoring system can be developed based on the principles of early identification, early warning, early detection and early disposal, and credit business can be monitored and managed quickly and conveniently, the financial institutions' own business volume, competitive advantage and asset quality can be improved while risks are controllable.
[0004] However, the construction of a scoring system is highly dependent on data and technology. The diversity and coverage of data dimensions, modeling techniques and methodology directly affect the final stability and ranking of the scoring system. Some financial institutions have little experience in intelligent risk control of retail business and have weak risk control capabilities. In the actual application process, factors such as lack of data mining and analysis capabilities and weak risk modeling technology have led to financial institutions being unable to fully utilize the value of internal data and effectively improve the accuracy and stability of models, and other control and management technical difficulties. This is also one of the main obstacles faced by small and medium-sized financial institutions in the direction of digital transformation. Summary of the invention
[0005] Online credit business (also known as Internet credit business) is a convenient and fast online loan business. Customers can conduct the entire process of online self-service loan business through electronic channels, including real-time application, approval, contract signing, expenditure and repayment, which can be handled online without going through any third-party institutions or others. Although banks have obvious advantages in Internetization: first, the experience accumulated by banks in loan business, customer resources and system advantages, and second, the coverage and awareness of banks' online business have formed a certain scale. However, to realize the transformation of these functional advantages into online loan business, continuous improvement is still needed. Online business is not just the transplantation of registration windows to the Internet, but to realize the pre-examination and pre-submission are all carried out online. In the case of being unable to verify the real information of customers face to face, it is necessary to use tools that can predict customers' Internet credit risks to assist in business development. Not only before the loan, but also during and after the loan, comprehensive intelligent risk management tools need to be introduced.
[0006] In this context, the credit risk prediction method and system of the present application is based on the massive data of users of a certain telecommunications company. It specifically selects customer data with online credit business from the massive data, and uses online credit business customers in the retail credit customer base as samples to construct a model for predicting the credit risk of online credit business. The model constructed in the present application can be applied in a targeted manner in online credit business.
[0007] The construction process of other popular scoring models in the market is often limited by unfavorable factors such as small number of modeling samples, relatively single data sources, and high homogeneity of data dimensions. At the same time, since most of the risk assessment models on the market currently use single-dimensional data, that is, modeling based on data from a single financial institution, a single social platform, or a single online shopping mall, the data coverage is limited, and it is difficult to conduct a comprehensive and true risk assessment of borrowers.
[0008] The method and system of the present application are developed based on data samples with high stability, high coverage and high scarcity, and have made systematic innovations to the relatively mature credit risk control system. At the same time, Internet credit customers in retail credit are used as modeling samples when selecting samples, which can effectively supplement the credit risk assessment system of retail business of financial institutions, especially online credit business in retail business, and the information value contained therein is more prominent.
[0009] Specifically, the present application can further predict the probability of credit default in the future based on (1) the customer group that has had its service suspended due to arrears in the month in which it has applied for credit business; (2) the customer group that has not had its service suspended due to arrears in the month in which it has applied for credit business and has a network access time of less than 36 months; (3) the customer group that has not had its service suspended due to arrears in the month in which it has applied for credit business, has a network access time of greater than or equal to 36 months, and has an average package consumption amount of less than RMB 100; (4) the customer group that has not had its service suspended due to arrears in the month in which it has applied for credit business, has a network access time of greater than or equal to 36 months, and has an average package consumption amount of greater than or equal to RMB 100. These four credit default probabilities are used as prediction targets (i.e., target variables) for research and development.
[0010] Compared with existing models on the market, the method and system of the present application have great advantages in terms of coverage, stability and information value in predicting credit overdue of 30 days or more among Internet credit customers, especially overdue of 30 days or more within 6 months after loan issuance, and have good application prospects in predicting overdue risks of Internet credit customers, especially medium- and long-term overdue risks.
[0011] When establishing a prediction model for credit risk, the determination of the duration of the performance period usually depends on whether the credit risk can be exposed as much as possible during this period, that is, whether enough bad customers can be captured during this period. If the performance period is too short, many customers may not show overdue risks. If the performance period is too long, it will lead to a waste of data resources. Generally speaking, the duration of the performance period is related to the term of the credit product. For example, the term of a bank's credit product is usually one year, so most customers will have overdue repayment problems after the one-year term expires. The credit product term of Internet financial institutions is usually shorter, such as 3 months, 6 months, 9 months, etc., which are not the same. Therefore, the 6-month term is a more appropriate performance period for Internet loans. Therefore, credit defaults that occur within this period are very important considerations for Internet financial institutions. It is of great significance to predict the probability of overdue payments of 30 days or more within 6 months after the loan is issued.
[0012] This application involves the following technical solutions:
[0013] 1. A method for calculating retail credit risk, comprising:
[0014] A data collection step, which obtains retail credit prediction data of the sample to be predicted;
[0015] A step of classifying samples to be predicted, which classifies the samples to be predicted based on a decision tree method to determine a sub-model for calculating the probability of credit default;
[0016] The credit default probability calculation step is to substitute the retail credit prediction data into the credit default probability sub-model to calculate the credit default probability of the sample to be predicted.
[0017] 2. The method according to claim 1, further comprising:
[0018] After calculating the credit default probability, the step of calculating the credit score of the sample to be predicted is used to calibrate the calculated credit default probability to a standardized score of 0-1000 points.
[0019] 3. The method according to item 1 or 2, wherein:
[0020] The retail credit prediction data includes original retail credit prediction data of the sample to be predicted and derived retail credit prediction data processed based on the original retail credit prediction data;
[0021] Preferably, the original retail credit prediction data includes:
[0022] Basic data on communication behavior, which is based on all available data during the sample users’ call and text messaging behaviors.
[0023] Basic data on consumption behavior, which is all available data based on the recharge and consumption behavior of sample users.
[0024] Basic data on online behavior information, which is based on all available data on the behavior of sample users during their online activities.
[0025] Basic data on mobile APP usage information is based on all available data on the sample users’ behavior during the use of mobile APP.
[0026] Basic customer information data, which is based on the attributes of the sample users themselves and data related to their mobile phone account basic information.
[0027] Basic terminal information data, which includes data related to the attributes, quantity, and usage duration of the terminals used by sample users.
[0028] 4. The method according to any one of items 1 to 3, wherein
[0029] The derived retail credit prediction data processed based on the original retail credit prediction data refers to the data obtained by processing the collected original retail credit prediction data based on the time dimension, space dimension, frequency dimension and statistical information dimension;
[0030] Preferably, the derived retail credit forecast data includes but is not limited to:
[0031] Derived retail credit forecast data obtained by processing based on sample relationship length,
[0032] Derivative retail credit forecast data obtained by processing time interval variables,
[0033] Derivative retail credit forecast data obtained by processing based on the frequency of sample behavior,
[0034] Derivative retail credit forecast data obtained by processing the current time point of the sample,
[0035] Derivative retail credit forecast data obtained by processing based on sample continuous behavior,
[0036] Derived retail credit forecast data obtained by processing sample data based on statistical information dimensions.
[0037] 5. The method according to any one of items 1 to 4, wherein the retail credit prediction data is selected from one, two, three, four, five or six of the following:
[0038] The maximum usage time of portable life apps in the past three months, the call billing time in the past month divided by the call billing time in the past three months, the maximum usage time of loan apps in the past six months, the maximum change in the total consumption amount in the past three months, the total number of days of suspension due to arrears in the past month, the network connection time, the number of suspensions in the past 12 months, the average terminal usage in the past six months, the minimum usage time of financial service apps in the past six months, the deduplication of the call mobile phone numbers in the past six months divided by the deduplication of the call mobile phone numbers in the past 12 months, the call in the past six months The minimum deduplicated mobile phone number for incoming calls, the deduplicated number of outgoing call counterparts in the past 6 months divided by the deduplicated number of outgoing call counterparts in the past 12 months, the minimum total number of calls in the past 12 months, the number of shutdowns in the past month, the terminal usage in the past three months, the minimum percentage of business and office app usage in the past three months, the minimum deduplicated mobile phone number for incoming and outgoing calls in the past 6 months, the number of shutdowns in the past 6 months, the total payment amount / total number of recharges in the past three months, the maximum usage time of gaming apps in the past 6 months, and the average usage time of portable life apps in the past 6 months.
[0039] 6. The method according to any one of items 1 to 5, wherein
[0040] The step of classifying the sample to be predicted includes the following sub-steps:
[0041] Whether the sample to be tested is a customer whose service has been suspended due to arrears;
[0042] Whether the customer has been connected to the network for less than 36 months;
[0043] Whether the average package consumption amount of the sample to be tested in the past six months is less than 100 yuan;
[0044] Based on the above sub-steps, the samples to be predicted are classified to determine the sub-model for calculating the probability of credit default. Under the premise of ensuring the rationality of business logic, the order of the above sub-steps can be set arbitrarily;
[0045] It is preferred to classify the predicted samples in the following order:
[0046] Whether the sample to be tested is a customer whose service has been suspended due to arrears;
[0047] Whether the customer has been connected to the network for less than 36 months;
[0048] Whether the average package consumption amount of the sample to be tested in the past six months is less than 100 yuan.
[0049] 7. The method according to any one of items 1 to 6, wherein
[0050] After performing feature conversion on the retail credit prediction data, the data is substituted into the credit default probability sub-model to calculate the credit default probability of the sample to be predicted. The feature conversion step includes:
[0051] Based on the feature type of the retail credit prediction data that needs to be substituted into the credit default probability sub-model, select the WOE method or the continuous method for feature conversion.
[0052] 8. The method according to claim 7, wherein:
[0053] The continuous method for feature conversion includes the following methods: directly selecting the original value, calculating the square of the original data, calculating the square root of the original data, calculating the cube root of the original data, or calculating the natural logarithm of the original data to perform continuous feature conversion.
[0054] 9. The method according to any one of items 1 to 8, wherein
[0055] The credit default probability sub-model is a model constructed based on sample retail credit prediction data and credit default probability using logistic regression based on the existing user population.
[0056] 10. The method according to any one of items 1 to 9, wherein
[0057] The retail credit forecast data is selected from: the maximum proportion of usage time of portable life apps in the past three months, the call billing time in the past month divided by the call billing time in the past three months, the maximum proportion of usage time of loan and borrowing apps in the past six months, the maximum change in total consumption amount in the past three months, the total number of days of suspension due to arrears in the past month, and one, two, three, four, five or six of the network access time.
[0058] 11. The method according to item 10, wherein the step of calculating the probability of credit default comprises:
[0059] The maximum usage time of portable life apps in the past three months, the call billing time in the past month divided by the call billing time in the past three months, the maximum usage time of loan apps in the past six months, the maximum change in the total amount of consumption in the past three months, the total number of days of suspension due to arrears in the past month, and the network access time are used for feature conversion.
[0060] It is preferred to use the continuous conversion method for the maximum proportion of portable life APP usage time in the past three months; the WOE method is used to convert the call billing time in the past month divided by the call billing time in the past three months; the continuous conversion method is used for the maximum proportion of loan and borrowing APP usage time in the past six months; the continuous conversion method is used for the maximum change in the total amount of consumption in the past three months; the WOE method is used to convert the total number of days of suspension due to arrears in the past month; the continuous conversion method is used for network access time;
[0061] For further optimization, the maximum proportion of usage time of portable life apps in the past three months is calculated by taking the square root and removing the duplicates; the maximum proportion of usage time of loan and borrowing apps in the past six months is calculated by taking the cube root; the maximum change in total consumption amount in the past three months is calculated by taking the square root; and the network access time is calculated by taking the logarithm.
[0062] 12. The method according to claim 11, wherein:
[0063] The converted values of the six features, namely, the maximum proportion of usage time of portable life apps in the past three months, the call billing time in the past month divided by the call billing time in the past three months, the maximum proportion of usage time of loan and borrowing apps in the past six months, the maximum change in total consumption amount in the past three months, the total number of days of suspension due to arrears in the past month, and the network access time, are substituted into the sub-model constructed by logistic regression based on the sample retail credit prediction data and credit default probability to calculate the default probability of the sample to be predicted.
[0064] 13. The method according to claim 12, wherein:
[0065] The sub-model is shown in the following formula 1:
[0066]
[0067] Where k is the number of features entering the model, preferably k is 6,
[0068] α is the intercept term, the value range is (0.13126796, 1.43476204), and the optimal value is 0.783015;
[0069] β1 is the coefficient corresponding to the maximum proportion of usage time of portable life apps in the past three months, with a value range of (-0.13789212, -0.04450988), and the optimal value is -0.091201;
[0070] β2 is the coefficient of the call billing duration in the past month divided by the call billing duration in the past three months. The value range is (-0.91008036, -0.17834964), and the optimal value is -0.544215;
[0071] β3 is the coefficient corresponding to the maximum proportion of usage time of loan and borrowing apps in the past 6 months, with a value range of (0.27866868, 0.67465532), and the optimal value is 0.476662;
[0072] β4 is the coefficient corresponding to the maximum change in the total amount of consumption in the past three months, with a value range of (0.0112044, 0.0657316) and an optimal value of 0.038468;
[0073] β5 is the coefficient corresponding to the total number of days of outage due to arrears in the past month, with a value range of (-1.1079504, -0.5087196) and the optimal value being -0.808335;
[0074] β6 is the coefficient corresponding to the network access time, the value range is (-0.49128624,-0.24621176), and the optimal value is -0.368749;
[0075] x1 is the square root conversion value of the maximum usage time of portable life apps in the past three months generated by the feature conversion step;
[0076] x2 is the WOE conversion value generated by the feature conversion step, where the call billing duration in the past month is divided by the call billing duration in the past three months;
[0077] x3 is the cube root conversion value of the maximum usage time of loan and borrowing apps in the past 6 months generated by the feature conversion step;
[0078] x4 is the square root conversion value of the maximum change in the total amount of consumption in the past three months generated by the feature conversion step;
[0079] x5 is the WOE conversion value of the total number of days of overdue downtime in the past month generated by the feature conversion step;
[0080] x6 is the logarithmic transformation of the continuous transformation of the network access time generated in the feature conversion step.
[0081] 14. The method according to claim 13, wherein:
[0082] After calculating the credit default probability, the step of calculating the credit score of the sample to be predicted is to use the following formula to calculate and generate a credit score for characterizing the borrower:
[0083]
[0084]
[0085] Among them, P is the borrower's default probability (P) generated in the credit default probability calculation module, A is 267.8072; B is -144.2695, and the round function rounds the calculated score to the integer value; finally, the score greater than 1000 is set to 1000 points, and the score less than 0 is set to 0 points.
[0086] 15. The method according to any one of items 1 to 9, wherein
[0087] The retail credit forecast data is selected from: the number of outages in the past 12 months, the average terminal usage in the past 6 months, the minimum percentage of financial service APP usage in the past 6 months, the deduplication of the mobile phone numbers of calls in the past 6 months divided by the deduplication of the mobile phone numbers of calls in the past 12 months, and one, two, three, four or five of the minimum deduplication of the mobile phone numbers of incoming calls in the past 6 months.
[0088] 16. The method according to item 15, wherein the step of calculating the probability of credit default comprises:
[0089] The number of shutdowns in the past 12 months, the average terminal usage in the past 6 months, the minimum percentage of financial service APP usage in the past 6 months, the deduplication of the mobile phone numbers in the past 6 months divided by the deduplication of the mobile phone numbers in the past 12 months, and the minimum deduplication of the mobile phone numbers in the past 6 incoming calls are converted into features.
[0090] It is preferred to use the WOE method to convert the number of shutdowns in the past 12 months; the WOE method is used to convert the average terminal usage in the past 6 months; the continuous conversion method is used for the minimum percentage of financial service APP usage in the past 6 months; the WOE method is used to convert the duplicated mobile phone numbers of calls in the past 6 months divided by the duplicated mobile phone numbers of calls in the past 12 months; the continuous conversion method is used for the minimum duplicated mobile phone numbers of incoming calls in the past 6 months;
[0091] For further optimization, the cube root of the minimum percentage of usage of financial service apps in the past six months is used for calculation; the natural logarithm of the minimum deduplicated incoming call mobile phone numbers in the past six months is used for calculation.
[0092] 17. The method according to claim 15, wherein:
[0093] The converted values of the five features, namely, the number of shutdowns in the past 12 months, the average terminal usage in the past 6 months, the minimum proportion of financial service APP usage in the past 6 months, the deduplicated mobile phone numbers of calls in the past 6 months divided by the deduplicated mobile phone numbers of calls in the past 12 months, and the minimum deduplicated mobile phone numbers of incoming calls in the past 6 months, are substituted into the sub-model constructed by logistic regression based on the sample retail credit prediction data to calculate the default probability of the sample to be predicted.
[0094] 18. The method according to claim 17, wherein:
[0095] The sub-model is shown in the following formula 2:
[0096]
[0097] Where k is the number of features entering the model, and k is preferably 5;
[0098] α is the intercept term, the value range is (-0.14300224, 1.58775224), and the optimal value is 0.722375;
[0099] β1 is the coefficient corresponding to the number of shutdowns in the past 12 months, with a value range of (-1.01856232, -0.31583568), and the optimal value is -0.667199;
[0100] β2 is the coefficient corresponding to the average terminal usage in the past 6 months, with a value range of (-1.0679718, -0.2413222) and an optimal value of -0.654647;
[0101] β3 is the coefficient corresponding to the minimum usage ratio of financial service apps in the past six months, with a value range of (-1.0922046, -0.3980314) and an optimal value of -0.745118;
[0102] β4 is the deduplication coefficient of the mobile phone numbers of the past 6 months divided by the deduplication coefficient of the mobile phone numbers of the past 12 months. The value range is (-0.8842138, -0.2795342), and the optimal value is -0.581874;
[0103] β5 is the coefficient corresponding to the minimum value of deduplication of incoming call mobile phone numbers in the past 6 months, with a value range of (-0.38525392, -0.14250008) and an optimal value of -0.263877;
[0104] x1 is the WOE conversion value of the number of downtimes in the past 12 months generated by the feature conversion step;
[0105] x2 is the WOE conversion value of the average terminal usage in the past 6 months generated by the feature conversion step;
[0106] x3 is the cube root conversion value of the minimum percentage of usage of financial services apps in the past six months generated by the feature conversion step;
[0107] x4 is the WOE conversion value of the deduplicated phone numbers of calls in the past 6 months divided by the deduplicated phone numbers of calls in the past 12 months generated in the feature conversion step;
[0108] x5 is the natural logarithm transformation value of the minimum deduplicated inbound call mobile phone number in the past 6 months generated in the feature conversion step.
[0109] 19. The method according to claim 18, wherein:
[0110] After calculating the credit default probability, the step of calculating the credit score of the sample to be predicted is to use the following formula to calculate and generate a credit score for characterizing the borrower:
[0111]
[0112]
[0113] Among them, P is the borrower's default probability (P) generated in the credit default probability calculation module, A is 267.8072; B is -144.2695, and the round function rounds the calculated score to the integer value; finally, the score greater than 1000 is set to 1000 points, and the score less than 0 is set to 0 points.
[0114] 20. The method according to any one of items 1 to 9, wherein
[0115] The retail credit prediction data is selected from:
[0116] One, two, three, four or five of the following: the number of outgoing calls to other ends in the past six months without duplication divided by the number of outgoing calls to other ends in the past 12 months without duplication, the minimum number of total calls in the past 12 months, the number of outages in the past month, the terminal usage in the past three months, and the network access time.
[0117] 21. The method according to claim 20, wherein the step of calculating the probability of credit default comprises:
[0118] The feature conversion is performed by dividing the number of outgoing calls to other ends in the past 6 months by the number of outgoing calls to other ends in the past 12 months, the minimum number of total calls in the past 12 months, the number of outages in the past month, the terminal usage in the past 3 months, and the network access time.
[0119] It is preferred to use the WOE method to convert the number of outgoing calls to other ends in the past 6 months divided by the number of outgoing calls to other ends in the past 12 months; the continuous conversion method is used for the minimum value of the total number of calls in the past 12 months; the WOE method is used for the number of outages in the past month; the WOE method is used for the terminal usage in the past 3 months; and the continuous conversion method is used for the network access time;
[0120] Further preferably, the square root of the minimum total number of calls in the past 12 months is used for calculation; the square root of the network access time is used for calculation.
[0121] 22. The method according to claim 20, wherein:
[0122] The converted values of the five features, namely, the number of outgoing calls to other ends in the past 6 months deduplicated divided by the number of outgoing calls to other ends in the past 12 months deduplicated, the minimum number of total calls in the past 12 months, the number of outages in the past month, the terminal usage in the past 3 months and the network access time, are substituted into the sub-model constructed by logistic regression based on the sample retail credit forecast data and credit default probability to calculate the default probability of the sample to be predicted.
[0123] 23. The method according to claim 22, wherein:
[0124] The sub-model is shown in Formula 3 below:
[0125]
[0126] Where k is the number of features entering the model, and k is preferably 5;
[0127] α is the intercept term, the value range is (-1.78615768, -1.34845832), and the optimal value is -1.567308;
[0128] β1 is the coefficient of the deduplication of the number of outbound calls in the past 6 months divided by the deduplication of the number of outbound calls in the past 12 months. The value range is (-0.63087416, -0.13834184), and the optimal value is -0.384608;
[0129] β2 is the coefficient corresponding to the minimum value of the total number of calls in the past 12 months, with a value range of (-0.03775748, -0.02065452), and the optimal value is -0.029206;
[0130] β3 is the coefficient corresponding to the number of shutdowns in the past month, with a value range of (-1.21854248, -0.60667752), and the optimal value is -0.91261;
[0131] β4 is the coefficient corresponding to the terminal usage in the past three months, with a value range of (-1.35295136, -0.25303464), and the optimal value is -0.802993;
[0132] β5 is the coefficient corresponding to the network access time, the value range is (-0.00001285,-0.00000586), and the optimal value is -0.00000935923;
[0133] x1 is the WOE conversion value of the outbound call peer number in the past 6 months divided by the outbound call peer number in the past 12 months.
[0134] x2 is the square root transformed value of the minimum total number of calls in the past 12 months generated by the feature conversion step;
[0135] x3 is the WOE conversion value of the number of downtimes in the past month generated by the feature conversion step;
[0136] x4 is the WOE conversion value of the terminal usage in the past three months generated by the feature conversion step;
[0137] x5 is the square conversion value of the network access time generated by the feature conversion step.
[0138] 24. The method according to claim 23, wherein:
[0139] After calculating the credit default probability, the step of calculating the credit score of the sample to be predicted is to use the following formula to calculate and generate a credit score for characterizing the borrower:
[0140]
[0141]
[0142] Among them, P is the borrower's default probability (P) generated in the credit default probability calculation module, A is 267.8072; B is -144.2695, and the round function rounds the calculated score to the integer value; finally, the score greater than 1000 is set to 1000 points, and the score less than 0 is set to 0 points.
[0143] 25. The method according to any one of items 1 to 9, wherein
[0144] The retail credit forecast data is selected from: one, two, three, four, five or six of the following: the minimum percentage of usage of business office apps in the past three months, the minimum value of deduplicated mobile phone numbers for calls in the past six months, the number of shutdowns in the past six months, the total payment amount / total number of recharges in the past three months, the maximum usage time of game apps in the past six months, and the average usage time of portable life apps in the past six months.
[0145] 26. The method according to item 25, wherein the step of calculating the probability of credit default comprises:
[0146] The minimum usage ratio of business office apps in the past three months, the minimum deduplication of mobile phone numbers in the past six months, the number of shutdowns in the past six months, the total payment amount / total recharge times in the past three months, the maximum usage time of game apps in the past six months, and the average usage time of portable life apps in the past six months were transformed into features.
[0147] It is preferred to use a continuous conversion method for the minimum percentage of business office APP usage in the past three months; a continuous conversion method for the minimum value of the deduplication of mobile phone numbers for calls in the past six months; the WOE method for the number of shutdowns in the past six months; a continuous conversion method for the total payment amount / total number of recharges in the past three months; a continuous conversion method for the maximum usage time of game APPs in the past six months; and a continuous conversion method for the average usage time of portable life APPs in the past six months.
[0148] For further optimization, the cube root of the minimum proportion of business and office app usage in the past three months is calculated; the natural logarithm of the minimum deduplicated mobile phone numbers for calls in the past six months is calculated; the cube root of the total payment amount / total recharge times in the past three months is calculated; the natural logarithm of the maximum usage time of gaming apps in the past six months is calculated; and the square root of the average usage time of portable life apps in the past six months is calculated.
[0149] 27. The method according to claim 25, wherein:
[0150] The converted values of six features, including the minimum proportion of business office apps used in the past three months, the minimum value of deduplicated mobile phone numbers for calls in the past six months, the number of shutdowns in the past six months, the total payment amount / total recharge times in the past three months, the maximum usage time of game apps in the past six months, and the average usage time of portable life apps in the past six months, are substituted into the sub-model constructed based on the sample retail credit prediction data using logistic regression to calculate the default probability of the sample to be predicted.
[0151] 28. The method according to claim 27, wherein:
[0152] The sub-model is shown in the following formula 2:
[0153]
[0154] Where k is the number of features entering the model, and k is preferably 6;
[0155] α is the intercept term, the value range is (-2.78986428, -0.40829572), and the optimal value is -1.59908;
[0156] β1 is the coefficient corresponding to the minimum usage ratio of business office apps in the past three months, with a value range of (-0.63819304, -0.19739296), and the optimal value is -0.417793;
[0157] β2 is the coefficient corresponding to the minimum value of deduplication of mobile phone numbers in the past 6 months, with a value range of (-0.3084452, -0.1640128) and an optimal value of -0.236229;
[0158] β3 is the coefficient corresponding to the number of shutdowns in the past six months, with a value range of (-0.94741396, -0.42820604), and the optimal value is -0.68781;
[0159] β4 is the coefficient corresponding to the total payment amount / total number of recharges in the past three months, with a value range of (-0.1823546, 0.0029046) and an optimal value of -0.089725;
[0160] β5 is the coefficient corresponding to the maximum usage time of game apps in the past 6 months, with a value range of (0.0108588, 0.0783612) and an optimal value of 0.04461;
[0161] β6 is the coefficient corresponding to the mean usage time of portable life apps in the past 6 months, with a value range of (-0.00634436, -0.00147964), and the optimal value is -0.003912;
[0162] x1 is the cube root conversion value of the minimum usage ratio of business office apps in the past three months generated by the feature conversion step;
[0163] x2 is the natural logarithm transformation value of the minimum value of the mobile phone number for calls in the past 6 months generated by the feature conversion step;
[0164] x3 is the WOE conversion value of the number of downtimes in the past six months generated by the feature conversion step;
[0165] x4 is the cube root conversion value of the total payment amount / total recharge times in the past three months generated by the feature conversion step;
[0166] x5 is the natural logarithm transformation value of the maximum usage time of gaming apps in the past 6 months generated by the feature conversion step;
[0167] x6 is the square root conversion value of the average usage time of portable life apps in the past 6 months generated by the feature conversion step.
[0168] 29. The method according to claim 28, wherein:
[0169] After calculating the credit default probability, the step of calculating the credit score of the sample to be predicted is to use the following formula to calculate and generate a credit score for characterizing the borrower:
[0170]
[0171]
[0172] Among them, P is the borrower's default probability (P) generated in the credit default probability calculation module, A is 267.8072; B is -144.2695, and the round function rounds the calculated score to the integer value; finally, the score greater than 1000 is set to 1000 points, and the score less than 0 is set to 0 points.
[0173] 30. A device for calculating retail credit risk, comprising:
[0174] A data collection module, which is used to obtain retail credit prediction data of samples to be predicted;
[0175] A module for classifying samples to be predicted, which is used to classify the samples to be predicted based on a decision tree method to determine a sub-model for calculating the probability of credit default;
[0176] A credit default probability calculation module is used to substitute the retail credit prediction data into the credit default probability sub-model to calculate the credit default probability of the sample to be predicted, and preferably the credit default probability is the credit default probability for online credit business.
[0177] 31. An apparatus according to item 30, wherein the apparatus executes the steps of the method for calculating retail credit risk described in any one of items 1 to 29.
[0178] 32. A system for calculating retail credit risk, characterized in that the system for calculating retail credit risk comprises: a memory, a processor, and a program for the method for calculating retail credit risk stored in the memory and executable on the processor, wherein the program for calculating retail credit risk implements the steps of the method for calculating retail credit risk as described in any one of items 1 to 29 when executed by the processor.
[0179] 33. A computer storage medium, characterized in that a program for calculating retail credit risk is stored on the computer storage medium, and when the program for calculating retail credit risk is executed by a processor, the steps of the method for calculating retail credit risk as described in any one of items 1 to 29 are implemented.
[0180] 34. A method for constructing a retail credit risk prediction model for online credit business, comprising:
[0181] A data collection step, which obtains the original retail credit prediction data of the sample used to build the model;
[0182] A data derivation step, which processes derived retail credit forecast data based on the original retail credit forecast data;
[0183] The feature initial screening step is to perform initial screening on all categories, that is, all features, including the original retail credit forecast data and the derived retail credit forecast data, to obtain features after initial screening;
[0184] The initial screening data conversion step is to judge the conversion method of the features after the initial screening to confirm whether to use one of the WOE conversion method, the dummy feature conversion method and the continuous conversion method for feature conversion, and use the best method to convert each feature after the initial screening;
[0185] The feature fine screening step is to perform in-depth screening on the initially screened features after feature conversion to obtain finely screened features;
[0186] The credit default probability modeling step is to select the logistic regression method to build the model based on the relationship between the carefully screened features and the probability of credit default, and confirm the method used to calculate the credit default probability;
[0187] The data samples obtained in the data collection step are samples of customers who have used online credit services.
[0188] 35. The method according to claim 34, wherein:
[0189] In the data collection step, the original retail credit prediction data of the samples obtained for building the model include:
[0190] Basic data on communication behavior, which is based on all available data during the sample users’ call and text messaging behaviors.
[0191] Basic data on consumption behavior, which is all available data based on the recharge and consumption behavior of sample users.
[0192] Basic data on online behavior information, which is based on all available data on the behavior of sample users during their online activities.
[0193] Basic data on mobile APP usage information is based on all available data on the sample users’ behavior during the use of mobile APP.
[0194] Basic customer information data, which is based on the attributes of the sample users themselves and data related to their mobile phone account basic information.
[0195] Basic terminal information data, which includes data related to the attributes, quantity, and usage duration of the terminals used by sample users.
[0196] 36. A method according to claim 34, wherein:
[0197] In the data derivation step, the derived retail credit prediction data processed based on the original retail credit prediction data refers to data obtained by processing the collected original retail credit prediction data based on the time dimension, space dimension, frequency dimension, and statistical information dimension;
[0198] Preferably, the derived retail credit forecast data includes but is not limited to:
[0199] Derived retail credit forecast data obtained by processing based on sample relationship length,
[0200] Derivative retail credit forecast data obtained by processing time interval variables,
[0201] Derivative retail credit forecast data obtained by processing based on the frequency of sample behavior,
[0202] Derivative retail credit forecast data obtained by processing the current time point of the sample,
[0203] Derivative retail credit forecast data obtained by processing based on sample continuous behavior,
[0204] Derived retail credit forecast data obtained by processing sample data based on statistical information dimensions.
[0205] 37. The method according to any one of items 34 to 36, wherein
[0206] The feature initial screening step includes the following steps:
[0207] The first preliminary screening step is to screen the features based on the missing data of each feature of the sample used to build the model.
[0208] The second initial screening step is to screen the features based on the fact that a single value of a feature sample is too high.
[0209] The third preliminary screening step is to calculate the information IV value of each feature to perform preliminary screening of the features;
[0210] The order of the first preliminary screening step, the second preliminary screening step and the third preliminary screening step can be any order.
[0211] The fourth preliminary screening step uses a stepwise discrimination algorithm to perform preliminary screening of features after the first to third preliminary screenings;
[0212] The fifth preliminary screening step is to conduct preliminary screening of the features after the fourth preliminary screening step based on the consistency between the risk characteristics of each feature itself and the actual real results of the samples used for model construction.
[0213] 38. The method according to any one of items 34 to 37, further comprising:
[0214] The sample selection step is used to screen all users and obtain samples of online credit business for model construction before the data collection step.
[0215] Preferably, the sample selection step includes classifying all sample users based on a decision tree, and the classification basis includes but is not limited to:
[0216] Whether a certain user is a customer whose service has been suspended due to arrears;
[0217] Whether a user is a customer whose network access time is less than a;
[0218] Whether a user is a customer whose average package consumption amount in the past 6 months is less than b.
[0219] 39. A method according to any one of items 34 to 38, wherein, in the initial screening data conversion step, the conversion method of the features after the initial screening is determined based on the concentration and data type of the features after the initial screening.
[0220] 40. The method according to claim 39, wherein:
[0221] The initial screening data conversion step includes the following steps based on the judgment of concentration and data type:
[0222] Classify the data type of each feature into character variables and numeric variables.
[0223] For character variables, dummy feature conversion is used to perform initial screening data conversion.
[0224] The process of further classifying numerical variables includes the following sub-steps:
[0225] If the value of the numeric variable is less than n, the WOE conversion method is used to convert the initial screening data.
[0226] If the value of the numerical variable is more than n, further judge if the value of the continuous variable is large and the concentration of a single value is greater than m%, then the WOE conversion method is used; if the concentration of a single value is less than or equal to m%, then the continuous conversion method is used.
[0227] Preferably, n and m are both positive integers, wherein n=5-10, and m=90-99.
[0228] 41. The method according to claim 40, further comprising:
[0229] For the features that are confirmed to adopt the continuous conversion method, the optimal conversion method is selected based on the correlation between the feature and credit default under different continuous conversion methods to perform the continuous feature conversion of the feature.
[0230] Preferably, the continuous feature conversion is performed by directly selecting the original value, calculating the square of the original data, calculating the square root of the original data, calculating the cube root of the original data, or calculating the natural logarithm of the original data.
[0231] 42. The method according to any one of items 34 to 41, wherein the feature fine screening step comprises:
[0232] The first fine screening step is to screen the features based on the stepwise regression algorithm, the F test and the T test to determine the significance of the features.
[0233] The second fine screening step is to calculate the variance inflation factor based on each feature and eliminate the features with higher variance inflation factors to screen the features.
[0234] The third fine screening step is to analyze whether the characteristic coefficients conform to the trend of the prediction results for credit default based on logistic regression of the characteristics after the first fine screening step and the second fine screening step, so as to further perform feature screening.
[0235] 43. A method according to any one of items 34 to 42, wherein the credit default probability modeling step substitutes the features screened in the feature fine screening step into the Sigmoid function to perform logistic regression to calculate the credit default probability model.
[0236] 44. A device for constructing a retail credit risk prediction model for online credit business, characterized in that the device comprises:
[0237] A data collection module, which is used to obtain raw retail credit prediction data of samples used to build a model;
[0238] A data derivation module, which is used to process derived retail credit forecast data based on the original retail credit forecast data;
[0239] A feature initial screening module, which is used to perform initial screening on all categories, that is, all features, including the original retail credit forecast data and the derived retail credit forecast data, to obtain features after initial screening;
[0240] The initial screening data conversion module is used to determine the conversion method of the features after the initial screening to confirm whether to use one of the WOE conversion method, the dummy feature conversion method and the continuous conversion method for feature conversion, and to use the best method for feature conversion for each feature after the initial screening;
[0241] A feature fine screening module is used to perform in-depth screening on the initially screened features after feature conversion to obtain finely screened features;
[0242] The credit default probability modeling module is used to select the logistic regression method to build a model based on the probability relationship between the finely screened features and credit default, and confirm the method used to calculate the credit default probability.
[0243] The data samples obtained by the data collection module are samples of customers who have used online credit services.
[0244] 45. An apparatus according to item 44, wherein the apparatus executes the steps of the method for constructing a retail credit risk prediction model as described in any one of items 29 to 38.
[0245] 46. A system for constructing a retail credit risk prediction model for online credit business, characterized in that the system includes: a memory, a processor, and a program for constructing a retail credit risk prediction model method stored in the memory and executable on the processor, wherein the program for constructing a retail credit risk prediction model method, when executed by the processor, implements the steps of constructing a retail credit risk prediction model method as described in any one of items 34 to 43.
[0246] Effects of the Invention
[0247] The method and system for constructing a retail credit risk prediction model in this application combines a large number of samples from operators when constructing the model, and screens customer data with online credit business as raw data, and deeply processes and derives the raw data obtained from the samples. It uses advanced statistical analysis methods and explainable machine learning technology to construct a general scoring model for retail credit based on the characteristics of the raw data and derived data and the scarce operator information in the market contained in the data.
[0248] In addition, this application uses the decision tree method to classify samples in the most reasonable way at the beginning of model construction and builds a sub-classification model based on the classified samples. Combining decision trees to build financial models can effectively classify samples according to executable categories, thereby better covering the credit risk characteristics of different customer groups and avoiding the problem of using all samples to build models, resulting in the model lacking sub-group representativeness.
[0249] Furthermore, when constructing the risk prediction model in this application, the overall efficiency of model development is fully improved by using the stepwise discriminant analysis method for the preliminary screening of model features. The stepwise discriminant method can better select more important feature variables under the same dimension, greatly reducing the workload of developers in the next step who need to judge and screen one by one according to the trend of the variables, and fully improving the efficiency of model development without affecting the overall model effect, making the initial screening of variables more efficient and accurate.
[0250] This application innovatively combines continuous conversion, WOE conversion, and dummy feature conversion when building a model, reprocesses some features that have passed the initial screening, combines the advantages and disadvantages of the three conversion methods, and creatively designs a conversion judgment method. According to parameters such as feature data attributes, missing rate, concentration, etc., supplemented by business logic judgment, the optimal feature conversion method is selected. Through such a model building method, it is possible to avoid the technical shortcomings of overfitting when building a model with complete WOE variables and the inability to adapt to categorical variables when building a model with complete continuous variables.
[0251] In addition, the method and system for calculating credit risk probability or scoring credit risk constructed by the present application, namely the Scoresigmam2b model (Scoresigmam2b series scoring cards) (including Scoresigmam2b-1 to Scoresigmam2b-4 sub-models or sub-scoring cards), because its model is first split based on the decision tree when it is constructed, so the credit risk is initially calculated by effectively classifying the customer samples and selecting the most suitable sub-model or sub-scoring card for processing. At the same time, because the model construction method used in the sub-model or sub-scoring card is the method described in the present application, the construction process also avoids the technical shortcomings of overfitting when constructing a model with complete WOE variables and the inability to adapt to categorical variables when constructing a model with complete continuous variables. Therefore, it has a significantly better effect than existing models in predicting credit risk. In addition, since this application is aimed at online credit business, the sample data is customer data of online credit business screened out from massive operator data. It not only covers the predictive variables of operator business, but also includes the overdue performance data of Internet business. Therefore, the risk rules extracted by using statistical principles through specific business scenario data have very significant adaptability and distinctiveness in the credit risk of online credit business. BRIEF DESCRIPTION OF THE DRAWINGS
[0252] The accompanying drawings are used to better understand the present application and do not constitute an improper limitation on the present application.
[0253] Figure 1 The graphical results are used to illustrate the model differentiation effect of Example 1 of the present application.
[0254] Figure 2 An example of binning to confirm whether the data conforms to business trends is shown.
[0255] Figure 3 A typical flow chart for classifying all users in a sample based on a decision tree is shown. DETAILED DESCRIPTION
[0256] The following is a description of the exemplary embodiments of the present application, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0257] Credit risk is the risk caused by the borrower's reduced willingness to repay or inability to perform the loan contract due to changes in economic ability, rather than the risk of default caused by the borrower's deliberate fraud. Credit default occurs in all kinds of retail credit business scenarios, and is particularly related to the borrower's personal economic situation. The reasons for borrowers' credit defaults can be divided into four categories: 1. Short credit history, such borrowers have little experience in financial management; 2. Borrowers temporarily forget to repay; 3. Over-borrowing, such borrowers have relatively low repayment ability due to a large amount of debt; 4. Affected by major negative factors, such borrowers have long-term impacts on their repayment ability due to major factors such as reduced income, unemployment or divorce. The above different reasons will more or less cause borrowers to default, which may lead to more serious defaults. The purpose of credit risk scoring is to dig out the inherent mathematical relationship between various historical information of customers and the probability of future default, and convert it into a scoring method to quantify the probability of default.
[0258] At present, the credit risk scoring in the existing technology is mainly developed using credit history data and multi-head data (multi-head data refers to the statistical data of borrowers' behavior of applying for loan demands from multiple financial institutions. It is generally believed that the greater the number of multi-heads in a short period of time, the greater the probability of future overdue payments), which reflects their payment behavior and willingness to pay. The sample data used to build the model in this application includes the borrower's operator-related data, which indirectly reflects the borrower's communication consumption, social activity, life and work conditions, and other scarce information that is not included in the market's usual credit risk scoring. It can be used in combination with traditional credit risk scoring to conduct a more comprehensive measurement of the borrower's debt repayment ability, personal qualifications, etc., thereby providing more accurate prediction results.
[0259] <Overall description of model building method>
[0260] Specifically, the present application relates to a method for constructing a retail credit risk prediction model for online credit business, which includes: a data collection step, which obtains the original retail credit prediction data of the sample used to build the model; a data derivation step, which processes the derived retail credit prediction data based on the original retail credit prediction data; a feature initial screening step, which performs preliminary screening on all categories including the original retail credit prediction data and the derived retail credit prediction data, that is, all features, to obtain the features after the preliminary screening; a preliminary screening data conversion step, which determines the conversion method of the features after the preliminary screening to confirm that one of the WOE conversion method, the dummy feature conversion method and the continuous conversion method is used for feature conversion, and the best method is used for feature conversion for each feature after the preliminary screening; a feature fine screening step, which performs in-depth screening on the features after the preliminary screening after feature conversion to obtain the finely screened features; a credit default probability modeling step, which selects the logistic regression method for model construction based on the finely screened features combined with the probability relationship between the features and the credit default, and confirms the method for calculating the credit default probability.
[0261] In a specific manner, the method for building a retail credit risk prediction model for online credit business involved in the present application may also include a sample selection step before the data collection step, which is used to screen all users before the data collection step to obtain samples for model building. Those skilled in the art understand that based on the total number and data of users who can build the model, those skilled in the art can choose whether to eliminate user data that does not meet the requirements for building the model. In addition, those skilled in the art can also first select some users as samples, and then continuously increase the samples for modeling according to the corresponding rules.
[0262] In a specific implementation, the selected samples are customer samples of online credit services among customer samples that applied for credit services registration within a certain period of time.
[0263] <Sample selection steps>
[0264] In a specific implementation, the sample selection step is to screen all users before the data collection step to obtain samples for model construction. Specifically, the sample selection step includes classifying all sample users based on a decision tree, and the classification basis includes but is not limited to: whether a certain user has a service suspension due to arrears in a certain communication company; the length of time a certain user has been connected to a certain communication company; and the package consumption of a certain user in a certain communication company in the past 6 months.
[0265] Access to a telecommunications company means that the user has the number of the telecommunications company and can carry out telecommunications services.
[0266] Furthermore, all sample users are classified based on the decision tree to better construct the sub-model. Since performance variables are required for modeling, the performance variables of the modeling are defined as the repayment performance of a certain credit product.
[0267] Credit business is a basic and important asset business of banks. It recovers the principal and interest by issuing bank loans and obtains profits after deducting costs. Generally speaking, bank credit business is an important means for banks to make profits. From the classification of bank credit business, it can be divided into corporate credit business and personal credit business. Among them, corporate credit business includes project loans, working capital loans, small business loans, real estate enterprise loans, etc.; personal credit business includes personal housing loans, personal consumption loans, personal business loans, etc.
[0268] A decision tree is a decision analysis method that uses a decision tree to obtain the probability that the expected value of the net present value is greater than or equal to zero, evaluate project risks, and judge its feasibility based on the known probabilities of various situations. It is a graphical method that intuitively uses probability analysis. When constructing the model, this application uses a decision tree to classify samples used for modeling based on the characteristics of the data of large telecommunications companies, and further classifies samples based on whether there is any arrears shutdown in a certain telecommunications company. Samples that have applied for credit services are classified into two categories: customers who have arrears shutdown in the current month and customers who do not have arrears shutdown in the current month. The arrears shutdown situation in the telecommunications company can be determined based on the data collected from the telecommunications company.
[0269] It is also possible to further classify customers based on their length of network access, by classifying samples that have applied for credit services into two categories: customers whose network access time with a telecommunications company is less than 36 months and customers whose network access time is greater than or equal to 36 months. The decision on the length of network access with a telecommunications company can be determined based on data collected at the telecommunications company.
[0270] The classification may also be performed based on the consumption of the user after joining the network. For example, in a specific implementation, the modeling samples are classified based on the package consumption amount of the user within a period of time.
[0271] Those skilled in the art can fully understand that other splitting methods can also be selected when performing sample splitting. For example, customer samples can be first split according to the number of times mobile financial service apps are used. The customer sample splitting method when building the model can be completely considered and performed according to the needs of modeling.
[0272] In the process of building the model of this application, since it is necessary to build a model for online credit business, the selected samples are customer samples that have online credit business within a certain period of time.
[0273] In a specific implementation, 138,000 customers with operator mobile phone numbers are selected from 200,000 customers with a certain credit business as a sample for modeling. Such a sample is more targeted and representative when predicting the credit risk of online credit business.
[0274] <Original Retail Credit Forecast Data>
[0275] When constructing the model for this application, firstly, based on the basic data of the operator, about 120 types of original retail credit prediction data (i.e. more than 120 basic features) can be obtained, and the retail credit risk points are split or processed as much as possible according to different dimensions under the premise of optimal effect, generating more than 3,000 derivative features in total.
[0276] When building the model, first of all, based on all the historical data of the operator, the communication behavior data, consumption behavior data, Internet behavior data, mobile APP usage behavior data, customer basic information and terminal information data of all retail customers in the past three years were initially collected when the model of this application was built, totaling 1.64 billion (based on mobile phone numbers, the same below), of which each person has corresponding data to be processed every month. It can be seen that the data system used to build the model of this application is comprehensive and the data volume is very large. When building a model based on such a data system, it is necessary to consider the modeling methodology, otherwise it will be trapped in the huge data, resulting in the special sample groups that need to be paid attention to being covered in the huge data volume and unable to be effectively identified, causing the computer program to run slowly or even unable to run, so that the most suitable prediction model cannot be accurately built.
[0277] In the data collection step, the original retail credit prediction data of the samples obtained for building the model include: basic data of communication behavior, which is all available data based on the sample users' call and text message behaviors (i.e., communication behavior data); basic data of consumption behavior, which is all available data based on the sample users' recharge and consumption behaviors (i.e., consumption behavior data); basic data of Internet behavior, which is all available data based on the sample users' behavioral performance in the process of Internet access (i.e., Internet behavior data); basic data of mobile phone APP usage information, which is all available data based on the sample users' behavioral performance in the process of using mobile phone APP (i.e., mobile phone APP usage behavior data); basic data of customer basic information, which is based on the attributes of the sample users themselves and data related to their basic information of mobile phone accounts (i.e., customer basic information data) or basic data of terminal information, which is data related to the attributes, quantity and usage duration of the terminals used by the sample users (i.e., terminal information data).
[0278] In a specific implementation, the basic data of communication behavior includes, but is not limited to: basic fields including the number of calls, the number of calls, the duration of calls, the duration of calls, the intra-provincial roaming, the inter-provincial roaming, the international roaming, the number of call counterparts, the amount of text messages sent, and the amount of text messages received. The above basic data is not limited to the specific categories listed. With the changes in communication behavior, those skilled in the art can further cover the newly emerged data types in the implementation, that is, all types of data that can be obtained during the user's communication process can be used as basic data of communication behavior.
[0279] In a specific implementation, the basic data of consumption behavior includes, but is not limited to, the number of recharges, the recharge amount, the total consumption amount, the package consumption amount, the traffic consumption amount, the call consumption amount, the SMS consumption amount, the balance, the arrears and the points, etc. The above basic data is not limited to the specific categories listed. With the changes in consumption behavior, those skilled in the art can further cover the newly emerged data types in the implementation, that is, all the types of data that can be obtained in the consumption process of the user can be used as the basic data of consumption behavior.
[0280] In a specific implementation, the basic data of online behavior includes, but is not limited to, information such as traffic usage, number of online days, number of roaming times, number of roaming days, and roaming traffic. The above basic data is not limited to the specific categories listed. As online behavior changes, those skilled in the art can further cover new data types in implementation, that is, all types of data that can be obtained during the user's online process can be used as basic data of online behavior.
[0281] In a specific implementation, the basic data of mobile phone APP usage information includes, but is not limited to: the number of times the APP is used, the duration of APP use, the traffic volume used, the number of APP use days, and the number of APP use information. The above basic data is not limited to the specific categories listed. With the changes in mobile phone APPs and usage methods, those skilled in the art can further cover new data types in implementation, that is, all types of data that can be obtained during the user's mobile phone APP use process can be used as basic data of mobile phone APP usage information.
[0282] In a specific implementation, the basic data of the basic information of customers include, but are not limited to, the gender, age, network access duration, star rating, downtime, etc. of the owner. The above basic data is not limited to the specific categories listed. As the customers or customer information change, those skilled in the art can further cover new data types in implementation, that is, all types of data that can be obtained by users during the network process can be used as basic data of the basic information of customers.
[0283] The star rating can be assessed by the operator based on the age of the mobile phone number used by the user, the average monthly consumption, the contract status, the number of suspension times due to arrears and other information, and the user can be scored. The star rating can be divided into five star standards, namely one star, two stars, three stars, four stars and five stars. The five stars are further divided into five-star silver, five-star gold and five-star diamond. Users who have been on the network for less than half a year cannot participate in the star rating and are defined as "unrated" customers. Quasi-star and unrated customers are collectively referred to as "unrated" customers. The star rating can be assessed once a year and is valid for one year. If the star rating is adjusted, the star service will be adjusted synchronously.
[0284] In a specific implementation, the basic data of terminal information includes, but is not limited to, information such as terminal brand, age, usage duration, and terminal usage. The above basic data is not limited to the specific categories listed. As customers or customer information change, those skilled in the art can further cover new data types in implementation, that is, all types of data that can be obtained during the user's terminal use or replacement process can be used as basic data of terminal information.
[0285] <Derived Retail Credit Forecast Data>
[0286] In the present application, in the data derivation step, the derived retail credit prediction data processed based on the original retail credit prediction data refers to the data obtained by processing the collected original retail credit prediction data based on the time dimension, space dimension, frequency dimension, and statistical information dimension.
[0287] In a specific embodiment, the derived retail credit prediction data includes, but is not limited to: derived retail credit prediction data obtained by processing based on the sample relationship length, derived retail credit prediction data obtained by processing based on time interval variables, derived retail credit prediction data obtained by processing based on the frequency of sample behavior, derived retail credit prediction data obtained by processing based on the current time point of the sample, derived retail credit prediction data obtained by processing based on the continuous behavior of the sample, or derived retail credit prediction data obtained by processing sample data based on statistical information dimensions. For example, the monthly data of the customer can be obtained and processed based on the monthly data. In this application, processing based on statistical information dimensions includes obtaining the maximum value, minimum value, average value, etc. of the data to describe the data situation.
[0288] In a specific implementation, for example, starting from the time dimension, customer relationship length variables are considered: such as customer network access time, terminal usage time, etc. as types of derived retail credit prediction data, that is, as derived features or derived variables.
[0289] In a specific implementation, for example, starting from the time dimension, time intervals are considered, such as the number of months from the customer's last outage to the observation point, the number of months from the last active call, etc. as derived features or derived variables.
[0290] In a specific implementation, for example, starting from the time dimension, current point variables are considered: such as the customer's current monthly star rating, current monthly balance, etc. as derived features or derived variables.
[0291] In a specific method, starting from the dimension of statistical information, statistical variables are considered, such as the maximum number of times customers use travel apps in the past X months, the average call duration in the past X months, etc. as derived features or derived variables. There is no limit on X, and it can be any positive integer greater than 0 as long as the business logic is reasonable.
[0292] In a specific method, starting from the dimension of statistical information, ratio variables are considered as derived features or derived variables, such as call duration / number of calls in the last X months, consumption amount in the last month / consumption amount in the last three months, and the total number of active days in the last X months. There is no limit on X, and it can be any positive integer greater than 0 as long as the business logic is reasonable.
[0293] The sum of active days in the last X months refers to the time defined based on the cumulative duration of active behaviors of users during use. Active behaviors can be defined as the number of calls or traffic usage, for example, when the number of calls on a given day is greater than 0 or the traffic is greater than 5M, the user is considered to be active on that day.
[0294] In a specific implementation, starting from the dimension of statistical information, change variables are considered as derived features or derived variables, such as the number of months in which the total amount of package consumption decreases, the number of consecutive months in which the usage time of loan and borrowing apps has increased in the last X months, etc. There is no limit on X, and it can be any positive integer greater than 0 as long as the business logic is reasonable.
[0295] In a specific implementation, starting from the dimension of statistical information, stability variables are considered, such as the variance of the usage time of financial service apps in the last X months, as derived features or derived variables. There is no limit on X, and it can be any positive integer greater than 0 as long as the business logic is reasonable.
[0296] It is clear to those skilled in the art that the above methods for processing derived variables are merely enumerated and can be selected arbitrarily. For example, 120 types of basic data can be processed into more than 3,000 derived data. In this application, data, data types, data types, variables or features are sometimes mixed, and those skilled in the art can understand them based on common sense in statistics.
[0297] In this application, the derivative data can be derived data obtained by simple processing of the original retail credit forecast data, or it can be derived data obtained by complex processing. The simply processed derivative data, such as the current variables such as the monthly consumption amount and the monthly balance, can be used directly after the data is aggregated. The complex processed derivative data needs to be based on the variables of the current class based on time slicing and logical processing, and can generate derivative variables such as the maximum consumption amount in the past 3 months and the minimum balance in the past 12 months.
[0298] <Preliminary feature screening>
[0299] In the initial screening data conversion step of the present application, the judgment of the conversion method of the features after the initial screening is based on the concentration and data type of the features after the initial screening. The initial screening data conversion step includes the following steps based on the judgment of the concentration and data type: classify each feature into character variables and numerical variables according to the data type of each feature, use the dummy feature conversion method to perform initial screening data conversion on the character variables, and further classify the numerical variables. The process includes the following sub-steps: if the value of the numerical variable is less than n, use the WOE conversion method to perform initial screening data conversion, if the value of the numerical variable is more than n, further judge if the value of the continuous variable is more and the concentration of the single value is greater than m%, then use the WOE conversion method, if the concentration of the single value is less than or equal to m%, then use the continuous conversion method, preferably, n and m are both positive integers, where n = 5 to 10, m = 90 to 99.
[0300] For example, n is 5, 6, 7, 8, 9 or 10, and m is 90, 91, 92, 93, 94, 95, 96, 97, 98 or 99.
[0301] Specifically, in this application, a variety of different feature initial screening methods are used to screen a large number of features, so that the screening can be effectively performed from the largest dimension of features. Existing credit risk scoring often uses missing rate, concentration and information value IV for feature initial screening.
[0302] In a specific method, features are screened based on the data missingness of each feature of the sample used to build the model. When screening the missing rate, it is generally considered to delete variables with a missing rate greater than 90%, 91%, 92%, 93%, 94%, or 95%. For example, features with a data missing rate exceeding 95% can be eliminated, and features with a data missing rate exceeding 90% can also be eliminated.
[0303] In a specific method, features are screened based on the fact that a single value of a feature sample is too high. When screening by concentration, it is generally considered to delete variables whose single values account for more than 99%, 98%, 97%, 96%, or 95%. For example, features whose single values exceed 99% can be eliminated, and features whose single values exceed 95% can also be eliminated.
[0304] In a specific method, the information IV value of each feature is calculated to perform preliminary screening of the features. During IV screening, the IV value can be used to measure the predictive power of the feature. The larger the IV value, the stronger the predictive power of the feature. The calculation method of the IV value of a single feature is as follows:
[0305]
[0306] Where k is the number of groups after this feature is discretized; y i is the number of non-defaulting customers in group i; s is the total number of customers who have not defaulted; n i is the total number of defaulting customers in group i; n s The quantitative index of IV has the following meanings: when the calculated value of IV is less than 0.02, it means that the predictive power of this feature is very weak; when the calculated value of IV is above 0.02 and below 0.1, it means that the predictive power of this feature is weak; when the calculated value of IV is above 0.1 and below 0.3, it means that the predictive power of this feature is good; when the calculated value of IV is above 0.3, it means that the predictive power of this feature is strong.
[0307] Of course, the IV calculated value deletion threshold may also be set to 0.03, 0.04, 0.05, etc.
[0308] In the model building method of the present application, the step of using missing rate, concentration and information value IV for feature initial screening can be performed in any order, for example, the screening can be performed based on the missing rate first, then based on the concentration, and finally based on the information value IV for feature initial screening. It is also possible to first screen based on the concentration, then screen based on the missing rate, and finally based on the information value IV for feature initial screening. It is also possible to first screen based on the missing rate, then screen based on the information value IV, and finally based on the concentration for feature initial screening. It is also possible to first screen based on the information value IV, then screen based on the missing rate, and finally based on the concentration for feature initial screening. It is also possible to first screen based on the information value IV, then screen based on the missing rate, and finally based on the concentration for feature initial screening. It is also possible to first screen based on the information value IV, then screen based on the concentration, and finally based on the missing rate for feature initial screening. It is also possible to first screen based on the concentration, then screen based on the information value IV, and finally based on the missing rate for feature initial screening. Those skilled in the art can make a choice based on the data situation of the sample, so based on these three methods, features with obvious defects in one aspect can be effectively removed, which can effectively reduce the data dimension and improve the effect of model building.
[0309] In one specific method, after the features have been screened using missing rate, concentration and information value IV respectively, a stepwise discriminant algorithm is used to perform preliminary screening of the features, and then preliminary screening of the features is performed based on the consistency between the risk characteristics of each feature itself and the actual real results of the samples used to build the model.
[0310] On this basis, the technical solution of the present application introduces a stepwise discriminant method to make the initial screening of variables more efficient and accurate in order to improve the overall efficiency of model development. In actual data, there may be a close distribution of good and bad samples on a certain variable, and the ability to distinguish between good and bad is weak. There may also be a class of variables, each of which can distinguish good and bad samples well, but if all are included in the model, they will be redundant due to the duplication of data dimensions covered by the variables. In this regard, a stepwise discriminant analysis method is used in this application, and WILKS'S LAMBDA value is used as the statistical criterion for entry and removal, and variables with weak or redundant discriminant effects in the data are deleted.
[0311] The stepwise discrimination method uses the WILKS'S LAMBDA criterion to measure the strength of feature capabilities and eliminates features that do not meet the set threshold among the remaining features after three rounds of screening. In the stepwise discrimination process, the variable with the strongest discriminant ability is added first. As the variables in the model gradually increase, the discriminant ability of the variables introduced earlier may also change. If the discriminant ability of a variable in the model is less than the threshold, the variable is removed, and then the process is repeated until the variables contained in the model meet the WILKS'S LAMBDA similarity ratio criterion and other variables do not meet the criteria for entering the model.
[0312] In this application, the step of screening using the stepwise discriminant method is a more critical step. For the purpose of capturing as many credit risk points as possible, the model involved in this application uses a huge amount of data and many data dimensions, so variable screening must be performed to further reduce the time cost of model development. In the existing financial risk model evaluation, the variable importance method is generally used to reduce variables, such as calculating the importance of variables through algorithms such as the Gini index and information entropy, and selecting variables with high importance. The modeling method of screening using the stepwise discriminant method is rarely used. Compared with the variable importance screening scheme commonly used in the industry, the methodology used in this application can retain a large number of variables with relatively weak importance but relatively independent information dimensions.
[0313] In a specific way, more than 3,000 derivative data can be processed based on, for example, 120 types of basic data. After three rounds of screening of missing rate, concentration and information value IV, about 20-30% of the features with poor data can be deleted, but more than 2,000 features will still be retained. If subsequent variable fine screening is performed based on all the above features, it will seriously affect the development efficiency. Therefore, after comparing and testing a variety of different variable deletion schemes, it was finally determined that stepwise discrimination was the best choice.
[0314] For the important features selected by the stepwise discrimination algorithm, further feature selection is performed based on the risk characteristics of each risk point itself (system preset) and the actual bad debt rate of the sample. Determine whether the actual bad debt rate distribution of the remaining features is consistent with the business trend, and eliminate the features whose actual bad debt rate distribution does not conform to the business trend. Specifically, (1) Divide the remaining target features into 10-20 boxes according to the quantile points, and calculate the median value of each box and the corresponding bad debt rate. (2) Use the median value of each box and the previous box and the corresponding bad debt rate to calculate the rate of change (slope). (3) Count the number of boxes greater than 0 and non-0 boxes (non-greater than 0 boxes) in the rate of change between two adjacent boxes, and calculate the percentage of the number of boxes greater than 0 in the rate of change to the number of non-0 boxes in the rate of change. (4) Obtain the risk characteristics preset for this feature, and based on the percentage of the number of boxes greater than 0 in the rate of change to the number of non-0 boxes in the rate of change, check whether the actual bad debt rate change trend is approximately consistent with the business logic bad debt rate change trend. The criteria for whether they are approximately consistent are as follows: First, if the business logic trend of this feature should be: as the value of this feature increases, the bad debt rate increases (such as the credit line utilization rate, etc.). In this module, the features whose number of boxes greater than 0 in the above calculated slope accounts for less than 70% of the number of boxes with a slope other than 0 are eliminated, that is, the features whose feature performance does not conform to the business trend are eliminated. Second, if the business logic trend of this feature should be: as the value of this feature increases, the bad debt rate decreases (such as the deposit amount, etc.). In this module, the features whose number of boxes greater than 0 in the above calculated slope accounts for more than 30% of the number of boxes with a slope other than 0 are eliminated, that is, the features whose feature performance does not conform to the business trend are eliminated.
[0315] For example, the following table gives an example of binning. In this example, the feature values are divided into 10 bins. The value ranges of the bins are also summarized in the following table. At the same time, based on the data in the following table, a graph of the bad debt rate of the feature bins versus the median of the feature bins is drawn, as shown in the following figure: Figure 2 As shown. Figure 2 In the example, there are 7 with slopes greater than 0 and 2 with slopes less than 0. Through the above method, the features can be further screened based on the risk characteristics of each risk point itself (system preset) and the actual bad debt rate of the sample. By further screening features using such a binning method, the features that best match the business development trend can be effectively screened out, thereby further obtaining features suitable for modeling.
[0316]
[0317] <Conversion of eigenvalues>
[0318] The initial feature processing of existing credit risk scoring methods mainly uses WOE conversion (multi-classification) and dummy feature conversion (binary classification) to discretize continuous features (such as age, account age, etc.). The WOE conversion method is an optimal binning scheme based on modeling samples. It discretizes continuous features according to the optimal cutting point and embeds the data of good and bad samples into the WOE value. Therefore, it performs better in model construction, but the binning results may overfit the modeling samples, resulting in a serious decline in model effect when applied to the whole (poor generalization ability). At the same time, due to the normalization operation used in binning, the original features falling into different bins are converted into a single value corresponding to each bin, thus losing the ability to distinguish the risks of people falling into the same interval. The dummy feature conversion method is mainly applied to grouping features. Its advantage is that it can eliminate the difference between good and bad values of different feature values, but it will become extremely complex and redundant when processing continuous variables.
[0319] In the model building method of the present application, the conversion method of the features after preliminary screening is judged to confirm whether to use one of the WOE conversion method, the dummy feature conversion method and the continuous conversion method for feature conversion, and the optimal method is used to perform feature conversion for each feature after preliminary screening.
[0320] The initial screening data conversion step includes the following steps based on the judgment of concentration and data type: classifying each feature into character variables and numeric variables according to the data type of each feature, using dummy feature conversion method to perform initial screening data conversion on character variables, and further classifying the numeric variables includes the following sub-steps: if the value of the numeric variable is less than n, the WOE conversion method is used for initial screening data conversion; if the value of the numeric variable is more than n, further judging that if the value converted to a continuous variable is large and the concentration of a single value is greater than m%, the WOE conversion method is used; if the concentration of a single value is less than or equal to m%, a continuous conversion method is used; preferably, n and m are both positive integers, wherein n=5-10, m=90-99.
[0321] Specifically, taking the character variable as education level, the value of this feature variable can be primary school, middle school, university, graduate school, etc. For numeric variables, if the numeric variable is the number of overdue months in the past three months, the value is 0, 1, 2, 3.
[0322] In the present application, the above n can be 5, 6, 7, 8, 9 or 10, and m can be 90, 91, 92, 93, 94, 95, 96, 97, 98 or 99.
[0323] In a specific implementation, m is selected as 5 and n is selected as 95.
[0324] Specifically, the WOE conversion method is: find the optimal cutting point of the feature, divide the value range of the original feature into multiple bins, calculate the WOE conversion value corresponding to each bin after segmentation according to the good or bad situation in each bin and output it, divide the original feature according to the binning result and output the WOE conversion value. For each bin, the WOE value is calculated as follows:
[0325]
[0326] where y i is the number of non-defaulting customers in group i; s is the total number of customers who have not defaulted; n i is the total number of defaulting customers in group i; n s is the total number of defaulting customers.
[0327] Let's take age as an example to introduce the WOE binning process. The original feature age includes values from 18 to 50 years old. After binning, 5 bins are obtained, namely 18 to 24 years old, 25 to 30 years old, 31 to 35 years old, 36 to 42 years old, and 43 to 50 years old. Then, the WOE conversion value of each bin is calculated according to the number of good and bad customers in each bin. Finally, each user data in each bin is output according to the corresponding conversion value of each bin. For example, 23 years old outputs the WOE conversion value corresponding to the 18 to 24 bins, and 46 years old outputs the WOE conversion value corresponding to the 43 to 50 bins.
[0328] The conversion method of dummy features is: if the original feature has m mutually exclusive attribute types, it is converted into (m-1) dummy features. If a customer belongs to the corresponding value of the generated dummy feature, the corresponding dummy feature value is 1, and the remaining dummy feature values are 0.
[0329] Taking gender as an example, we will introduce the method of dummy feature conversion. The original features include: male, female. After dummy feature conversion, a dummy feature "gender-male" is generated. If the customer's gender is male, it is recorded as 1 in "gender-male"; if the customer's gender is female, it is recorded as 0 in "gender-male". If we take education as an example, the original features include: college degree or below, bachelor's degree, master's degree or above. After dummy feature conversion, two dummy features "education-bachelor's degree" and "education-master's degree or above" are generated. If the customer's education level is bachelor's degree, it is recorded as 1 in "education-bachelor's degree" and 0 in "education-master's degree or above"; if the customer's education level is master's degree or above, it is recorded as 0 in "education-bachelor's degree" and 1 in "education-master's degree or above"; if the customer's education level is junior college or below, it is recorded as 0 in "education-bachelor's degree" and 0 in "education-master's degree or above".
[0330] The continuous conversion method is: perform a variety of continuous conversions on the original features (continuous conversion methods include but are not limited to: directly selecting the original value, calculating the square of the original data, calculating the square root of the original data, calculating the cube root of the original data, and calculating the natural logarithm of the original data). Calculate the correlation coefficient r (Correlation Coefficient) between the feature value and the overdue label after continuous conversion, select the conversion method with the largest absolute value of the correlation coefficient, and output the conversion method corresponding to the original feature. The calculation formula of the correlation coefficient is as follows:
[0331]
[0332] Where Σ is the summation symbol in mathematics; n is the total number of observations; x i is the conversion value of the original feature of the i-th observation after continuous conversion; This is the average of the transformed values; where y i is a binary feature indicating whether the i-th observation is in default; It is the average value of this binary feature. The closer the absolute value of the correlation coefficient is to 1, the more relevant the converted value is to the default situation, and the better the effect of this conversion method. The quantitative index of the correlation coefficient r has the following meanings: when the absolute value of the correlation coefficient is above 0 and less than 0.3, it indicates a low correlation; when the absolute value of the correlation coefficient is above 0.3 and less than 0.8, it indicates a moderate correlation; when the absolute value of the correlation coefficient is above 0.8 and less than 1, it indicates a high correlation.
[0333] In the model construction of the present application, for the features that are confirmed to adopt a continuous conversion method, the optimal conversion method is selected to perform continuous feature conversion of the feature based on the correlation of the feature with credit default under different continuous conversion methods. Preferably, the continuous feature conversion is performed by directly selecting the original value, calculating the square of the original data, calculating the square root of the original data, calculating the cube root of the original data, or calculating the natural logarithm of the original data.
[0334] Take age as an example to introduce the continuous conversion method. The original feature age contains values from 18 to 50 years old. The continuous conversion obtains the original value, square, square root, cube root, natural logarithm, etc. of age, and then calculates the WOE value and the absolute value of the correlation coefficient between each conversion value and the good or bad label (prediction result). The conversion method with the largest absolute value of the correlation coefficient is selected for conversion and output. If the cube root of the age feature has the largest absolute value of the correlation coefficient with the good or bad label compared with other conversion methods, the cube root of age is output as the conversion value.
[0335] In the prior art solutions, one of the feature conversion methods, WOE and dummy features, is mainly selected for model construction. For example, in the Chinese patent CN112686749B, the WOE method is used to convert the feature values. The WOE conversion method is an optimal binning scheme based on the modeling sample. It discretizes the continuous features according to the optimal cutting point, so it performs better in model construction, but the binning results may overfit the modeling samples, resulting in a serious decrease in the model effect when applied to the whole (poor generalization ability). At the same time, due to the normalization operation used in the binning, the original features falling into different bins are converted into a single value corresponding to each bin, so the risk differentiation ability of people falling into the same interval is lost.
[0336] The conversion method of dummy features is mainly used for grouping features. Its advantage is that it can eliminate the difference between good and bad values of different feature values. For example, for the industry in which the customer is located, because there is no obvious advantage or disadvantage between the retail industry and the wholesale industry, it is more suitable to use the dummy feature processing method; there is a hierarchical difference between junior colleges and undergraduates, so although dummy features can be used, it is actually more appropriate to use the WOE processing method.
[0337] On the other hand, the continuous conversion method can avoid the overfitting of the modeling samples in the WOE conversion method, has a strong generalization ability for the overall sample, and because no interval mapping is performed, most customer groups rarely fall into a single value. However, it cannot be applied to some features with poor monotonicity or discrete characteristics (such as occupation, position, etc.).
[0338] As described above, the technical solution of the present application takes a different approach and creatively combines three methods: continuous conversion, WOE conversion, and dumb feature conversion. It reprocesses some carefully screened features, combines the advantages and disadvantages of the three conversion methods, and creatively designs a conversion judgment method. It selects the optimal feature conversion method based on parameters such as feature data attributes, missing rate, concentration, and business logic judgment.
[0339] <Logistic regression and deep feature screening based on logistic regression>
[0340] In existing credit risk scoring, due to the requirement of model interpretability, logistic regression model is mainly used for model development, and the software that can be used are generally: SAS, R, Python, etc.
[0341] In a specific embodiment, the present application develops models based on SAS software.
[0342] Specifically, the Sigmoid function is used in logistic regression to fit the probability of predicted default. The Sigmoid function is:
[0343]
[0344] Where Z is a linear combination of the model coefficients and the feature transformation values, and Z is defined as follows:
[0345] Z=α+β1x1+β2x2+...+β k-1 x k-1 +β k x k
[0346] The predicted probability of default is:
[0347] P=P(Y=1|x1,x2,x3,...,x k-1 ,x k )
[0348] The fitted prediction for the probability of default is:
[0349]
[0350] From the above formula we can further deduce:
[0351] Substituting the Z value into the above formula can calculate the probability P of predicted default.
[0352] The core of logistic regression model construction is feature screening. The steps of feature screening are as follows: First, batch screen the features according to missing rate, concentration and information value IV. Second, screen all remaining features one by one according to whether the features are in line with business trends, and retain the features with correct business trends. For example: if it is found that the bad debt rate of the customer group decreases with the increase of the characteristic loan balance, it is considered that this feature does not conform to the business trend. In the understanding of credit business, the higher the loan balance, the higher the customer's default risk exposure (EAD) level, and the greater the risk. At this time, this feature will be removed from the feature list. Third, use the stepwise regression function of logistic regression to eliminate the less important features that are highly correlated with other features. Fourth, filter the coefficients according to the positive and negative signs of the training coefficients and the business trend of the feature conversion value, and retain the features whose feature coefficient signs conform to the business logic. In the case where 0 is defined as a good customer and 1 is defined as a bad customer in the Y label, for a feature whose bad debt rate increases monotonically with the increase of the feature value (such as loan balance), the sign of its training coefficient should be positive; conversely, for a feature whose bad debt rate decreases monotonically with the increase of the feature value (such as deposit balance), the sign of its training coefficient should be negative. If it does not meet the above standards, it should be eliminated. Fifth, use variance inflation factor (VIF), correlation coefficient, etc. to further eliminate features with high correlation: for variance inflation factor, eliminate features with the highest VIF and greater than 4 one by one; for features with high correlation, eliminate features with low IV values in the feature group with the highest correlation coefficient and greater than 0.80 one by one. Sixth, use the population stability index (PSI) to eliminate features with large distribution differences at different time points, which lead to instability. For features with PSI>0.25, directly eliminate them, and for features with 0.25>PSI>0.1, carefully eliminate them according to the impact of eliminating this feature on the model's distinguishing ability.
[0353] This application strictly adheres to the above rules to screen features, ensuring the model's interpretability, stability, and ability to distinguish between good and bad customers.
[0354] The feature fine-screening steps of the present application include: a first fine-screening step, based on a stepwise regression algorithm, to screen features based on the F test and the T test for the significance of features; a second fine-screening step, to screen features based on calculating the variance inflation factor for each feature and eliminating features with higher variance inflation factors; a third fine-screening step, based on logistic regression, to analyze whether the feature coefficients of the features after the first fine-screening step and the second fine-screening step are in line with the trend of the prediction results for credit default so as to further perform feature screening.
[0355] Feature fine screening step 1, based on the stepwise regression algorithm, based on the F test and T test method, introduces features in order from high to low significance. Each time a feature is introduced, the selected features are tested one by one. When the originally introduced feature becomes no longer significant due to the introduction of the subsequent features, it is eliminated. This process is repeated until no features above the significance threshold are selected into the equation, and no features below the significance threshold are eliminated from the regression equation.
[0356] Feature fine-screening step 2 is based on the method of eliminating features with high variance inflation factors to further reduce multicollinearity in the model.
[0357] Feature fine screening step 3, based on the risk characteristics of each risk point itself (system preset) and the positive and negative signs of the model training coefficient, determines whether the feature coefficients of the remaining features in the model in the feature fine screening step 3 are consistent with the business trend, removes the features whose model coefficients do not meet the business trend, and iterates again. The specific implementation plan of feature fine screening module 3 is as follows: 1. For features whose feature conversion method is WOE type, the corresponding model training coefficient should be a negative value, and the WOE conversion type features with positive training coefficients should be eliminated. 2. For continuous conversion methods, if the value of this feature increases in business logic, the bad debt rate should increase (such as the credit line utilization rate, etc.), then the corresponding model training coefficient should be a positive value, and such continuous conversion type features with negative training coefficients should be eliminated; if the value of this feature increases in business logic, the bad debt rate should decrease (such as the deposit amount, etc.), then the corresponding model training coefficient should be a negative value, and such continuous conversion type features with positive training coefficients should be eliminated. 3. For the dummy feature conversion method, it is necessary to determine the bad debt rate when the value is 1 and the value is 0. If the bad debt rate when the value is 1 is greater than the bad debt rate when the value is 0, the coefficient should be positive, otherwise it should be negative.
[0358] Feature fine screening step 4, data stability monitoring step, is used to evaluate whether the distribution of individual features and overall scores at different time points has obvious deviations. In this embodiment, features with PSI>0.25 are directly eliminated, and features with 0.25>PSI>0.1 are carefully eliminated based on the impact of eliminating this feature on the model's distinguishing ability.
[0359] Based on the above steps 3 and 4, the feature list is iterated multiple times until no new features are added or removed from the model, and the iteration is stopped to obtain the final feature list and its conversion value. After the above steps, the input variables for constructing the model of this application can be finally obtained.
[0360] The credit default probability modeling step of the present application substitutes the features screened in the feature fine screening step into the Sigmoid function to perform logistic regression to calculate the credit default probability model.
[0361] In the prior art, the core of all the scoring models constructed lies in whether the data they use is representative and comprehensive. For the existing scoring models in the prior art, due to information security and cost reasons, most models have a small sample size and a single data source, and cannot guarantee the comprehensiveness of the information and the coverage of the model. The data source used in this application is the full business data of large operators, and the data volume of the sample is very large. This application designs modeling samples based on different sample groups, which can more finely distinguish the risk differences between such customers, and at the same time ensure the stability of data and models based on cross-time verification and PSI verification. This application uses operator data for model development, so it has a better reflection of the borrower's actual repayment willingness and repayment ability.
[0362] For some small and medium-sized financial institutions, the internally built scoring models are relatively small or started late in their retail credit business, and the accumulated historical data is insufficient to develop a credit risk model with stable data and strong differentiation ability. Therefore, they are highly dependent on manual approval when used for credit review business. The efficiency limitations of manual approval have restricted the development of their retail credit business. At the same time, the subjectivity of manual approval has increased the operational risks in the credit review process. The model constructed in this application can assist such financial institutions in making digital decisions, enhance their approval accuracy and speed, and reduce the above-mentioned adverse effects.
[0363] In terms of feature conversion, compared with the traditional WOE conversion method, it is necessary to roughly bin and discretize continuous features according to data performance and the experience of modelers. The results of rough binning are greatly affected by the subjective factors of modelers; and the process of discretizing continuous features may result in too many customers falling into the same interval, which leads to more single values of the calculated scores. This application combines the continuous conversion method, the WOE conversion method and the dummy feature conversion method to encode the original features, which reduces the impact of human factors and single values while enhancing the ability to distinguish scores.
[0364] <Methodology for calculating retail credit risk>
[0365] The present application further relates to a method for calculating the retail credit risk of a sample to be tested using the retail credit risk model constructed in the present application.
[0366] In this application, retail credit risk refers to the probability of credit default in the sample to be tested. In a specific way, the probability of credit default refers to the probability of credit default, specifically, for example, the probability of whether a credit default of 30 days or more will occur, for example, the discrimination and stability of credit default of 30 days or more in a certain customer group.
[0367] The present application relates to a method for calculating retail credit risk, which comprises: a data collection step, which obtains retail credit prediction data of samples to be predicted; a step of classifying the samples to be predicted, which classifies the samples to be predicted based on a decision tree method to determine a sub-model for calculating the probability of credit default; a step of calculating the probability of credit default, which substitutes the retail credit prediction data into the credit default probability sub-model to calculate the probability of credit default of the samples to be predicted.
[0368] In this application, the credit default probability covers the credit default probability of various types of credit business. In a specific implementation, the credit default probability is the credit default probability for online credit business.
[0369] In the present application, the sample to be predicted may be a sample used to build a model, that is, when the model is built, the sample is already a customer of a financial institution holding a credit business (including but not limited to a credit card or personal loan business), and the method for calculating retail credit risk of the present application can be used to calculate its potential retail credit risk in the future. In the present application, the sample to be predicted may be a sample not used to build a model, that is, when the model is built, the sample is not a customer of a financial institution holding a credit business, but a customer with the same retail credit prediction data, and the method for calculating retail credit risk of the present application can be used to calculate its potential retail credit risk in the future.
[0370] The present application relates to a method for calculating retail credit risk, which comprises: a data collection step, which obtains retail credit prediction data of samples to be predicted; a step of classifying the samples to be predicted, which classifies the samples to be predicted based on a decision tree method to determine a sub-model for calculating the credit default probability; a credit default probability calculation step, which substitutes the retail credit prediction data into the credit default probability sub-model to calculate the credit default probability of the samples to be predicted; and after calculating the credit default probability, a step of calculating the credit score of the samples to be predicted.
[0371] The step of calculating the credit score of the sample to be predicted is used to calibrate the calculated credit default probability to a standardized score of 0-1000 points.
[0372] In the method of the present application, the retail credit prediction data includes the original retail credit prediction data of the sample to be predicted and the derived retail credit prediction data processed based on the original retail credit prediction data, wherein the description of the original retail credit prediction data and the derived retail credit prediction data is consistent with the description of the model building part.
[0373] In this application, the step of classifying the sample to be predicted includes the following sub-steps:
[0374] Whether the sample to be tested is a customer whose service has been suspended due to arrears;
[0375] Whether the sample to be tested is a customer who has been connected to a telecommunications company for a period of less than a, where a is defined as time, for example, a can be 36 months, 30 months, 24 months, 18 months, 12 months, etc.;
[0376] Whether the average package consumption amount of the sample to be tested in the past six months is less than b, where b is defined as the amount, for example, b can be 200 yuan, 100 yuan, 80 yuan, 50 yuan, 20 yuan, etc.;
[0377] Based on the above sub-steps, the samples to be predicted are classified to determine the sub-model for calculating the probability of credit default, and the order of performing the above sub-steps can be set arbitrarily.
[0378] In this application, Figure 3 The flowchart for classifying the samples to be predicted is shown in Figure 1. Based on the classification in this step, the sub-model for calculating the probability of credit default can be selected. Figure 3 As shown in the figure, the prediction samples are classified in the following order: first, determine whether the sample to be tested is a customer with arrears and service suspension; then determine whether the customer has been connected to a certain communication company for less than a period of time; and finally determine whether the sample to be tested is a customer whose average package consumption amount in the past six months of a certain communication company is less than b. Using such step classification, the most suitable sub-model for predicting the sample to be tested can be determined.
[0379] In the present application, the retail credit prediction data is subjected to feature conversion and then substituted into the credit default probability sub-model to calculate the credit default probability of the sample to be predicted. The feature conversion step includes selecting the WOE method or the continuous method for feature conversion based on the feature type of the retail credit prediction data that needs to be substituted into the credit default probability sub-model.
[0380] The method of converting features in WOE mode or continuous mode is well known to those skilled in the art, and the specific conversion method can be referred to the description in the model construction section of this application. However, the existing models in the art only use WOE mode to convert parameters.
[0381] The WOE conversion method is an optimal binning scheme based on the modeling sample. It discretizes the continuous features according to the optimal cutting point. Therefore, it performs better in model construction, but the binning results may overfit the modeling sample, resulting in a serious decline in the model effect when applied to the overall population (poor generalization ability). At the same time, due to the normalization operation used in binning, the original features falling into different bins are converted into a single value corresponding to each bin, thus losing the ability to distinguish the risks of people falling into the same interval. The conversion method of dummy features is mainly applied to grouping features. Its advantage is that it can eliminate the difference between good and bad values of features. For example: for the industry in which the customer is located, because there is no obvious advantage or disadvantage between the retail industry and the wholesale industry, it is more suitable for the dummy feature processing method; there is a hierarchical difference between junior colleges and undergraduates, so although dummy features can be used, it is actually more appropriate to use the WOE processing method. The continuous conversion method can avoid the overfitting of the modeling sample in the WOE conversion method, and has a strong generalization ability for the overall sample. Since no interval mapping is performed, most customer groups rarely fall into a single value. However, it cannot be applied to some features with poor monotonicity or discreteness (such as occupations, positions, etc.). The present application uses a combination of continuous conversion and WOE conversion to process the initial features, combines the advantages and disadvantages of the two conversion methods, designs a conversion judgment module, and selects the optimal feature conversion method based on the parameters such as feature data attributes, missing rate, and concentration, supplemented by business logic judgment. The technical solution of the present application takes a different approach, creatively combining the three methods of continuous conversion, WOE conversion, and dummy feature conversion, reprocesses some carefully screened features, combines the advantages and disadvantages of the three conversion methods, and creatively designs a conversion judgment method, and selects the optimal feature conversion method based on the parameters such as feature data attributes, missing rate, and concentration, supplemented by business logic judgment. The feature conversion method determined in this way is then substituted into the model for calculating retail credit risk, which can more accurately predict the retail credit risk of the sample.
[0382] The sub-model used in the present application to calculate the probability of credit default is a model constructed based on sample retail credit prediction data and the probability of credit default using logistic regression based on an existing user population, that is, a model constructed using the method described in the present application.
[0383] <Device, system and computer storage medium for calculating retail credit risk>
[0384] The present application relates to a device for calculating retail credit risk, which includes: a data acquisition module, which is used to obtain retail credit prediction data of samples to be predicted; a module for classifying samples to be predicted, which is used to classify samples to be predicted based on a decision tree method to determine a sub-model for calculating credit default probability; a credit default probability calculation module, which is used to substitute the retail credit prediction data into the credit default probability sub-model to calculate the credit default probability of the samples to be predicted.
[0385] The device for calculating retail credit risk of the present application can execute the steps of the method for calculating retail credit risk of the present application.
[0386] The present application also relates to a system for calculating retail credit risk, characterized in that the system for calculating retail credit risk comprises: a memory, a processor, and a program for calculating retail credit risk stored in the memory and executable on the processor, wherein the program for calculating retail credit risk implements the steps of the method for calculating retail credit risk as described in the present application when executed by the processor.
[0387] The present application relates to a computer storage medium, characterized in that a program for a method for calculating retail credit risk is stored on the computer storage medium, and when the program for the method for calculating retail credit risk is executed by a processor, the steps of the method for calculating retail credit risk as described in the present application are implemented.
[0388] All the contents described above for the method for calculating retail credit risk can be fully applied to the device, system and computer storage medium for calculating retail credit risk.
[0389] The method for calculating retail credit risk in the present application can avoid the technical shortcomings of overfitting when building a model with complete WOE variables and the inability to adapt to categorical variables well when building a model with complete continuous variables. Therefore, when the model is used for retail credit risk calculation, it can better cover the retail credit risk prediction needs of various types of customer groups and meet the demand for obtaining more accurate prediction results when predicting credit risk as a general score.
[0390] Example
[0391] Example 1 Collection of modeling samples
[0392] In the process of constructing this embodiment, communication behavior data, consumption behavior data, Internet behavior data, mobile APP usage behavior data, basic customer information and terminal information data of some customers of the operator between 2019 and 2021 were collected, totaling 1.64 billion customers (based on mobile phone numbers, the same below). Select 200,000 sample labels with a certain credit business in 2021, match them by mobile phone number, select 138,000 data as analysis samples, and confirm the modeling samples through a professional model design solution. The performance variable of the model is defined as the repayment performance of a certain credit product. When designing the specific model, analysis and design are carried out for the 138,000 customers who have applied. After the model is developed and put online, the results will be applied to the full 1.64 billion people who have applied and have not applied, or other potential customer groups.
[0393] The model design includes 1) exclusion rules: such as excluding customer data that has been settled, closed, has no performance, or has special circumstances. After exclusion, the modeling population is 50,000 customers; 2) time window setting: determine the sample to use 2021 data as the modeling sample, and use the next 6 months as the performance period of Y. Different segmentation schemes are designed through the decision tree method, and the parent-child model comparison method is adopted to confirm the final model segmentation plan, and then each segmentation model is modeled separately. The model segmentation scheme of this application is designed by dividing the total number of days of arrears and downtime in the past month, the length of network access, and the average consumption amount of packages in the past 6 months. It fully reflects the control variables that are closely related to risk characteristics in the process of business development, and can more comprehensively match various customer groups in the market.
[0394] In this embodiment, the modeling samples are first divided into the following sub-model modeling samples based on the decision tree to facilitate the construction of subsequent sub-models.
[0395] The first layer of the decision tree when determining the modeling samples is the total number of days of outage due to arrears in the past month, which is used to distinguish whether the customer has recently been out of service due to arrears. In this embodiment, for customers whose number of days of outage due to arrears in the current month is greater than 0, the Sigmam2b_1 segmentation model is entered, where the bad debt rate refers to the ratio of bad customers in a certain type of sample to the total number of samples in this type.
[0396] For customers whose number of days of suspension due to arrears in the current month is less than or equal to 0, the segmentation model is judged based on their network access time: if the network access time is less than 36 months, the customer enters the Sigmam2b_2 segmentation model; if the network access time is greater than or equal to 36 months, the segmentation model is judged based on the average package consumption amount in the past 6 months: if the average package consumption amount in the past 6 months is less than 100 yuan, the customer enters the Sigmam2b_3 segmentation model; if the average package consumption amount in the past 6 months is greater than or equal to 100 yuan, the customer enters the Sigmam2b_4 segmentation model.
[0397] Specifically, the sample size of a sub-model used to construct the Sigmam2b_1 segmentation model is about 3,500. Its customer base is mainly customers who have unpaid bills and their service is suspended in the current month. The model is built to predict the probability of their credit being overdue for more than 30 days.
[0398] Specifically, the sample size of a sub-model used to construct the Sigmam2b_2 segmentation model is about 4,200. Its customer base is mainly customers who have no arrears and shutdowns in the current month and have a short network connection time. The model is used to predict the probability of credit arrears of more than 30 days in this group of customers.
[0399] Specifically, the sample size of a sub-model used to construct the Sigmam2b_3 segmentation model is about 30,000. Its customer base is mainly customers who have been online for a long time and have consumed less recently. The model is used to predict the probability of credit arrears of more than 30 days in this group of people.
[0400] Specifically, the sample size of a sub-model used to construct the Sigmam2b_4 segmentation model is about 12,000. Its customer base is mainly customers who have been online for a long time and have consumed more recently. The model is used to predict the probability of credit arrears of more than 30 days in this group of people.
[0401] In this embodiment, a serious overdue payment means that the number of periods (ie, months) in which the customer has overdue repayments is greater than 1. A moderate to light overdue payment means that the customer has currently overdue payments, and the number of overdue periods (ie, months) is equal to 1.
[0402] Based on the different customer samples of each sub-model confirmed above, historical data information of borrowers is obtained: 1) Communication behavior category, basic fields include the number of calls, the number of calls, the duration of calls, the duration of calls, the number of intra-provincial roaming, inter-provincial roaming, international roaming, the number of call counterparts, the number of SMS sent and the number of SMS received; 2) Consumption behavior category, including the number of recharges, the recharge amount, the total consumption amount, the package consumption amount, the traffic consumption amount, the call consumption amount, the SMS consumption amount, the balance, arrears and points; 3) Internet behavior information, including the traffic usage, the number of Internet days, the number of roaming, the number of roaming days and the roaming traffic information; 4) Mobile APP usage information, including the number of APP usage, the APP usage time, the APP usage traffic, the APP usage days and the number of APP usage information; 5) Customer basic information, including the owner's gender, age, network access time, star rating, shutdown information, etc.; 6) Terminal information, including terminal brand, machine age, usage time, terminal usage, etc.
[0403] According to various risk points in the credit business, macro credit risk is split according to information dimensions, time slices, etc. Variables are derived through professional characteristic variable construction methods. The basic methods are: 1) Customer relationship length variables: such as customer network access time, terminal usage time, etc.; 2) Time interval variables: such as the number of months from the last downtime to the observation point, the number of months from the last active call, etc.; 3) Current time point variables: current month star rating, current month balance, etc.; 4) Statistical value variables: such as the maximum number of times travel apps are used in the last X months, and the average call duration in the last X months; 5) Ratio variables: such as call duration / number of calls in the last X months, consumption amount in the last 1 month / consumption amount in the last 3 months; 6) Change variables: such as the number of months in which the total package consumption amount decreases, and the number of months in which the usage time of loan apps increases continuously in the last X months; 7) Stability variables: such as the variance of the usage time of financial service apps in the last X months, etc. Finally, 4418 features with potential predictive power for customer overdue payment were derived, such as 'current balance', 'minimum number of calls in the past 6 months', 'total payment amount / total number of recharges in the past 12 months', etc. In this paper, observation point refers to the time point when samples are collected until modeling, and current also refers to the sampling cutoff time. Observation point and current have the same meaning.
[0404] Table 1 Summary of basic variables and derived variables used in the examples
[0405]
[0406] Example 2 Feature Screening
[0407] A preliminary screening was performed on the 4418 features (variables) collected in Example 1 that have potential predictive power for customer overdue payments.
[0408] The preliminary screening of the features of the four sub-models Sigmam2b_1 to Sigmam2b_4 divided in Example 1 is performed according to the following method:
[0409] In the first round of preliminary screening, the features with a missing rate of more than 95% in the data collected in Example 1 were first eliminated, and a total of 162 variables were deleted, leaving 4256 variables.
[0410] In the second round of preliminary screening, for the 4256 features that passed the first round of preliminary screening, the features with single values exceeding 99% among the remaining features were eliminated, and a total of 340 variables were eliminated, leaving 3916 variables.
[0411] In the third round of preliminary screening, the 3916 features after the second round of preliminary screening were sorted according to the feature values (the specific sorting method is that if the feature is a character variable, each value is a separate box, if the feature is a numeric variable, it is sorted from small to large in numerical value), and then divided into 10-20 boxes according to the quantile point, and the feature IV value was calculated. If the feature IV value was lower than 0.02, it was eliminated. A total of 2356 features were eliminated, and 1560 feature variables remained.
[0412] In the fourth round of preliminary screening, for the 1560 features after the third round of screening, the features are further screened based on the stepwise discrimination algorithm. After this round of screening, 158 important feature variables can be quickly screened out. The following is an introduction to the stepwise discrimination method. In actual data, there may be little difference in the mean values of different categories on a certain variable. In this case, the effect of using this variable for classification will not be very good; there is also a type of variable that can indeed distinguish different categories in the data well when considered independently, but after including these variables in the model variables, they may appear redundant. Therefore, the embodiment pioneered the use of the stepwise discrimination method to better select more important feature variables under the same dimension, greatly reducing the workload of judging and screening one by one according to the trend of the variables in the fifth round of screening, and fully improving the efficiency of model development without affecting the overall model effect.
[0413] The stepwise discrimination method uses the WILKS'S LAMBDA criterion to measure the strength of feature capabilities and eliminates features that do not meet the set threshold among the remaining features after three rounds of screening. In the stepwise discrimination process, the variable with the strongest discriminant ability is added first. As the variables in the model gradually increase, the discriminant ability of the variables introduced earlier may also change. If the discriminant ability of a variable in the model is less than the threshold, the variable is removed, and then the process is repeated until the variables contained in the model meet the WILKS'S LAMBDA similarity ratio criterion and other variables do not meet the criteria for entering the model.
[0414] The fifth round of preliminary screening is to further screen the 158 important features after the fourth round of screening based on the risk characteristics of each risk point itself (system preset) and the actual bad debt rate of the sample.
[0415] Determine whether the actual bad debt rate distribution of the remaining features is consistent with the business trend, and remove the features whose actual bad debt rate distribution of the samples does not conform to the business trend. Specifically,
[0416] (1) Divide the remaining target features into 10-20 boxes according to the quantiles, and calculate the median of each box and the corresponding bad debt rate.
[0417] (2) Calculate the rate of change (slope) using the median of the values of each box compared to the previous box and the corresponding bad debt rate.
[0418] (3) Count the number of boxes with a change rate greater than 0 and the number of boxes with a change rate greater than 0 between two adjacent boxes, and calculate the percentage of boxes with a change rate greater than 0 to the number of boxes with a change rate greater than 0.
[0419] (4) Obtain the risk characteristics preset for this feature, and based on the percentage of the number of boxes greater than 0 in the above-calculated change rate to the number of non-zero boxes in the change rate, determine whether the actual bad debt rate change trend is approximately consistent with the business logic bad debt rate change trend.
[0420] The criteria for approximate consistency are as follows:
[0421] First, if the business logic trend of this feature is: as the value of this feature increases, the bad debt rate increases (such as the amount of arrears, etc.), in this module, the features whose number of boxes with a slope greater than 0 in the above calculation accounts for less than 70% of the number of boxes with a slope not 0 are eliminated, that is, the features that do not conform to the business trend are eliminated.
[0422] Second, if the business logic trend of this feature is: as the value of this feature increases, the bad debt rate decreases (for example, the number of calls, etc.), in this module, the features whose number of boxes with slope greater than 0 in the above calculation accounts for more than 30% of the number of boxes with slope not 0 are eliminated, that is, the features that do not conform to the business trend are eliminated.
[0423] After the fifth round of screening, 82 features were eliminated and 76 features remained.
[0424] Example 3 Conversion of features after initial screening
[0425] In the feature judgment step, the optimal conversion method is selected according to the concentration of features after the initial feature screening step, data type, etc. When judging the conversion method, the data types are generally divided into two categories, one is character variables, and the other is numeric variables. For character variables, the dummy feature conversion method is generally used for variable conversion; for numeric variables, if the variable value is less than 5 or so, the WOE conversion method will be used. If the variable value is more, the WOE or continuous conversion method will be used (the optimal conversion form is selected by the correlation with the target variable). In this process, it is necessary to comprehensively consider the situation of variable concentration. For example, if the continuous variable has many values, but the concentration of a single value exceeds 95%, the continuous processing will not be performed, and the WOE conversion method can be used directly. The features using different conversion methods are grouped and divided into different data sets. Specifically,
[0426] First, the remaining 76 features in Example 2 are used to determine the conversion methods of these features, and the following three methods are selected according to the concentration of the features, data types, etc.
[0427] Feature conversion method 1 is used to perform WOE conversion on the features obtained in the data acquisition module and judged in the feature judgment module that the optimal conversion method is WOE conversion.
[0428] Feature conversion method 2 is used to perform dummy feature conversion on the features obtained in the data acquisition module and judged in the feature judgment module that the optimal conversion method is dummy feature conversion.
[0429] Feature conversion method 3 is used to obtain the features in the data acquisition module that are determined to be optimal for continuous conversion in the feature judgment module, select the optimal continuous conversion method, and perform continuous conversion.
[0430] The feature merging module is used to horizontally splice the data of feature conversion mode 1, feature conversion mode 2 and feature conversion mode 3.
[0431] Through this embodiment, 76 features are converted, of which 31 features are converted into WOE, 17 features are converted into dummy features (expanded into 30 variables), and 28 features are converted into continuous types.
[0432] Example 4 Feature Depth Screening (Feature Fine Screening Step)
[0433] The feature fine screening step mainly includes the following three steps in this embodiment. Steps 1 and 2 are based on stepwise regression and calculation of variance inflation factor to eliminate features with large multicollinearity in the feature merging module to enhance the robustness of the model. Step 3 eliminates features whose positive and negative signs of the training coefficients in the model do not conform to the business trend. This embodiment uses the LOGISTIC process in SAS for deep screening.
[0434] Feature fine screening step 1, based on the stepwise regression algorithm, based on the F test and T test method, introduces features in order from high to low significance. Each time a feature is introduced, the selected features are tested one by one. When the originally introduced feature becomes no longer significant due to the introduction of the subsequent features, it is eliminated. This process is repeated until no features above the significance threshold are selected into the equation, and no features below the significance threshold are eliminated from the regression equation. After this step, 76 features are eliminated to 28 features.
[0435] Feature fine-screening step 2, which is based on the method of removing features with high variance inflation factors, further reduces multicollinearity in the model. After this step, 28 features are eliminated to 24 features.
[0436] Feature fine screening step 3 compares the risk characteristics of each risk point itself (system preset) with the positive and negative signs of the model training coefficients to determine whether the feature coefficients of the remaining features in the model in step 3 are consistent with the business trend, eliminates the features whose model coefficients do not conform to the business trend, and iterates again.
[0437] The specific implementation scheme of the feature fine screening module 3 is as follows:
[0438] 1. For features whose feature conversion method is WOE type, the corresponding model training coefficient should be a negative value, and the WOE conversion type features with positive training coefficients should be eliminated.
[0439] 2. For the continuous conversion method, if the value of this feature increases in business logic, the bad debt rate should increase (such as the amount of arrears, etc.), then the corresponding model training coefficient should be positive, and such continuous conversion features with negative training coefficients should be eliminated; if the value of this feature increases in business logic, the bad debt rate should decrease (such as the number of calls, etc.), then the corresponding model training coefficient should be negative, and such continuous conversion features with positive training coefficients should be eliminated.
[0440] 3. For the dummy feature conversion method, it is necessary to determine the bad debt rate when the value is 1 and the value is 0. If the bad debt rate when the value is 1 is greater than the bad debt rate when the value is 0, the coefficient should be positive, otherwise it should be negative.
[0441] Based on the above steps, the feature list is iterated multiple times until no new features are added or removed from the model, and the iteration is stopped to obtain the final feature list and its conversion value. After the above steps, 24 features are eliminated as the feature variables that are finally entered into the model, for example, 8 features or 10 features.
[0442] Example 5 Construction of Sigmam2b_1 Model
[0443] Generally speaking, the stronger the correlation between the feature variable and the target variable, the more accurate the final model will be. In this embodiment, Sigmam2b_1 is used as a sub-model of the segmentation model. The above decision tree method is adopted to obtain a sample size of about 3,500. Its customer base is mainly customers who have arrears and suspension in the current month. The model is constructed to predict the probability of credit overdue for more than 30 days (target variable).
[0444] In this embodiment 5, it is finally confirmed that the maximum proportion of portable life APP usage time in the past three months, the call billing time in the past month divided by the call billing time in the past three months, the maximum proportion of loan and borrowing APP usage time in the past six months, the maximum change in the total amount of consumption in the past three months, the total number of days of arrears and downtime in the past month, and the network access time are used as examples to describe the final modeling results. In the feature conversion step, the conversion method selection has been carried out on the six modeling variables according to the correlation between the feature and the target variable. In the credit default probability modeling step, the six features screened by the feature fine screening step are substituted into the Sigmoid function (using the LOGISTIC process of SAS software) for logistic regression to calculate the credit default probability model.
[0445] The usage time of portable life apps in the past three months accounted for the largest proportion, reflecting the borrower's daily life behavior habits. The higher the usage time of portable life apps, the more stable the borrower's daily life behavior. Therefore, the higher the usage time of portable life apps in the past three months, the lower the possibility of default of the borrower; conversely, the lower the usage time of portable life apps in the past three months, the higher the possibility of default of the borrower. The conversion method is the square root conversion in the continuous conversion.
[0446] The call duration in the last month divided by the call duration in the last three months reflects the stability of the borrower's call behavior. Imbalance in call behavior may reflect changes in the borrower's assets or credit situation. Therefore, the closer the ratio of the call duration in the last month divided by the call duration in the last three months is to 50%, the more stable the borrower's call behavior is, and the lower the possibility of default is; conversely, the closer the ratio is to 0 or 100%, the more unstable the borrower's call behavior is, and the possibility of default will increase accordingly. The conversion method is WOE conversion.
[0447] The usage time of loan and borrowing apps has the largest proportion in the past six months, which directly reflects the borrowers' borrowing behavior habits. The higher the usage time of loan and borrowing apps, the higher the risk of credit default; conversely, the lower the usage time of loan and borrowing apps, the lower the risk of credit default. The conversion method is the cube root conversion in the continuous conversion.
[0448] The maximum change in the total amount of consumption in the past three months reflects the stability of the borrower's consumption behavior. The larger the maximum change in the total amount of consumption in the past three months (this month - last month), the more unstable the recent consumption behavior is, and the higher the possibility of the borrower's credit default; conversely, the smaller the maximum change in the total amount of consumption in the past three months, the more stable the consumption behavior is, and the possibility of the borrower's default will also decrease. The conversion method is the square root conversion in the continuous conversion.
[0449] The total number of days of service suspension due to arrears in the past month reflects the borrower's communication dishonesty. Generally speaking, the more times the service is suspended due to arrears, the higher the possibility of capital shortage. Therefore, the more days of service suspension due to arrears in the past month, the higher the possibility of the borrower defaulting; conversely, the fewer days of service suspension due to arrears in the past month, the lower the possibility of the borrower defaulting. The conversion method is WOE conversion.
[0450] The network access time refers to the length of time the mobile phone number is used, which reflects the borrower's communication stability and persistence. The longer the mobile phone number is used, the more likely the borrower is to have good and stable social relationships, and the lower the possibility of credit default. Therefore, the longer the network access time, the lower the possibility of the borrower defaulting; conversely, the shorter the network access time, the higher the possibility of the borrower defaulting. The conversion method is the logarithmic conversion in the continuous conversion.
[0451] In the step of calculating the probability of credit default, based on the data and coefficients obtained in the feature conversion step, the following model formula is used to predict the probability (P) of the borrower's default:
[0452]
[0453] Where k is the number of features entering the model, and in Formula 1, k is 6.
[0454] α is the intercept term, with a value range of (0.13126796, 1.43476204), and the optimal value is 0.783015; β1 is the coefficient corresponding to the maximum proportion of portable life APP usage time in the past three months, with a value range of (-0.13789212, -0.04450988), and the optimal value is -0.091201; β2 is the coefficient corresponding to the call billing time in the past month divided by the call billing time in the past three months, with a value range of (-0.91008036, -0.17834964), and the optimal value is -0.544215; β3 is the coefficient corresponding to the maximum proportion of loan and borrowing APP usage time in the past six months The value range is (0.27866868, 0.67465532), and the optimal value is 0.476662; β4 is the corresponding coefficient of the maximum change in the total amount of consumption in the past three months, the value range is (0.0112044, 0.0657316), and the optimal value is 0.038468; β5 is the corresponding coefficient of the total number of days of arrears and downtime in the past month, the value range is (-1.1079504, -0.5087196), and the optimal value is -0.808335; β6 is the corresponding coefficient of the network access time, the value range is (-0.49128624, -0.24621176), and the optimal value is -0.368749. (Note: The value range comes from the 95% confidence interval, that is, the 95% CI in the table below)
[0455] x1 is the square root conversion value of the maximum proportion of portable life APP usage time in the past three months generated by the feature conversion step; x2 is the WOE conversion value of the call billing time in the past month divided by the call billing time in the past three months generated by the feature conversion step; x3 is the cube root conversion value of the maximum proportion of loan and borrowing APP usage time in the past six months generated by the feature conversion step; x4 is the square root conversion value of the maximum change in the total amount of consumption in the past three months generated by the feature conversion step; x5 is the WOE conversion value of the total number of days of suspension due to arrears in the past month generated by the feature conversion step; x6 is the logarithmic conversion in the continuous conversion of the network access time generated by the feature conversion step. The model performance of some features is shown in Table 2 below.
[0456] Table 2
[0457]
[0458] The P values of all model features are less than 0.05, indicating that the above features are significantly correlated with default performance. In the past six months, the usage time of loan and borrowing apps accounted for the largest proportion, and because of the importance of the information contained in this feature, it was also included in the model.
[0459] Example 6 Construction of Sigmam2b_2 Model
[0460] For Sigmam2b_2 as a sub-model of the segmentation model, the above-mentioned decision tree method is adopted, and the sample size obtained by classification is about 4200. Its customer base is mainly customers who have no arrears and shutdown in the current month and have a short network connection time. The model is built to predict the probability of credit overdue for more than 30 days in this group (target variable).
[0461] In this embodiment 6, it is finally confirmed that the final modeling results are described using five features as examples: the number of shutdowns in the past 12 months, the average terminal usage in the past 6 months, the minimum proportion of financial service APP usage in the past 6 months, the deduplication of the mobile phone numbers of calls in the past 6 months divided by the deduplication of the mobile phone numbers of calls in the past 12 months, and the minimum deduplication of the mobile phone numbers of incoming calls in the past 6 months. In the selection of the conversion method in the feature conversion step, the 5 modeling variables have been converted in a corresponding form according to the correlation between the features and the target variable. In the credit default probability modeling step, the 5 features screened by the feature fine screening step are substituted into the Sigmoid function (using the LOGISTIC process of SAS software) for logistic regression to calculate the credit default probability model.
[0462] The number of outages in the past 12 months reflects the borrower's dishonesty in using mobile services. The more outages in the past 12 months, the higher the possibility of capital shortage and the higher the possibility of default; conversely, the fewer outages in the past 12 months, the lower the possibility of default. The conversion method is WOE conversion.
[0463] The average terminal usage in the past 6 months reflects the borrower's mobile terminal usage. The more mobile terminals there are, the more likely they are to use multiple terminals to apply for loans or evade collection. Therefore, the more average terminal usage in the past 6 months, the higher the possibility of default; conversely, the fewer average terminal usage in the past 6 months, the lower the possibility of default. The conversion method is WOE conversion.
[0464] The minimum percentage of usage of financial service apps in the past six months reflects the borrower's active use of financial services. For customers with high activeness in using financial services, their asset status may be better. The higher the minimum percentage of usage of financial service apps in the past six months, the better the borrower's asset status may be, and the lower the possibility of default; conversely, the lower the minimum percentage of usage of financial service apps in the past six months, the worse the borrower's asset status may be, and the possibility of default will also increase. The conversion method is the cube root conversion in the continuous conversion.
[0465] The deduplication of the last 6 months' mobile phone numbers divided by the deduplication of the last 12 months' mobile phone numbers reflects the stability of the borrower's calling behavior. Imbalance in calling behavior may reflect changes in the borrower's assets or credit situation. The closer the deduplication of the last 6 months' mobile phone numbers divided by the deduplication of the last 12 months' mobile phone numbers is to 0.5, the more stable the borrower's calling behavior is, and the lower the possibility of default is; conversely, the closer the proportion is to 0 or 100%, the more unstable the borrower's calling behavior is, and the possibility of default will also increase. The conversion method is WOE conversion.
[0466] The minimum value of the mobile phone number with inbound calls in the past six months reflects the minimum level of the borrower's inbound calling behavior. The number of incoming calls on the mobile phone indicates the acceptance, recognition and popularity of the borrower in his social network. More incoming calls usually indicate a higher socioeconomic status, which is a key resource of social capital. Therefore, the larger the minimum value of the mobile phone number with inbound calls in the past six months, the lower the possibility of default; conversely, the smaller the minimum value of the mobile phone number with inbound calls in the past six months, the higher the possibility of default. The conversion method is the natural logarithm conversion in the continuous conversion.
[0467] In the step of calculating the probability of credit default, based on the data and coefficients obtained in the feature conversion step, the following model formula is used to predict the probability (P) of the borrower's default:
[0468]
[0469] Where k is the number of features entering the model, and in Formula 2, k is 5.
[0470] α is the intercept term, with a range of values of (-0.14300224, 1.58775224), and an optimal value of 0.722375; β1 is the coefficient corresponding to the number of shutdowns in the past 12 months, with a range of values of (-1.01856232, -0.31583568), and an optimal value of -0.667199; β2 is the coefficient corresponding to the average terminal usage in the past 6 months, with a range of values of (-1.0679718, -0.2413222), and an optimal value of -0.654647; β3 is the proportion of the number of times the financial service APP is used in the past 6 months. The coefficient corresponding to the minimum value is in the range of (-1.0922046, -0.3980314), and the optimal value is -0.745118; β4 is the coefficient corresponding to the deduplication of the mobile phone numbers of the calls in the past 6 months divided by the deduplication of the mobile phone numbers of the calls in the past 12 months, and the range of values is (-0.8842138, -0.2795342), and the optimal value is -0.581874; β5 is the coefficient corresponding to the minimum deduplication of the mobile phone numbers of incoming calls in the past 6 months, and the range of values is (-0.38525392, -0.14250008), and the optimal value is -0.263877. (Note: The numerical range comes from the 95% confidence interval, that is, the 95% CI in the table below)
[0471] x1 is the WOE conversion value of the number of shutdowns in the past 12 months generated by the feature conversion step; x2 is the WOE conversion value of the average terminal usage in the past 6 months generated by the feature conversion step; x3 is the cube root conversion value of the minimum value of the proportion of financial service APP usage in the past 6 months generated by the feature conversion step; x4 is the WOE conversion value of the deduplicated call mobile phone number in the past 6 months divided by the deduplicated call mobile phone number in the past 12 months generated by the feature conversion step; x5 is the natural logarithm conversion value of the minimum deduplicated inbound call mobile phone number in the past 6 months generated by the feature conversion step. The model performance of some features is shown in Table 3 below:
[0472] Table 3
[0473]
[0474] The P values of all model characteristics are less than 0.05, indicating that the above characteristics are significantly correlated with default performance.
[0475] Example 7 Construction of Sigmam2b_3 Model
[0476] For Sigmam2b_3 as a sub-model of the segmentation model, the above-mentioned decision tree method is adopted, and the sample size obtained for classification is about 30,000. Its customer base is mainly customers with a long network time and less recent consumption. The model is built to predict the probability of credit overdue for more than 30 days in this group (target variable).
[0477] In this embodiment 7, the final modeling result is described by taking five features as examples: the number of outgoing calls to other ends in the past 6 months without duplication divided by the number of outgoing calls to other ends in the past 12 months without duplication, the minimum number of total calls in the past 12 months, the number of shutdowns in the past month, the terminal usage in the past 3 months, and the network access time. In the selection of the conversion method in the feature conversion step, the 5 modeling variables have been converted in a corresponding form according to the correlation between the feature and the target variable. In the credit default probability modeling step, the 5 features screened by the feature fine screening step are substituted into the Sigmoid function (using the LOGISTIC process of SAS software) for logistic regression to calculate the credit default probability model.
[0478] The deduplication of the number of outgoing calls in the past 6 months divided by the deduplication of the number of outgoing calls in the past 12 months reflects the stability of the borrower's calling behavior. Imbalance in calling behavior may reflect changes in the borrower's assets or credit situation. The closer the deduplication of the number of outgoing calls in the past 6 months divided by the deduplication of the number of outgoing calls in the past 12 months is to 0.5, the more stable the borrower's calling behavior is, and the lower the possibility of default is; conversely, the closer the proportion is to 0 or 100%, the more unstable the borrower's calling behavior is, and the possibility of default will also increase. The conversion method is WOE conversion.
[0479] The minimum number of total calls in the past 12 months reflects the minimum level of the borrower's calling behavior. The total number of calls also reflects the borrower's acceptance, recognition and popularity in his social network. The higher the minimum number of total calls in the past 12 months, the lower the possibility of the borrower's default; conversely, the lower the minimum number of total calls in the past 12 months, the higher the possibility of the borrower's default. The conversion method is the square root conversion in the continuous conversion.
[0480] The number of outages in the past month reflects the borrower's communication default. Generally speaking, the more outages there are, the higher the possibility of capital shortage. Therefore, the more outages there are in the past month, the higher the possibility of the borrower defaulting; conversely, the fewer outages there are in the past month, the lower the possibility of the borrower defaulting. The conversion method is WOE conversion.
[0481] The terminal usage in the past three months reflects the borrower's mobile terminal usage. The more mobile terminals there are, the more likely they are to use multiple terminals to apply for loans or evade collection. Therefore, the more terminals are used in the past three months, the higher the possibility of default; conversely, the lower the terminal usage in the past three months, the lower the possibility of default. The conversion method is WOE conversion.
[0482] The network access time refers to the length of time the mobile phone number is used, which reflects the borrower's communication stability and persistence. The longer the mobile phone number is used, the more likely the borrower is to have good and stable social relations, and the lower the possibility of credit default. Therefore, the longer the network access time, the lower the possibility of the borrower defaulting; conversely, the shorter the network access time, the higher the possibility of the borrower defaulting. The conversion method is the square conversion in the continuous conversion.
[0483] In the step of calculating the probability of credit default, based on the data and coefficients obtained in the feature conversion step, the following model formula is used to predict the probability (P) of the borrower's default:
[0484]
[0485] Where k is the number of features entering the model, and in Formula 3, k is 5.
[0486] α is the intercept term, with a value range of (-1.78615768, -1.34845832), and the optimal value is -1.567308; β1 is the coefficient of the number of outbound calls in the past 6 months divided by the number of outbound calls in the past 12 months, with a value range of (-0.63087416, -0.13834184), and the optimal value is -0.384608; β2 is the coefficient corresponding to the minimum value of the total number of calls in the past 12 months, with a value range of (-0.03775748, -0.02065452), and the optimal value is - 0.029206; β3 is the coefficient corresponding to the number of shutdowns in the past month, the value range is (-1.21854248,-0.60667752), and the optimal value is -0.91261; β4 is the coefficient corresponding to the terminal usage in the past three months, the value range is (-1.35295136,-0.25303464), and the optimal value is -0.802993; β5 is the coefficient corresponding to the network access time, the value range is (-0.00001285,-0.00000586), and the optimal value is -0.00000935923. (Note: The value range comes from the 95% confidence interval, that is, the 95% CI in the table below)
[0487] x1 is the WOE conversion value of the deduplicated number of outgoing call counterparts in the past 6 months divided by the deduplicated number of outgoing call counterparts in the past 12 months generated in the feature conversion step; x2 is the square root conversion value of the minimum value of the total number of calls in the past 12 months generated in the feature conversion step; x3 is the WOE conversion value of the number of outages in the past month generated in the feature conversion step; x4 is the WOE conversion value of the terminal usage in the past 3 months generated in the feature conversion step; x5 is the square conversion value of the network access time generated in the feature conversion step.
[0488] The model performance of some features is shown in Table 4 below:
[0489] Table 4
[0490]
[0491] The P values of all model characteristics are less than 0.05, indicating that the above characteristics are significantly correlated with default performance.
[0492] Example 8 Construction of Sigmam2b_4 Model
[0493] For Sigmam2b_4 as a sub-model of the segmentation model, the above-mentioned decision tree method is adopted, and the sample size obtained for classification is about 12,000. Its customer base is mainly customers with a long network time and high recent consumption. The model is built to predict the probability of credit overdue for more than 30 days in this group (target variable).
[0494] In this embodiment 8, it is finally confirmed that the final modeling results are described by taking six features as examples: the minimum percentage of business office APP usage in the past 3 months, the minimum value of the deduplication of mobile phone numbers for calls in the past 6 months, the number of shutdowns in the past 6 months, the total payment amount / total number of recharges in the past 3 months, the maximum usage time of game APPs in the past 6 months, and the average usage time of portable life APPs in the past 6 months. In the selection of the conversion method in the feature conversion step, the 6 modeling variables have been converted in a corresponding form according to the correlation between the features and the target variable. In the credit default probability modeling step, the 6 features screened by the feature fine screening step are substituted into the Sigmoid function (using the LOGISTIC process of SAS software) for logistic regression to calculate the credit default probability model.
[0495] The lowest percentage of business office apps in the past three months reflects the borrower's work situation. The higher the percentage of business office apps, the lower the probability of credit default. Conversely, the lower the percentage of business office apps, the higher the probability of default. The conversion method is the cube root conversion in the continuous conversion.
[0496] The minimum value of the phone number for calls in the past six months without duplication reflects the lowest level of the borrower's calling behavior. The total number of calls also reflects the acceptance, recognition and popularity of the borrower in his social network. The higher the minimum value of the phone number for calls in the past six months without duplication, the lower the possibility of the borrower defaulting; conversely, the lower the minimum value of the phone number for calls in the past six months without duplication, the higher the possibility of the borrower defaulting. The conversion method is the natural logarithm conversion in the continuous conversion.
[0497] The number of outages in the past six months reflects the borrower's communication default. Generally speaking, the more outages there are, the higher the possibility of capital shortage. Therefore, the more outages there are in the past six months, the higher the possibility of the borrower defaulting; conversely, the fewer outages there are in the past six months, the lower the possibility of the borrower defaulting. The conversion method is WOE conversion.
[0498] Total payment amount / total recharge times in the past three months reflects the average amount of each recharge paid by the borrower. The higher the average amount, the better the borrower's financial situation and the lower the possibility of default; conversely, the lower the average amount, the higher the possibility of default. The conversion method is the cube root conversion in the continuous conversion.
[0499] The maximum usage time of game apps in the past six months reflects the borrower's gaming and entertainment habits. The greater the maximum usage time of game apps in the past six months, the longer the borrower spends on gaming and entertainment activities, the higher the possibility of related recharge consumption and the amount of consumption, and the higher the possibility of credit default; conversely, the smaller the maximum usage time of game apps in the past six months, the lower the possibility of credit default. The conversion method is the natural logarithm conversion in the continuous conversion.
[0500] The average usage time of portable life apps in the past six months reflects the daily life behavior habits of borrowers. The longer the usage time of portable life apps, the more stable the borrower's daily life behavior is, and the lower the possibility of credit default; conversely, the shorter the usage time of portable life apps, the higher the possibility of credit default. The conversion method is the square root conversion in the continuous conversion.
[0501] In the step of calculating the probability of credit default, based on the data and coefficients obtained in the feature conversion step, the following model formula is used to predict the probability (P) of the borrower's default:
[0502]
[0503] Where k is the number of features entering the model, and in Formula 3, k is 6.
[0504] α is the intercept term, with a range of values of (-2.78986428, -0.40829572), and the optimal value is -1.59908; β1 is the coefficient corresponding to the minimum proportion of business office APP usage in the past three months, with a range of values of (-0.63819304, -0.19739296), and the optimal value is -0.417793; β2 is the coefficient corresponding to the minimum value of the deduplication of mobile phone numbers for calls in the past six months, with a range of values of (-0.3084452, -0.1640128), and the optimal value is -0.236229; β3 is the coefficient corresponding to the number of shutdowns in the past six months, with a range of values of (-0.94741396, -0.42820604), the optimal value is -0.68781; β4 is the coefficient corresponding to the total payment amount / total recharge times in the past three months, the value range is (-0.1823546, 0.0029046), the optimal value is -0.089725; β5 is the coefficient corresponding to the maximum usage time of game apps in the past six months, the value range is (0.0108588, 0.0783612), the optimal value is 0.04461; β6 is the coefficient corresponding to the mean usage time of portable life apps in the past six months, the value range is (-0.00634436, -0.00147964), the optimal value is -0.003912. (Note: The value range comes from the 95% confidence interval, that is, the 95% CI in the table below)
[0505] x1 is the cube root conversion value of the minimum percentage of business and office APP usage in the past three months generated by the feature conversion step; x2 is the natural logarithm conversion value of the minimum value of the deduplicated mobile phone numbers for calls in the past six months generated by the feature conversion step; x3 is the WOE conversion value of the number of shutdowns in the past six months generated by the feature conversion step; x4 is the cube root conversion value of the total payment amount / total number of recharges in the past three months generated by the feature conversion step; x5 is the natural logarithm conversion value of the maximum usage time of game APPs in the past six months generated by the feature conversion step; x6 is the square root conversion value of the average usage time of portable life APPs in the past six months generated by the feature conversion step.
[0506] The model performance of some features is shown in Table 5 below:
[0507] Table 5
[0508]
[0509] Example 9
[0510] The P values calculated by the above formulas can be further used to calculate the score of any customer.
[0511] The scoring calculation step is used to convert the calculated credit default probability into a score of 0-1000 using a pre-stored default score conversion code.
[0512] In the scoring calculation module, the following formula is used to calculate and generate the credit score used to characterize the borrower:
[0513]
[0514]
[0515] Among them, P is the borrower's default probability (P) generated in the credit default probability calculation module, A is 267.8072; B is -144.2695, and the round function rounds the calculated score to the integer value; finally, the score greater than 1000 is set to 1000 points, and the score less than 0 is set to 0 points.
[0516] In this embodiment, the P value calculated in the above embodiments can be substituted to calculate the score.
[0517] The KS (Kolmogorov-Smirnov) statistic was proposed by two Soviet mathematicians, ANKolmogorov and NVSmirnov. In risk control, KS is often used to evaluate the discrimination of models. The greater the discrimination, the stronger the risk ranking ability of the model.
[0518] The KS statistic is based on the empirical cumulative distribution function (ECDF), which is generally defined as:
[0519] KS=max(|cum(bad_rate)-cum(good_rate)|)
[0520] According to the prediction model, a KS curve is drawn. The KS of this embodiment is 20.11. It can be seen that the model constructed in this embodiment performs well in assessing customer credit risk function.
[0521] The following shows the results of the KS values of the model applied to the development sample and the reserved validation sample in the development sample and the validation sample. From Table 6, it can be seen that the model has a good discrimination effect in the training set and the validation set (where the sample size ratio of the training set and the validation set is 7:3) and the overall sample, that is, the discrimination effect is good in all sub-models.
[0522] Table 6
[0523]
[0524] Although the embodiments of the present application are described above, the present application is not limited to the above specific embodiments and application fields, and the above specific embodiments are merely illustrative and instructive, rather than restrictive. A person of ordinary skill in the art can make many forms under the guidance of this specification and without departing from the scope of protection of the claims of the present application, all of which belong to the protection of the present application.
Claims
1. A method for calculating retail credit risk, comprising: A data collection step, which obtains retail credit prediction data of the sample to be predicted; A step of classifying samples to be predicted, which classifies the samples to be predicted based on a decision tree method to determine a sub-model for calculating the probability of credit default; The credit default probability calculation step is to substitute the retail credit prediction data into the credit default probability sub-model to calculate the credit default probability of the sample to be predicted.
2. The method according to claim 1, further comprising: After calculating the credit default probability, a step of calculating the credit score of the sample to be predicted is used to calibrate the calculated credit default probability to a standardized score of 0-1000 points.
3. The method according to claim 1 or 2, wherein: The retail credit prediction data includes original retail credit prediction data of the sample to be predicted and derived retail credit prediction data processed based on the original retail credit prediction data; Preferably, the original retail credit prediction data includes: Basic data on communication behavior, which is based on all available data during the sample users’ call and text messaging behaviors. Basic data on consumption behavior, which is all available data based on the recharge and consumption behavior of sample users. Basic data on online behavior information, which is based on all available data on the behavior of sample users during their online activities. Basic data on mobile APP usage information is based on all available data on the sample users’ behavior during the use of mobile APP. Basic customer information data, which is based on the attributes of the sample users themselves and data related to their mobile phone account basic information. Basic terminal information data, which includes data related to the attributes, quantity, and usage duration of the terminals used by sample users.
4. The method according to any one of claims 1 to 3, wherein: The derived retail credit prediction data processed based on the original retail credit prediction data refers to the data obtained by processing the collected original retail credit prediction data based on the time dimension, space dimension, frequency dimension and statistical information dimension; Preferably, the derived retail credit forecast data includes but is not limited to: Derived retail credit forecast data obtained by processing based on sample relationship length, Derivative retail credit forecast data obtained by processing time interval variables, Derivative retail credit forecast data obtained by processing based on the frequency of sample behavior, Derivative retail credit forecast data obtained by processing the current time point of the sample, Derivative retail credit forecast data obtained by processing based on sample continuous behavior, Derived retail credit forecast data obtained by processing sample data based on statistical information dimensions.
5. The method according to any one of claims 1 to 4, wherein: The retail credit prediction data is selected from one, two, three, four, five or six of the following: The maximum usage time of portable life apps in the past three months, the call billing time in the past month divided by the call billing time in the past three months, the maximum usage time of loan apps in the past six months, the maximum change in the total consumption amount in the past three months, the total number of days of suspension due to arrears in the past month, the network connection time, the number of suspensions in the past 12 months, the average terminal usage in the past six months, the minimum usage time of financial service apps in the past six months, the deduplication of the call mobile phone numbers in the past six months divided by the deduplication of the call mobile phone numbers in the past 12 months, the call in the past six months The minimum deduplicated mobile phone number for incoming calls, the deduplicated number of outgoing call counterparts in the past 6 months divided by the deduplicated number of outgoing call counterparts in the past 12 months, the minimum total number of calls in the past 12 months, the number of shutdowns in the past month, the terminal usage in the past three months, the minimum percentage of business and office app usage in the past three months, the minimum deduplicated mobile phone number for incoming and outgoing calls in the past 6 months, the number of shutdowns in the past 6 months, the total payment amount / total number of recharges in the past three months, the maximum usage time of gaming apps in the past 6 months, and the average usage time of portable life apps in the past 6 months.
6. The method according to any one of claims 1 to 5, wherein: The step of classifying the sample to be predicted includes the following sub-steps: Whether the sample to be tested is a customer whose service has been suspended due to arrears; Whether the customer has been connected to the network for less than 36 months; Whether the average package consumption amount of the sample to be tested in the past six months is less than 100 yuan; Based on the above sub-steps, the samples to be predicted are classified to determine the sub-model for calculating the probability of credit default. Under the premise of ensuring the rationality of business logic, the order of the above sub-steps can be set arbitrarily; It is preferred to classify the predicted samples in the following order: Whether the sample to be tested is a customer whose service has been suspended due to arrears; Whether the customer has been connected to the network for less than 36 months; Whether the average package consumption amount of the sample to be tested in the past six months is less than 100 yuan.
7. The method according to any one of claims 1 to 6, wherein: After performing feature conversion on the retail credit prediction data, the data is substituted into the credit default probability sub-model to calculate the credit default probability of the sample to be predicted. The feature conversion step includes: Based on the feature type of the retail credit prediction data that needs to be substituted into the credit default probability sub-model, select the WOE method or the continuous method for feature conversion.
8. The method according to claim 7, wherein: The continuous method for feature conversion includes the following methods: directly selecting the original value, calculating the square of the original data, calculating the square root of the original data, calculating the cube root of the original data, or calculating the natural logarithm of the original data to perform continuous feature conversion.
9. The method according to any one of claims 1 to 8, wherein: The credit default probability sub-model is a model constructed based on sample retail credit prediction data and credit default probability using logistic regression based on the existing user population.
10. The method according to any one of claims 1 to 9, wherein: The retail credit forecast data is selected from: the maximum proportion of usage time of portable life apps in the past three months, the call billing time in the past month divided by the call billing time in the past three months, the maximum proportion of usage time of loan and borrowing apps in the past six months, the maximum change in total consumption amount in the past three months, the total number of days of suspension due to arrears in the past month, and one, two, three, four, five or six of the network access time.
11. The method according to claim 10, wherein: The steps to calculate the probability of credit default include: The maximum usage time of portable life apps in the past three months, the call billing time in the past month divided by the call billing time in the past three months, the maximum usage time of loan apps in the past six months, the maximum change in the total amount of consumption in the past three months, the total number of days of suspension due to arrears in the past month, and the network access time are used for feature conversion. It is preferred to use the continuous conversion method for the maximum proportion of portable life APP usage time in the past three months; the WOE method is used to convert the call billing time in the past month divided by the call billing time in the past three months; the continuous conversion method is used for the maximum proportion of loan and borrowing APP usage time in the past six months; the continuous conversion method is used for the maximum change in the total amount of consumption in the past three months; the WOE method is used to convert the total number of days of suspension due to arrears in the past month; the continuous conversion method is used for network access time; For further optimization, the maximum proportion of usage time of portable life apps in the past three months is calculated by taking the square root and removing the duplicates; the maximum proportion of usage time of loan and borrowing apps in the past six months is calculated by taking the cube root; the maximum change in total consumption amount in the past three months is calculated by taking the square root; and the network access time is calculated by taking the logarithm.
12. The method according to claim 11, wherein: The converted values of the six features, namely, the maximum proportion of usage time of portable life apps in the past three months, the call billing time in the past month divided by the call billing time in the past three months, the maximum proportion of usage time of loan and borrowing apps in the past six months, the maximum change in total consumption amount in the past three months, the total number of days of suspension due to arrears in the past month, and the network access time, are substituted into the sub-model constructed by logistic regression based on the sample retail credit prediction data and credit default probability to calculate the default probability of the sample to be predicted.
13. The method according to claim 12, wherein: The sub-model is shown in the following formula 1: Where k is the number of features entering the model, preferably k is 6, α is the intercept term, the value range is (0.13126796, 1.43476204), and the optimal value is 0.783015; β1 is the coefficient corresponding to the maximum proportion of usage time of portable life apps in the past three months, with a value range of (-0.13789212, -0.04450988), and the optimal value is -0.091201; β2 is the coefficient of the call billing duration in the past month divided by the call billing duration in the past three months. The value range is (-0.91008036, -0.17834964), and the optimal value is -0.544215; β3 is the coefficient corresponding to the maximum proportion of usage time of loan and borrowing apps in the past 6 months, with a value range of (0.27866868, 0.67465532), and the optimal value is 0.476662; β4 is the coefficient corresponding to the maximum change in the total amount of consumption in the past three months, with a value range of (0.0112044, 0.0657316) and an optimal value of 0.038468; β5 is the coefficient corresponding to the total number of days of outage due to arrears in the past month, with a value range of (-1.1079504, -0.5087196) and the optimal value being -0.808335; β6 is the coefficient corresponding to the network access time, the value range is (-0.49128624,-0.24621176), and the optimal value is -0.368749; x1 is the square root conversion value of the maximum usage time of portable life apps in the past three months generated by the feature conversion step; x2 is the WOE conversion value generated by the feature conversion step, where the call billing duration in the past month is divided by the call billing duration in the past three months; x3 is the cube root conversion value of the maximum usage time ratio of loan and money lending apps in the past 6 months generated by the feature conversion step; x4 is the square root conversion value of the maximum change in the total amount of consumption in the past three months generated by the feature conversion step; x5 is the WOE conversion value of the total number of days of overdue downtime in the past month generated by the feature conversion step; x6 is the logarithmic transformation of the continuous transformation of the network access time generated in the feature transformation step.
14. The method according to claim 13, wherein: After calculating the credit default probability, the step of calculating the credit score of the sample to be predicted is to use the following formula to calculate and generate a credit score for characterizing the borrower: Among them, P is the borrower's default probability (P) generated in the credit default probability calculation module, A is 267.8072; B is -144.2695, and the round function rounds the calculated score to the integer value; finally, the score greater than 1000 is set to 1000 points, and the score less than 0 is set to 0 points.
15. The method according to any one of claims 1 to 9, wherein: The retail credit forecast data is selected from: the number of outages in the past 12 months, the average terminal usage in the past 6 months, the minimum proportion of financial service APP usage in the past 6 months, the deduplicated mobile phone numbers of calls in the past 6 months divided by the deduplicated mobile phone numbers of calls in the past 12 months, and one, two, three, four or five of the minimum deduplicated mobile phone numbers of incoming calls in the past 6 months.
16. The method according to claim 15, wherein: The steps to calculate the probability of credit default include: The number of shutdowns in the past 12 months, the average terminal usage in the past 6 months, the minimum percentage of financial service APP usage in the past 6 months, the deduplication of the mobile phone numbers in the past 6 months divided by the deduplication of the mobile phone numbers in the past 12 months, and the minimum deduplication of the mobile phone numbers in the past 6 incoming calls are converted into features. It is preferred to use the WOE method to convert the number of shutdowns in the past 12 months; the WOE method is used to convert the average terminal usage in the past 6 months; the continuous conversion method is used for the minimum percentage of financial service APP usage in the past 6 months; the WOE method is used to convert the duplicated mobile phone numbers of calls in the past 6 months divided by the duplicated mobile phone numbers of calls in the past 12 months; the continuous conversion method is used for the minimum duplicated mobile phone numbers of incoming calls in the past 6 months; For further optimization, the cube root of the minimum percentage of usage of financial service apps in the past six months is used for calculation; the natural logarithm of the minimum deduplicated incoming call mobile phone numbers in the past six months is used for calculation.
17. The method according to claim 15, wherein: The converted values of the five features, namely, the number of shutdowns in the past 12 months, the average terminal usage in the past 6 months, the minimum proportion of financial service APP usage in the past 6 months, the deduplicated mobile phone numbers of calls in the past 6 months divided by the deduplicated mobile phone numbers of calls in the past 12 months, and the minimum deduplicated mobile phone numbers of incoming calls in the past 6 months, are substituted into the sub-model constructed by logistic regression based on the sample retail credit prediction data to calculate the default probability of the sample to be predicted.
18. The method according to claim 17, wherein: The sub-model is shown in the following formula 2: Where k is the number of features entering the model, and k is preferably 5; α is the intercept term, the value range is (-0.14300224, 1.58775224), and the optimal value is 0.722375; β1 is the coefficient corresponding to the number of shutdowns in the past 12 months, with a value range of (-1.01856232, -0.31583568), and the optimal value is -0.667199; β2 is the coefficient corresponding to the average terminal usage in the past 6 months, with a value range of (-1.0679718, -0.2413222) and an optimal value of -0.654647; β3 is the coefficient corresponding to the minimum usage ratio of financial service apps in the past six months, with a value range of (-1.0922046, -0.3980314) and an optimal value of -0.745118; β4 is the deduplication coefficient of the mobile phone numbers of the past 6 months divided by the deduplication coefficient of the mobile phone numbers of the past 12 months. The value range is (-0.8842138, -0.2795342), and the optimal value is -0.581874; β5 is the coefficient corresponding to the minimum value of deduplication of incoming call mobile phone numbers in the past 6 months, with a value range of (-0.38525392, -0.14250008) and an optimal value of -0.263877; x1 is the WOE conversion value of the number of downtimes in the past 12 months generated by the feature conversion step; x2 is the WOE conversion value of the average terminal usage in the past 6 months generated by the feature conversion step; x3 is the cube root conversion value of the minimum percentage of usage of financial services apps in the past six months generated by the feature conversion step; x4 is the WOE conversion value of the deduplicated phone numbers of calls in the past 6 months divided by the deduplicated phone numbers of calls in the past 12 months generated in the feature conversion step; x5 is the natural logarithm transformation value of the minimum deduplicated inbound call mobile phone number in the past 6 months generated in the feature conversion step.
19. The method according to claim 18, wherein: After calculating the credit default probability, the step of calculating the credit score of the sample to be predicted is to use the following formula to calculate and generate a credit score for characterizing the borrower: Among them, P is the borrower's default probability (P) generated in the credit default probability calculation module, A is 267.8072; B is -144.2695, and the round function rounds the calculated score to the integer value; finally, the score greater than 1000 is set to 1000 points, and the score less than 0 is set to 0 points.
20. The method according to any one of claims 1 to 9, wherein: The retail credit prediction data is selected from: One, two, three, four or five of the following: the number of outgoing calls to other ends in the past six months without duplication divided by the number of outgoing calls to other ends in the past 12 months without duplication, the minimum number of total calls in the past 12 months, the number of outages in the past month, the terminal usage in the past three months, and the network access time.
21. The method according to claim 20, wherein: The steps to calculate the probability of credit default include: The feature conversion is performed by dividing the number of outgoing calls to other ends in the past 6 months by the number of outgoing calls to other ends in the past 12 months, the minimum number of total calls in the past 12 months, the number of outages in the past month, the terminal usage in the past 3 months, and the network access time. It is preferred to use the WOE method to convert the number of outgoing calls to other ends in the past 6 months divided by the number of outgoing calls to other ends in the past 12 months; the continuous conversion method is used for the minimum value of the total number of calls in the past 12 months; the WOE method is used for the number of outages in the past month; the WOE method is used for the terminal usage in the past 3 months; and the continuous conversion method is used for the network access time; Further preferably, the square root of the minimum total number of calls in the past 12 months is used for calculation; the square root of the network access time is used for calculation.
22. The method according to claim 20, wherein: The converted values of the five features, namely, the number of outgoing calls to other ends in the past 6 months deduplicated divided by the number of outgoing calls to other ends in the past 12 months deduplicated, the minimum number of total calls in the past 12 months, the number of outages in the past month, the terminal usage in the past 3 months and the network access time, are substituted into the sub-model constructed by logistic regression based on the sample retail credit forecast data and credit default probability to calculate the default probability of the sample to be predicted.
23. The method according to claim 22, wherein: The sub-model is shown in Formula 3 below: Where k is the number of features entering the model, and k is preferably 5; α is the intercept term, the value range is (-1.78615768, -1.34845832), and the optimal value is -1.567308; β1 is the coefficient of the deduplication of the number of outbound calls in the past 6 months divided by the deduplication of the number of outbound calls in the past 12 months. The value range is (-0.63087416, -0.13834184), and the optimal value is -0.384608; β2 is the coefficient corresponding to the minimum value of the total number of calls in the past 12 months, with a value range of (-0.03775748, -0.02065452), and the optimal value is -0.029206; β3 is the coefficient corresponding to the number of shutdowns in the past month, with a value range of (-1.21854248, -0.60667752), and the optimal value is -0.91261; β4 is the coefficient corresponding to the terminal usage in the past three months, with a value range of (-1.35295136, -0.25303464), and the optimal value is -0.802993; β5 is the coefficient corresponding to the network access time, the value range is (-0.00001285,-0.00000586), and the optimal value is -0.00000935923; x1 is the WOE conversion value of the outbound call peer number in the past 6 months divided by the outbound call peer number in the past 12 months. x2 is the square root transformed value of the minimum total number of calls in the past 12 months generated by the feature conversion step; x3 is the WOE conversion value of the number of downtimes in the past month generated by the feature conversion step; x4 is the WOE conversion value of the terminal usage in the past three months generated by the feature conversion step; x5 is the square conversion value of the network access time generated by the feature conversion step.
24. The method according to claim 23, wherein: After calculating the credit default probability, the step of calculating the credit score of the sample to be predicted is to use the following formula to calculate and generate a credit score for characterizing the borrower: Among them, P is the borrower's default probability (P) generated in the credit default probability calculation module, A is 267.8072; B is -144.2695, and the round function rounds the calculated score to the integer value; finally, the score greater than 1000 is set to 1000 points, and the score less than 0 is set to 0 points.
25. The method according to any one of claims 1 to 9, wherein: The retail credit forecast data is selected from: one, two, three, four, five or six of the following: the minimum percentage of usage of business office apps in the past three months, the minimum value of deduplicated mobile phone numbers for calls in the past six months, the number of shutdowns in the past six months, the total payment amount / total number of recharges in the past three months, the maximum usage time of game apps in the past six months, and the average usage time of portable life apps in the past six months.
26. The method according to claim 25, wherein: The steps to calculate the probability of credit default include: The minimum usage ratio of business office apps in the past three months, the minimum deduplication of mobile phone numbers in the past six months, the number of shutdowns in the past six months, the total payment amount / total recharge times in the past three months, the maximum usage time of game apps in the past six months, and the average usage time of portable life apps in the past six months were transformed into features. It is preferred to use a continuous conversion method for the minimum percentage of business office APP usage in the past three months; a continuous conversion method for the minimum value of the deduplication of mobile phone numbers for calls in the past six months; the WOE method for the number of shutdowns in the past six months; a continuous conversion method for the total payment amount / total number of recharges in the past three months; a continuous conversion method for the maximum usage time of game APPs in the past six months; and a continuous conversion method for the average usage time of portable life APPs in the past six months. For further optimization, the cube root of the minimum proportion of business and office app usage in the past three months is calculated; the natural logarithm of the minimum deduplicated mobile phone numbers for calls in the past six months is calculated; the cube root of the total payment amount / total recharge times in the past three months is calculated; the natural logarithm of the maximum usage time of gaming apps in the past six months is calculated; and the square root of the average usage time of portable life apps in the past six months is calculated.
27. The method according to claim 25, wherein: The converted values of six features, including the minimum proportion of business office apps used in the past three months, the minimum value of deduplicated mobile phone numbers for calls in the past six months, the number of shutdowns in the past six months, the total payment amount / total recharge times in the past three months, the maximum usage time of game apps in the past six months, and the average usage time of portable life apps in the past six months, are substituted into the sub-model constructed based on the sample retail credit prediction data using logistic regression to calculate the default probability of the sample to be predicted.
28. The method according to claim 27, wherein: The sub-model is shown in the following formula 2: Where k is the number of features entering the model, and k is preferably 6; α is the intercept term, the value range is (-2.78986428, -0.40829572), and the optimal value is -1.59908; β1 is the coefficient corresponding to the minimum usage ratio of business office apps in the past three months, with a value range of (-0.63819304, -0.19739296), and the optimal value is -0.417793; β2 is the coefficient corresponding to the minimum value of deduplication of mobile phone numbers in the past 6 months, with a value range of (-0.3084452, -0.1640128) and an optimal value of -0.236229; β3 is the coefficient corresponding to the number of shutdowns in the past six months, with a value range of (-0.94741396, -0.42820604), and the optimal value is -0.68781; β4 is the coefficient corresponding to the total payment amount / total number of recharges in the past three months, with a value range of (-0.1823546, 0.0029046) and an optimal value of -0.089725; β5 is the coefficient corresponding to the maximum usage time of game apps in the past 6 months, with a value range of (0.0108588, 0.0783612) and an optimal value of 0.04461; β6 is the coefficient corresponding to the mean usage time of portable life apps in the past 6 months, with a value range of (-0.00634436, -0.00147964), and the optimal value is -0.003912; x1 is the cube root conversion value of the minimum usage ratio of business office apps in the past three months generated by the feature conversion step; x2 is the natural logarithm transformation value of the minimum value of the mobile phone number for calls in the past 6 months generated by the feature conversion step; x3 is the WOE conversion value of the number of downtimes in the past six months generated by the feature conversion step; x4 is the cube root conversion value of the total payment amount / total recharge times in the past three months generated by the feature conversion step; x5 is the natural logarithm transformation value of the maximum usage time of gaming apps in the past 6 months generated by the feature conversion step; x6 is the square root conversion value of the average usage time of portable life apps in the past 6 months generated by the feature conversion step.
29. The method according to claim 28, wherein: After calculating the credit default probability, the step of calculating the credit score of the sample to be predicted is to use the following formula to calculate and generate a credit score for characterizing the borrower: Among them, P is the borrower's default probability (P) generated in the credit default probability calculation module, A is 267.8072; B is -144.2695, and the round function rounds the calculated score to the integer value; finally, the score greater than 1000 is set to 1000 points, and the score less than 0 is set to 0 points.
30. A device for calculating retail credit risk, comprising: A data collection module, which is used to obtain retail credit prediction data of samples to be predicted; A module for classifying samples to be predicted, which is used to classify the samples to be predicted based on a decision tree method to determine a sub-model for calculating the probability of credit default; A credit default probability calculation module is used to substitute the retail credit prediction data into the credit default probability sub-model to calculate the credit default probability of the sample to be predicted, and preferably the credit default probability is the credit default probability for online credit business.
31. The device according to claim 30, wherein The device executes the steps of the method for calculating retail credit risk according to any one of claims 1 to 29.
32. A system for calculating retail credit risk, characterized in that: The system for calculating retail credit risk comprises: a memory, a processor, and a program for the method for calculating retail credit risk stored in the memory and executable on the processor. When the program for calculating retail credit risk is executed by the processor, the steps of the method for calculating retail credit risk as described in any one of claims 1 to 29 are implemented.
33. A computer storage medium, characterized in that The computer storage medium stores a program for calculating the retail credit risk method, and when the program for calculating the retail credit risk method is executed by the processor, the steps of the method for calculating the retail credit risk according to any one of claims 1 to 29 are implemented.
34. A method for constructing a retail credit risk prediction model for online credit business, comprising: A data collection step, which obtains the original retail credit prediction data of the sample used to build the model; A data derivation step, which processes derived retail credit forecast data based on the original retail credit forecast data; The feature initial screening step is to perform initial screening on all categories, that is, all features, including the original retail credit forecast data and the derived retail credit forecast data, to obtain features after initial screening; The initial screening data conversion step is to judge the conversion method of the features after the initial screening to confirm whether to use one of the WOE conversion method, the dummy feature conversion method and the continuous conversion method for feature conversion, and use the best method to convert each feature after the initial screening; The feature fine screening step is to perform in-depth screening on the initially screened features after feature conversion to obtain finely screened features; The credit default probability modeling step is to select the logistic regression method to build the model based on the relationship between the carefully screened features and the probability of credit default, and confirm the method used to calculate the credit default probability; The data samples obtained in the data collection step are samples of customers who have used online credit services.
35. The method of claim 34, wherein: In the data collection step, the original retail credit prediction data of the samples obtained for building the model include: Basic data on communication behavior, which is based on all available data during the sample users’ call and text messaging behaviors. Basic data on consumption behavior, which is all available data based on the recharge and consumption behavior of sample users. Basic data on online behavior information, which is based on all available data on the behavior of sample users during their online activities. Basic data on mobile APP usage information is based on all available data on the sample users’ behavior during the use of mobile APP. Basic customer information data, which is based on the attributes of the sample users themselves and data related to their mobile phone account basic information. Basic terminal information data, which includes data related to the attributes, quantity, and usage duration of the terminals used by sample users.
36. The method of claim 34, wherein: In the data derivation step, the derived retail credit prediction data processed based on the original retail credit prediction data refers to data obtained by processing the collected original retail credit prediction data based on the time dimension, space dimension, frequency dimension, and statistical information dimension; Preferably, the derived retail credit forecast data includes but is not limited to: Derived retail credit forecast data obtained by processing based on sample relationship length, Derivative retail credit forecast data obtained by processing time interval variables, Derivative retail credit forecast data obtained by processing based on the frequency of sample behavior, Derivative retail credit forecast data obtained by processing the current time point of the sample, Derivative retail credit forecast data obtained by processing based on sample continuous behavior, Derived retail credit forecast data obtained by processing sample data based on statistical information dimensions.
37. The method according to any one of claims 34 to 36, wherein: The feature initial screening step includes the following steps: The first preliminary screening step is to screen the features based on the missing data of each feature of the sample used to build the model. The second initial screening step is to screen the features based on the fact that a single value of a feature sample is too high. The third preliminary screening step is to calculate the information IV value of each feature to perform preliminary screening of the features; The order of the first preliminary screening step, the second preliminary screening step and the third preliminary screening step can be any order. The fourth preliminary screening step uses a stepwise discrimination algorithm to perform preliminary screening of features after the first to third preliminary screenings; The fifth preliminary screening step is to conduct preliminary screening of the features after the fourth preliminary screening step based on the consistency between the risk characteristics of each feature itself and the actual real results of the samples used for model construction.
38. The method according to any one of claims 34 to 37, wherein: Also includes: The sample selection step is used to screen all users and obtain samples of online credit business for model construction before the data collection step. Preferably, the sample selection step includes classifying all sample users based on a decision tree, and the classification basis includes but is not limited to: Whether a certain user is a customer whose service has been suspended due to arrears; Whether a user is a customer whose network access time is less than a; Whether a user is a customer whose average package consumption amount in the past 6 months is less than b.
39. The method according to any one of claims 34 to 38, wherein: In the initial screening data conversion step, the conversion method of the features after the initial screening is determined based on the concentration and data type of the features after the initial screening.
40. The method of claim 39, wherein: The initial screening data conversion step includes the following steps based on the judgment of concentration and data type: Classify the data type of each feature into character variables and numeric variables. For character variables, dummy feature conversion is used to perform initial screening data conversion. The process of further classifying numerical variables includes the following sub-steps: If the value of the numeric variable is less than n, the WOE conversion method is used to convert the initial screening data. If the value of the numerical variable is more than n, further judge if the value of the continuous variable is large and the concentration of a single value is greater than m%, then the WOE conversion method is used; if the concentration of a single value is less than or equal to m%, then the continuous conversion method is used. Preferably, n and m are both positive integers, wherein n=5-10, and m=90-99.
41. The method of claim 40, wherein: Also includes: For the features that are confirmed to adopt the continuous conversion method, the optimal conversion method is selected based on the correlation between the feature and credit default under different continuous conversion methods to perform the continuous feature conversion of the feature. Preferably, the continuous feature conversion is performed by directly selecting the original value, calculating the square of the original data, calculating the square root of the original data, calculating the cube root of the original data, or calculating the natural logarithm of the original data.
42. The method according to any one of claims 34 to 41, wherein: The feature fine screening steps include: The first fine screening step is to screen the features based on the stepwise regression algorithm, the F test and the T test to determine the significance of the features. The second fine screening step is to calculate the variance inflation factor based on each feature and eliminate the features with higher variance inflation factors to screen the features. The third fine screening step is to analyze the characteristics after the first fine screening step and the second fine screening step based on logistic regression to see whether the characteristic coefficients are consistent with the trend of the prediction results for credit default so as to further perform feature screening.
43. The method according to any one of claims 34 to 42, wherein: The credit default probability modeling step substitutes the features selected in the feature fine screening step into the Sigmoid function to perform logistic regression to calculate the credit default probability model.
44. A device for constructing a retail credit risk prediction model for online credit business, characterized in that: The device comprises: A data collection module, which is used to obtain raw retail credit prediction data of samples used to build a model; A data derivation module, which is used to process derived retail credit forecast data based on the original retail credit forecast data; A feature initial screening module, which is used to perform initial screening on all categories, that is, all features, including the original retail credit forecast data and the derived retail credit forecast data, to obtain features after initial screening; The initial screening data conversion module is used to determine the conversion method of the features after the initial screening to confirm whether to use one of the WOE conversion method, the dummy feature conversion method and the continuous conversion method for feature conversion, and to use the best method for feature conversion for each feature after the initial screening; A feature fine screening module is used to perform in-depth screening on the initially screened features after feature conversion to obtain finely screened features; The credit default probability modeling module is used to select the logistic regression method to build a model based on the probability relationship between the finely screened features and credit default, and confirm the method used to calculate the credit default probability. The data samples obtained by the data collection module are samples of customers who have used online credit services.
45. The device according to claim 44, wherein The device executes the steps of the method for constructing a retail credit risk prediction model as described in any one of claims 29 to 38.
46. A system for building a retail credit risk prediction model for online credit business, characterized in that: The system includes: a memory, a processor, and a program for constructing a retail credit risk prediction model stored in the memory and executable on the processor. When the program for constructing a retail credit risk prediction model is executed by the processor, the steps of constructing a retail credit risk prediction model as described in any one of claims 34 to 43 are implemented.
