User credit scoring method and device, computer equipment, readable storage medium and program product
By combining the logistic regression model and the scorecard model to calculate user credit scores, it solves the accuracy and interpretability problems of user credit assessment in Internet finance, improves the accuracy and objectivity of credit evaluation, and optimizes the loan approval process.
Patent Information
- Application Number
- CN202410711701.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-08-23
AI Technical Summary
Existing technologies are difficult to accurately and objectively assess users' credit in the era of Internet finance, resulting in inaccurate credit scores and lack of interpretability. In addition, traditional expert evaluation methods have one-sided and subjective flaws, affecting the efficiency and accuracy of the loan approval process.
Using a method that combines the logistic regression model and the scorecard model, by obtaining multi-dimensional user information and evaluation indicators, the user's normal and abnormal user probability ratios are calculated, and the scorecard parameter group and probability ratio are used for credit scoring to ensure the objectivity of the score. and accuracy.
It improves the accuracy and interpretability of credit evaluation, solves the one-sidedness and subjectivity problems of traditional methods, achieves more accurate and objective quantification of user credit, and optimizes the loan approval process.
Smart Images

Figure CN118536083A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a user credit scoring method, apparatus, computer equipment, computer-readable storage medium, and computer program product, which can be applied to the field of financial technology or other related fields. Background Art
[0002] With the development of Internet finance and the advent of the big data era, the traditional personal credit assessment of commercial banks faces huge challenges. First, the data source is more extensive and the data structure is more diversified. Structured data based on bank credit data cannot accurately reflect the credit status of the credit subject, and unstructured data is also important information reflecting the credit status of the credit subject. Second, the evaluation model is relatively complex. The commercial bank credit evaluation model based on the logistic regression model can no longer process and analyze a large amount of complex data. Therefore, a complex model is needed for evaluation. Third, the loan approval process of commercial banks is relatively cumbersome, and applications for unsecured loans will face problems such as long approval time, insufficient quota, and long loan intervals. Banks collect and organize massive data through their own platforms, improve the credit evaluation dimensions, and use machine learning methods to conduct a comprehensive and scientific evaluation of personal credit. By scoring the customer's credit subject, decide whether to issue a loan based on its credit score. Therefore, exploring personal credit assessment based on machine learning methods has strong theoretical value and practical significance.
[0003] The goals of customer credit assessment are accuracy, universality, and interpretability. Accuracy is the basis of credit evaluation, requiring credit scores to accurately determine whether a credit subject will default. Universality requires that credit scores must not only be highly distinguishable in sample data, but also maintain a high accuracy rate in different populations and scenarios. Interpretability requires the ability to meet regulatory requirements on the one hand, and on the other hand, it must be consistent with business experience and common sense judgment, so that the model remains accurate in different scenarios.
[0004] Currently, the credit evaluation of users cannot be accurately quantified, lacks objectivity, and has low accuracy. Summary of the invention
[0005] Based on this, it is necessary to provide a user credit scoring method, device, computer equipment, computer-readable storage medium and computer program product that can intuitively and accurately evaluate user credit in response to the above technical problems.
[0006] In a first aspect, the present application provides a user credit scoring method, comprising:
[0007] According to the target user information, obtain input data that matches the evaluation indicators;
[0008] Input the input data into the trained logistic regression model to obtain the normal user probability and abnormal user probability of the target user;
[0009] The scoring card model is used to process the normal user probability and abnormal user probability to obtain the credit score of the target user.
[0010] In one embodiment, obtaining input data matching a preset indicator according to target user information includes:
[0011] Obtain multiple evaluation indicators;
[0012] According to each evaluation index, data analysis is performed on the target user information to obtain multiple evaluation data, which are used as input data; each evaluation data corresponds to an evaluation index.
[0013] In one embodiment, a scoring card model is used to process the normal user probability and the abnormal user probability to obtain the credit score of the target user, including:
[0014] Obtain the probability ratio between the abnormal user probability and the normal user probability;
[0015] The scorecard parameter group and the probability ratio are introduced into the scorecard model to obtain the credit score of the target user; the scorecard parameter group includes a compensation parameter and a scale parameter.
[0016] In one embodiment, the calculation method of the scorecard parameter group includes:
[0017] determining a first score corresponding to the first ratio;
[0018] Double the first ratio to obtain a second ratio, and determine the score corresponding to the second ratio;
[0019] The difference between the first score and the score is taken as the second score corresponding to the second ratio;
[0020] Substituting the first ratio and the first score into the initial scoring card model to obtain a first equation, and substituting the second ratio and the second score into the initial scoring card model to obtain a second equation; the initial scoring card model includes a compensation parameter variable and a scale parameter variable;
[0021] The equation group consisting of the first equation and the second equation is calculated to obtain the values of the compensation parameter variable and the scale parameter variable as the scorecard parameter group.
[0022] In one embodiment, the training method of the logistic regression model includes:
[0023] Obtain multi-dimensional user information of sample users and determine sample user types corresponding to the sample users; sample user types are divided into abnormal users and normal users;
[0024] According to the multiple evaluation indicators, at least one data analysis is performed on the multi-dimensional user information to obtain multiple sample sub-data, and the multiple sample sub-data are used as sample data; each sample sub-data corresponds to an evaluation indicator;
[0025] According to the sample user type corresponding to the sample user, add corresponding sample labels to the sample data;
[0026] According to the sample data and sample labels, a training sample is taken as one, and a training set is obtained according to multiple training samples;
[0027] The training set is used to train the initial logistic regression model to obtain a trained logistic regression model.
[0028] In one embodiment, obtaining multi-dimensional user information of sample users includes:
[0029] Select at least one evaluation dimension; the evaluation dimensions include basic personal information, personal credit record, contract performance history, social credit information and personal transaction behavior;
[0030] Based on each selected evaluation dimension, obtain the single-dimensional information of the target user under each evaluation dimension respectively;
[0031] The single-dimensional information under each evaluation dimension is desensitized and missing values are supplemented to obtain multi-dimensional user information.
[0032] In a second aspect, the present application also provides a user credit scoring device, comprising:
[0033] An acquisition module is used to acquire input data matching the evaluation index according to target user information;
[0034] A processing module, used to input the input data into the trained logistic regression model to obtain the normal user probability and abnormal user probability of the target user;
[0035] The scoring module is used to process the normal user probability and the abnormal user probability using the scoring card model to obtain the credit score of the target user.
[0036] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0037] According to the target user information, obtain input data that matches the evaluation indicators;
[0038] Input the input data into the trained logistic regression model to obtain the normal user probability and abnormal user probability of the target user;
[0039] The scoring card model is used to process the normal user probability and abnormal user probability to obtain the credit score of the target user.
[0040] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0041] According to the target user information, obtain input data that matches the evaluation indicators;
[0042] Input the input data into the trained logistic regression model to obtain the normal user probability and abnormal user probability of the target user;
[0043] The scoring card model is used to process the normal user probability and abnormal user probability to obtain the credit score of the target user.
[0044] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0045] According to the target user information, obtain input data that matches the evaluation indicators;
[0046] Input the input data into the trained logistic regression model to obtain the normal user probability and abnormal user probability of the target user;
[0047] The scoring card model is used to process the normal user probability and abnormal user probability to obtain the credit score of the target user.
[0048] The above-mentioned user credit scoring method, device, computer equipment, computer-readable storage medium and computer program product obtain input data matching the evaluation index according to the target user information; input the input data into the trained logistic regression model to obtain the normal user probability and abnormal user probability of the target user; use the scoring card model to process the normal user probability and abnormal user probability to obtain the credit score of the target user. It makes up for the problem of inaccurate credit scoring caused by the single use of credit data and logistic regression model to output personal credit scores, and can quantify the user's credit evaluation more objectively and accurately, solves the one-sidedness and subjectivity of traditional expert evaluation methods, and improves the accuracy of credit evaluation. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 A diagram of an application environment of a user credit scoring method in one embodiment;
[0051] Figure 2 is a flow chart of a method for user credit scoring in one embodiment;
[0052] Figure 3 is a structural block diagram of a user credit scoring device in one embodiment;
[0053] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0055] The user credit scoring method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The server 104 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0056] In an exemplary embodiment, Figure 2 As shown, a user credit scoring method is provided, which is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, including the following steps 202 to 206. Among them:
[0057] Step 202: Acquire input data matching the evaluation index according to the target user information.
[0058] The evaluation index may be, but is not limited to, one or more of the following: loan amount, income flow, blacklist information, number of credit cards, and credit rating.
[0059] Optionally, after acquiring the target user information, the terminal extracts input data from the target user information based on the selected evaluation index.
[0060] Step 204 , input the input data into the trained logistic regression model to obtain the normal user probability and abnormal user probability of the target user.
[0061] Optionally, the terminal inputs the input data into a trained logistic regression model. Logistic regression is a commonly used method in machine learning. It can be used for both probability prediction and classification. The algorithm is simple and efficient and has been widely used in practice. In the process of generating personal credit scores, the frontiers that have an important impact on the generation of personal credit scores are selected. After the indicators, such as loan amount, income level, blacklist information, number of credit cards, credit rating, etc., can be expressed as , n is the total number of indicators, and a logistic regression model is needed to obtain the customer's credit risk probability, that is,
[0062] The probability of a customer defaulting is:
[0063]
[0064] The probability that the customer will not default is:
[0065]
[0066] in , It is an indicator that has a greater impact on customer credit scores. is the coefficient of the regression equation. y =1 or y=0 indicates whether the customer has defaulted.
[0067] Step 206: Use the scoring card model to process the normal user probability and the abnormal user probability to obtain the credit score of the target user.
[0068] Optionally, after obtaining the result output by the logistic regression model, the terminal uses a scorecard model to convert the customer default probability obtained by the logistic regression model into a credit score of the target user, which will help the bank to better quantify and manage credit risk, thereby making credit decisions more objective.
[0069] In the above user credit scoring method, input data matching the evaluation index is obtained according to the target user information; the input data is input into the trained logistic regression model to obtain the normal user probability and abnormal user probability of the target user; the scoring card model is used to process the normal user probability and abnormal user probability to obtain the credit score of the target user. This method makes up for the inaccurate credit score problem caused by the single use of credit data and logistic regression model to output personal credit scores, and can quantify the user's credit evaluation more objectively and accurately, solve the one-sidedness and subjectivity of traditional expert evaluation methods, and improve the accuracy of credit evaluation.
[0070] In one embodiment, input data matching preset indicators is obtained based on target user information, including: obtaining multiple evaluation indicators; performing data analysis on the target user information based on each evaluation indicator to obtain multiple evaluation data, and using the multiple evaluation data as input data; each evaluation data corresponds to an evaluation indicator.
[0071] Optionally, the terminal performs a data analysis on the target user information based on each selected evaluation indicator to obtain evaluation data corresponding to each evaluation indicator. These evaluation data may contain user privacy data or sensitive data, and may also contain missing data. These evaluation data can be desensitized and missing value filled to obtain input data for the logistic regression model.
[0072] In this embodiment, the problem of inaccurate credit scores caused by the single use of credit data and logistic regression models to output personal credit scores is compensated, and the user's credit evaluation can be quantified more objectively and accurately, solving the one-sidedness and subjectivity defects of traditional expert evaluation methods and improving the accuracy of credit evaluation.
[0073] In one embodiment, a scoring card model is used to process normal user probabilities and abnormal user probabilities to obtain a credit score of a target user, including: obtaining a probability ratio between the abnormal user probability and the normal user probability; bringing a scoring card parameter group and the probability ratio into the scoring card model to obtain a credit score of the target user; the scoring card parameter group includes a compensation parameter and a scale parameter.
[0074] Alternatively, the probability that a customer defaults is , then the probability of not defaulting is Therefore, it can be expressed as probability (Odds), that is, the ratio of the probability of customer default to the probability of non-default is
[0075]
[0076] When establishing a personal credit rating scorecard model, it is necessary to The final credit score is obtained after the input variables are encoded with the weight of evidence:
[0077]
[0078] Among them, constant A is called compensation and constant B is scale. These two constants can be calculated. Through credit scoring, banks can get the final credit score of customers and decide whether to grant loans. The higher the score, the lower the risk of customer default.
[0079] In this embodiment, the problem of inaccurate credit scores caused by the single use of credit data and logistic regression models to output personal credit scores is compensated, and the user's credit evaluation can be quantified more objectively and accurately, solving the one-sidedness and subjectivity defects of traditional expert evaluation methods and improving the accuracy of credit evaluation.
[0080] In one embodiment, a calculation method of a scoring card parameter group includes: determining a first score corresponding to a first ratio; doubling the first ratio to obtain a second ratio, and determining a score corresponding to the second ratio; subtracting the difference between the first score and the score as a second score corresponding to the second ratio; bringing the first ratio and the first score into an initial scoring card model to obtain a first equation, and bringing the second ratio and the second score into the initial scoring card model to obtain a second equation; the initial scoring card model includes a compensation parameter variable and a scale parameter variable; calculating an equation group consisting of the first equation and the second equation to obtain values of the compensation parameter variable and the scale parameter variable as the scoring card parameter group.
[0081] Optionally, probability of default: p;
[0082] Ratio (default probability / normal probability): odds=p / (1-p);
[0083] Scorecard score: expressed as a linear expression of the logarithm of the ratio: Score=AB*log(odds).
[0084] Among them, compensation A and scale B are constants, and the negative sign makes the lower the probability of default, the higher the score. Logistic regression model: Log(odds) =β +β1* x1 + ...+βp*xp.
[0085] Among them, the model parameters β (intercept), β1, ..., βp can be obtained by fitting the model with the modeling parameters.
[0086] Assume that a specific expected score is set at a specific ratio (the score of a specific point with a ratio of 8 is set to P), and a score (PDO) is specified for doubling the ratio (the score of a point with a ratio of 20 is set to P-PDO).
[0087] Substituting the formula Score = AB * log (odds) into the equation, we get the following equation:
[0088] P = AB * log (θ)
[0089] P-PDO=AB*log(20)
[0090] Solving the equation gives us the values of constants A and B:
[0091] B = PDO / log(2)
[0092] A=P+B*log(0)
[0093] Example: Assume that you want to set the scorecard scale to a ratio of (default to normal) with a score of 600 points, PDO = 20, and then calculate: B = 28.25A = 481.66.
[0094] The score can be calculated as: Score=481.89-28.85log(odds).
[0095] In this embodiment, the values of the compensation A and the scale B of the scorecard model can be calculated to ensure the score calculation accuracy of the scorecard model.
[0096] In one embodiment, a training method of a logistic regression model includes: obtaining multi-dimensional user information of a sample user, and determining a sample user type corresponding to the sample user; dividing the sample user type into abnormal users and normal users; performing at least one data analysis on the multi-dimensional user information according to multiple evaluation indicators to obtain multiple sample sub-data, and using the multiple sample sub-data as sample data; each sample sub-data corresponds to an evaluation indicator; adding a corresponding sample label to the sample data according to the sample user type corresponding to the sample user; using the sample data and the sample label as a training sample, and obtaining a training set according to multiple training samples; and using the training set to train the initial logistic regression model to obtain a trained logistic regression model.
[0097] Among them, obtaining multi-dimensional user information of sample users includes: selecting at least one evaluation dimension; the evaluation dimensions include personal basic information, personal credit record, contract performance history record, social credit information and personal transaction behavior; based on each selected evaluation dimension, obtaining the single-dimensional information of the target user under each evaluation dimension; performing data desensitization and missing value supplementation processing on the single-dimensional information under each evaluation dimension to obtain multi-dimensional user information.
[0098] Optionally, a personal credit evaluation system is first established, and the personal credit evaluation dimensions include five evaluation dimensions: personal basic information, personal credit history, contract performance history record, social credit information and personal transaction behavior.
[0099] Among them, personal basic information comes from the basic information voluntarily filled in by customers when handling business, such as name, gender, occupation, marital status, etc., to ensure the authenticity of the information filled in when the credit subject registers.
[0100] Personal credit records reflect the customer's history of use of credit products and services, including the customer's historical repayment record, credit information and credit consumption.
[0101] The performance history refers to whether the customer has the ability to pay the credit services they enjoy on time, and examines whether the customer has a history of default. For example, Alipay Huabei data, JD Baitiao data, etc.
[0102] Personal transaction behavior reflects the stability of customers' online and offline consumption, payment and other behaviors.
[0103] Social credit information reflects the social credit of the client, either personally or corporately.
[0104] Then, data collection and processing are carried out based on the personal credit evaluation dimension. There are three main channels for collecting personal credit evaluation data: data provided by users themselves, transaction flows that can be checked by banks, and Internet data collected by bank platforms. After obtaining the data, it needs to be processed and sorted, desensitized, and missing values supplemented to prepare training data for the training of the logistic regression model.
[0105] In this embodiment, the problem of inaccurate credit scores caused by the single use of credit data and logistic regression models to output personal credit scores is compensated, and the user's credit evaluation can be quantified more objectively and accurately, solving the one-sidedness and subjectivity defects of traditional expert evaluation methods and improving the accuracy of credit evaluation.
[0106] In an exemplary embodiment, a method for obtaining a logistic regression model includes:
[0107] At least one evaluation dimension is selected; the evaluation dimensions include basic personal information, personal credit record, contract performance history record, social credit information and personal transaction behavior; based on each selected evaluation dimension, the single-dimensional information of the target user under each evaluation dimension is obtained respectively; the single-dimensional information under each evaluation dimension is desensitized and missing values are supplemented to obtain multi-dimensional user information.
[0108] Determine the sample user type corresponding to the sample user; divide the sample user type into abnormal users and normal users; perform at least one data analysis on the multi-dimensional user information according to multiple evaluation indicators to obtain multiple sample sub-data, and use the multiple sample sub-data as sample data; each sample sub-data corresponds to an evaluation indicator; add corresponding sample labels to the sample data according to the sample user type corresponding to the sample user; use the sample data and the sample label as a training sample, and obtain a training set according to the multiple training samples.
[0109] The training set is used to train the initial logistic regression model to obtain a trained logistic regression model.
[0110] In an exemplary embodiment, a method for obtaining a scorecard model includes:
[0111] determining a first score corresponding to the first ratio;
[0112] Double the first ratio to obtain a second ratio, and determine the score corresponding to the second ratio;
[0113] The difference between the first score and the score is taken as the second score corresponding to the second ratio;
[0114] Substituting the first ratio and the first score into the initial scoring card model to obtain a first equation, and substituting the second ratio and the second score into the initial scoring card model to obtain a second equation; the initial scoring card model includes a compensation parameter variable and a scale parameter variable;
[0115] Calculating the equation group consisting of the first equation and the second equation to obtain the values of the compensation parameter variable and the scale parameter variable as the scorecard parameter group;
[0116] The scorecard parameter group is brought into the initial scorecard model to obtain the scorecard model.
[0117] In an exemplary embodiment, a user credit scoring method includes:
[0118] Acquire multiple evaluation indicators; perform data analysis on target user information according to each evaluation indicator to obtain multiple evaluation data, and use the multiple evaluation data as input data; each evaluation data corresponds to an evaluation indicator.
[0119] The input data is fed into the trained logistic regression model to obtain the normal user probability and abnormal user probability of the target user.
[0120] Obtain the probability ratio between the probability of abnormal users and the probability of normal users; bring the scorecard parameter group and the probability ratio into the scorecard model to obtain the credit score of the target user; the scorecard parameter group includes a compensation parameter and a scale parameter.
[0121] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0122] Based on the same inventive concept, the embodiment of the present application also provides a user credit scoring device for implementing the user credit scoring method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more user credit scoring device embodiments provided below can refer to the limitations of the user credit scoring method above, and will not be repeated here.
[0123] In an exemplary embodiment, Figure 3 As shown, a user credit scoring device 300 is provided, comprising: an acquisition module 301, a processing module 302 and a scoring module 303, wherein:
[0124] The acquisition module 301 is used to acquire input data matching the evaluation index according to the target user information;
[0125] Processing module 302, used to input the input data into the trained logistic regression model to obtain the normal user probability and abnormal user probability of the target user;
[0126] The scoring module 303 is used to process the normal user probability and the abnormal user probability using a scoring card model to obtain the credit score of the target user.
[0127] In one embodiment, the acquisition module 301 is also used to acquire multiple evaluation indicators; according to each evaluation indicator, data analysis is performed on the target user information to obtain multiple evaluation data, and the multiple evaluation data are used as input data; each evaluation data corresponds to an evaluation indicator.
[0128] In one embodiment, the scoring module 303 is further used to obtain a probability ratio between the probability of an abnormal user and the probability of a normal user; the scoring card parameter group and the probability ratio are brought into the scoring card model to obtain the credit score of the target user; the scoring card parameter group includes a compensation parameter and a scale parameter.
[0129] In one embodiment, the scoring module 303 is also used to determine a first score corresponding to a first ratio; double the first ratio to obtain a second ratio, and determine the score corresponding to the second ratio; subtract the difference between the first score and the score as the second score corresponding to the second ratio; bring the first ratio and the first score into the initial scoring card model to obtain a first equation, and bring the second ratio and the second score into the initial scoring card model to obtain a second equation; the initial scoring card model includes compensation parameter variables and scale parameter variables; calculate the equation group consisting of the first equation and the second equation, and obtain the values of the compensation parameter variables and the scale parameter variables as the scoring card parameter group.
[0130] In one embodiment, the processing module 302 is used to obtain multi-dimensional user information of sample users and determine the sample user type corresponding to the sample users; the sample user types are divided into abnormal users and normal users; according to multiple evaluation indicators, at least one data analysis is performed on the multi-dimensional user information to obtain multiple sample sub-data, and the multiple sample sub-data are used as sample data; each sample sub-data corresponds to an evaluation indicator; according to the sample user type corresponding to the sample user, a corresponding sample label is added to the sample data; according to the sample data and the sample label, a training sample is used, and according to the multiple training samples, a training set is obtained; the training set is used to train the initial logistic regression model to obtain a trained logistic regression model.
[0131] In one embodiment, the processing module 302 is used to select at least one evaluation dimension; the evaluation dimensions include personal basic information, personal credit record, contract performance history record, social credit information and personal transaction behavior; based on each selected evaluation dimension, the single-dimensional information of the target user under each evaluation dimension is obtained respectively; the single-dimensional information under each evaluation dimension is desensitized and missing value supplemented to obtain multi-dimensional user information.
[0132] Each module in the above user credit scoring device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0133] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 4As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store user data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a user credit scoring method is implemented.
[0134] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0135] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining input data matching the evaluation index according to target user information; inputting the input data into a trained logistic regression model to obtain a normal user probability and an abnormal user probability of the target user; and using a scoring card model to process the normal user probability and the abnormal user probability to obtain a credit score of the target user.
[0136] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining multiple evaluation indicators; performing data analysis on the target user information according to each evaluation indicator to obtain multiple evaluation data, and using the multiple evaluation data as input data; each evaluation data corresponds to an evaluation indicator.
[0137] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining a probability ratio between the probability of an abnormal user and the probability of a normal user; bringing the scorecard parameter group and the probability ratio into the scorecard model to obtain the credit score of the target user; the scorecard parameter group includes a compensation parameter and a scale parameter.
[0138] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining a first score corresponding to the first ratio; doubling the first ratio to obtain a second ratio, and determining a score corresponding to the second ratio; subtracting the difference between the first score and the score as the second score corresponding to the second ratio; bringing the first ratio and the first score into the initial scoring card model to obtain a first equation, and bringing the second ratio and the second score into the initial scoring card model to obtain a second equation; the initial scoring card model includes compensation parameter variables and scale parameter variables; calculating the equation group consisting of the first equation and the second equation to obtain the values of the compensation parameter variables and the scale parameter variables as the scoring card parameter group.
[0139] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining multi-dimensional user information of the sample user, determining the sample user type corresponding to the sample user; dividing the sample user type into abnormal users and normal users; performing at least one data analysis on the multi-dimensional user information according to multiple evaluation indicators to obtain multiple sample sub-data, and using the multiple sample sub-data as sample data; each sample sub-data corresponds to an evaluation indicator; adding corresponding sample labels to the sample data according to the sample user type corresponding to the sample user; using the sample data and the sample label as a training sample, and obtaining a training set according to multiple training samples; and using the training set to train the initial logistic regression model to obtain a trained logistic regression model.
[0140] In one embodiment, when the processor executes the computer program, the following steps are also implemented: selecting at least one evaluation dimension; the evaluation dimensions include personal basic information, personal credit record, contract performance history record, social credit information and personal transaction behavior; based on each selected evaluation dimension, obtaining the single-dimensional information of the target user under each evaluation dimension respectively; performing data desensitization and missing value supplementation processing on the single-dimensional information under each evaluation dimension to obtain multi-dimensional user information.
[0141] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: according to the target user information, input data matching the evaluation index is obtained; the input data is input into a trained logistic regression model to obtain the normal user probability and abnormal user probability of the target user; and the normal user probability and abnormal user probability are processed using a scoring card model to obtain the credit score of the target user.
[0142] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining multiple evaluation indicators; performing data analysis on the target user information according to each evaluation indicator to obtain multiple evaluation data, and using the multiple evaluation data as input data; each evaluation data corresponds to an evaluation indicator.
[0143] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a probability ratio between the probability of abnormal users and the probability of normal users; bringing the scorecard parameter group and the probability ratio into the scorecard model to obtain the credit score of the target user; the scorecard parameter group includes a compensation parameter and a scale parameter.
[0144] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining a first score corresponding to a first ratio; doubling the first ratio to obtain a second ratio, and determining a score corresponding to the second ratio; subtracting the difference between the first score and the score as a second score corresponding to the second ratio; bringing the first ratio and the first score into an initial scoring card model to obtain a first equation, and bringing the second ratio and the second score into the initial scoring card model to obtain a second equation; the initial scoring card model includes compensation parameter variables and scale parameter variables; calculating the equation group consisting of the first equation and the second equation to obtain the values of the compensation parameter variables and the scale parameter variables as a scoring card parameter group.
[0145] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining multi-dimensional user information of the sample user, determining the sample user type corresponding to the sample user; dividing the sample user type into abnormal users and normal users; performing at least one data analysis on the multi-dimensional user information according to multiple evaluation indicators to obtain multiple sample sub-data, and using the multiple sample sub-data as sample data; each sample sub-data corresponds to an evaluation indicator; adding corresponding sample labels to the sample data according to the sample user type corresponding to the sample user; using the sample data and the sample label as a training sample, and obtaining a training set according to multiple training samples; and using the training set to train the initial logistic regression model to obtain a trained logistic regression model.
[0146] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: selecting at least one evaluation dimension; the evaluation dimensions include personal basic information, personal credit record, contract performance history record, social credit information and personal transaction behavior; based on each selected evaluation dimension, obtaining the single-dimensional information of the target user under each evaluation dimension respectively; performing data desensitization and missing value supplementation processing on the single-dimensional information under each evaluation dimension to obtain multi-dimensional user information.
[0147] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the following steps: obtaining input data matching the evaluation index based on target user information; inputting the input data into a trained logistic regression model to obtain a normal user probability and an abnormal user probability of the target user; and using a scoring card model to process the normal user probability and the abnormal user probability to obtain a credit score of the target user.
[0148] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining multiple evaluation indicators; performing data analysis on the target user information according to each evaluation indicator to obtain multiple evaluation data, and using the multiple evaluation data as input data; each evaluation data corresponds to an evaluation indicator.
[0149] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a probability ratio between the probability of abnormal users and the probability of normal users; bringing the scorecard parameter group and the probability ratio into the scorecard model to obtain the credit score of the target user; the scorecard parameter group includes a compensation parameter and a scale parameter.
[0150] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining a first score corresponding to a first ratio; doubling the first ratio to obtain a second ratio, and determining a score corresponding to the second ratio; subtracting the difference between the first score and the score as a second score corresponding to the second ratio; bringing the first ratio and the first score into an initial scoring card model to obtain a first equation, and bringing the second ratio and the second score into the initial scoring card model to obtain a second equation; the initial scoring card model includes compensation parameter variables and scale parameter variables; calculating the equation group consisting of the first equation and the second equation to obtain the values of the compensation parameter variables and the scale parameter variables as a scoring card parameter group.
[0151] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining multi-dimensional user information of the sample user, determining the sample user type corresponding to the sample user; dividing the sample user type into abnormal users and normal users; performing at least one data analysis on the multi-dimensional user information according to multiple evaluation indicators to obtain multiple sample sub-data, and using the multiple sample sub-data as sample data; each sample sub-data corresponds to an evaluation indicator; adding corresponding sample labels to the sample data according to the sample user type corresponding to the sample user; using the sample data and the sample label as a training sample, and obtaining a training set according to multiple training samples; and using the training set to train the initial logistic regression model to obtain a trained logistic regression model.
[0152] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: selecting at least one evaluation dimension; the evaluation dimensions include personal basic information, personal credit record, contract performance history record, social credit information and personal transaction behavior; based on each selected evaluation dimension, obtaining the single-dimensional information of the target user under each evaluation dimension respectively; performing data desensitization and missing value supplementation processing on the single-dimensional information under each evaluation dimension to obtain multi-dimensional user information.
[0153] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0154] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0155] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0156] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A user credit scoring method, characterized in that: The method comprises: According to the target user information, obtain input data that matches the evaluation indicators; Inputting the input data into a trained logistic regression model to obtain a normal user probability and an abnormal user probability of the target user; The normal user probability and the abnormal user probability are processed using a scoring card model to obtain a credit score of the target user.
2. The method according to claim 1, characterized in that The step of obtaining input data matching the preset indicator according to the target user information includes: Obtain multiple evaluation indicators; According to each evaluation index, data analysis is performed on the target user information to obtain multiple evaluation data, which are used as the input data; each evaluation data corresponds to an evaluation index.
3. The method according to claim 1, characterized in that The adopting the scoring card model to process the normal user probability and the abnormal user probability to obtain the credit score of the target user includes: Obtaining a probability ratio between the abnormal user probability and the normal user probability; The scoring card parameter group and the probability ratio are introduced into the scoring card model to obtain the credit score of the target user; the scoring card parameter group includes a compensation parameter and a scale parameter.
4. The method according to claim 3, characterized in that The calculation method of the scorecard parameter group includes: determining a first score corresponding to the first ratio; doubling the first ratio to obtain a second ratio, and determining a score corresponding to the second ratio; subtracting the score from the first score to obtain a second score corresponding to the second ratio; Substituting the first ratio and the first score into an initial scoring card model to obtain a first equation, and substituting the second ratio and the second score into the initial scoring card model to obtain a second equation; the initial scoring card model includes a compensation parameter variable and a scale parameter variable; The equation group consisting of the first equation and the second equation is calculated to obtain the values of the compensation parameter variable and the scale parameter variable as the scorecard parameter group.
5. The method according to claim 1, characterized in that The training method of the logistic regression model includes: Acquire multi-dimensional user information of sample users, and determine sample user types corresponding to the sample users; the sample user types are divided into abnormal users and normal users; According to the multiple evaluation indicators, at least one data analysis is performed on the multi-dimensional user information to obtain multiple sample sub-data, and the multiple sample sub-data are used as sample data; each sample sub-data corresponds to an evaluation indicator; According to the sample user type corresponding to the sample user, adding a corresponding sample label to the sample data; According to the sample data and the sample label, a training sample is used, and a training set is obtained according to multiple training samples; The training set is used to train the initial logistic regression model to obtain a trained logistic regression model.
6. The method according to claim 5, characterized in that The obtaining of multi-dimensional user information of sample users includes: Select at least one evaluation dimension; the evaluation dimension includes basic personal information, personal credit record, contract performance history, social credit information and personal transaction behavior; Based on each selected evaluation dimension, obtaining the single-dimensional information of the target user under each evaluation dimension respectively; The single-dimensional information under each evaluation dimension is subjected to data desensitization and missing value supplementation processing to obtain the multi-dimensional user information.
7. A user credit scoring device, characterized in that: The device comprises: An acquisition module is used to acquire input data matching the evaluation index according to target user information; A processing module, used for inputting the input data into a trained logistic regression model to obtain a normal user probability and an abnormal user probability of the target user; The scoring module is used to process the normal user probability and the abnormal user probability using a scoring card model to obtain the credit score of the target user.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
User credit score obtaining method and device, server and storage medium
CN110544155A
Credit evaluation model acquisition method, user credit evaluation method and device
CN116308715A
Cited By
Power battery asset management platform and method, medium, program product and terminal
CN120013678A
