Broadband lost user determination method, device, electronic device and storage medium
By using an early warning model based on positive samples and negative samples to predict churn probability in broadband user churn early warning, the problem of low prediction efficiency in the existing technology is solved, and faster and more effective user churn prediction and recovery are achieved.
Patent Information
- Application Number
- CN202111613823.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-12-27
AI Technical Summary
The data statistical analysis and calculation speed of the broadband user loss early warning method in the existing technology is slow, resulting in low prediction efficiency and the inability to recover lost users in a timely manner.
By extracting multiple indicators of broadband users from the database and inputting them into an early warning model based on positive and negative sample training, the churn probability is predicted. If the churn probability is greater than the preset value, it is determined to be a lost user, and recovery measures are taken. .
It improves the efficiency and timeliness of broadband user prediction, shortens the prediction time, and enhances the recovery effect of lost users.
Smart Images

Figure CN114389962B
Abstract
Description
Background Art
[0002] In response to the problem of broadband user churn, relevant technologies usually provide early warnings. The technical means usually used for early warnings is data statistical analysis technology, namely: collecting indicators such as user consumption, number of broadband user logins, Internet access time, traffic usage, etc., and statistically analyzing and monitoring the indicators to predict whether users have a tendency to churn, so as to determine whether relevant measures need to be taken to retain customers.
[0003] However, the churn warning method used in the relevant technology has the following problems: the data statistical analysis method requires statistics and then analysis of the user's indicators. The two calculation steps reduce the calculation speed, which in turn makes the prediction time for broadband users longer, resulting in low prediction efficiency. Summary of the invention
[0004] The purpose of this application is to provide a method, device, electronic device and storage medium for determining broadband churn users, which predicts churn users through an early warning model, improves the prediction efficiency and shortens the time for predicting broadband users.
[0005] In a first aspect, an embodiment of the present application provides a method for determining broadband lost users, the method comprising:
[0006] Extracting multiple indicators associated with broadband users from a database; wherein the multiple indicators represent the activity level of the broadband users in the network;
[0007] Inputting the multiple indicators into an early warning model to predict the probability of churn of the broadband user according to the weight corresponding to each indicator; wherein the early warning model is obtained based on positive samples and negative samples, the positive samples include multiple indicators associated with active users, and the negative samples include multiple indicators associated with inactive users;
[0008] If the churn probability of the broadband user is greater than a preset value, the broadband user is determined to be a broadband churn user, wherein the broadband churn user is a broadband user who leaves the network within a preset time.
[0009] In an embodiment of the present application, indicators associated with broadband users are input into an early warning model to achieve prediction of users, improve prediction efficiency, shorten the duration of broadband user prediction, and thereby improve the timeliness of recovering lost broadband users, thereby achieving improved recovery effects for lost broadband users.
[0010] In some possible embodiments, the early warning model is obtained according to the following method:
[0011] Based on the positive samples and the negative samples, the early warning model is trained for multiple rounds until the error between the churn probability of broadband users output by the early warning model and the churn probability of broadband users in the positive samples and the negative samples is within a preset error range;
[0012] Each round of training process includes the following steps:
[0013] Inputting the first sample into the early warning model, training the early warning model with the churn probability value of the broadband users in the first sample as the expected output, and obtaining the churn probability of the broadband users in the first sample output by the early warning model;
[0014] Determine a first loss value according to the churn probability of broadband users in the first sample output by the early warning model and the churn probability value of broadband users in the first sample;
[0015] Inputting the second sample into the early warning model, training the early warning model with the churn probability value of the broadband users in the second sample as the expected output, and obtaining the churn probability of the broadband users in the second sample output by the early warning model;
[0016] Determine a second loss value according to the churn probability of broadband users in the second sample output by the early warning model and the churn probability value of broadband users in the second sample;
[0017] Adjusting parameters of the early warning model based on the first loss value and the second loss value;
[0018] If the first sample is a positive sample, the second sample is a negative sample; if the second sample is a positive sample, the first sample is a negative sample.
[0019] In this application, the early warning model is trained based on positive samples and negative samples to make the early warning model more accurate.
[0020] In some possible embodiments, before performing multiple rounds of training on the early warning model based on the positive samples and the negative samples, the method further includes:
[0021] Constructing a first indicator set and a second indicator set; wherein the first indicator set is composed of specified indicators among multiple indicators associated with active users and quantified values of the specified indicators, and the second indicator set is composed of specified indicators among multiple indicators associated with inactive users and quantified values of the specified indicators;
[0022] Correction processing is performed on a first abnormal value in the quantization values in the first indicator set and a second abnormal value in the quantization values in the second indicator set; wherein the first abnormal value is a quantization value in the first indicator set that is greater than a first upper limit value or less than a first lower limit value; and the second abnormal value is a quantization value in the second indicator set that is greater than a second upper limit value or less than a second lower limit value.
[0023] In an embodiment of the present application, before training the early warning model, the abnormal values in the indicators are corrected to further ensure the purity of the modeling data.
[0024] In some possible embodiments, after constructing the first indicator set and the second indicator set, the method further includes:
[0025] If it is determined that there is an indicator without a corresponding quantized value in the first indicator set, filling the first preset value as the quantized value corresponding to the indicator without a quantized value;
[0026] If it is determined that there is an indicator without a corresponding quantized value in the second indicator set, the second preset value is used as the quantized value corresponding to the indicator without a quantized value.
[0027] In this application, in order to further improve the purity of positive samples and negative samples, preset values are used to fill the indicators of missing quantization values in the samples.
[0028] In some possible embodiments, the first abnormal value is determined according to the following method:
[0029] Sort the indicators in the first indicator set according to the size of the corresponding quantization values to obtain a first quantization value sequence, and determine a first upper limit value and a first lower limit value of the first quantization value sequence; and take a quantization value greater than the first upper limit value or a quantization value less than the first lower limit value as a first abnormal value;
[0030] The second outlier is determined according to the following method:
[0031] Sort the indicators in the second indicator set according to the size of the corresponding quantization values to obtain a second quantization value sequence; and determine the second upper limit value and the second lower limit value of the second quantization value sequence; and take the quantization value greater than the second upper limit value or the quantization value less than the second lower limit value as the second abnormal value.
[0032] In this application, outliers are determined based on upper and lower limits, thereby avoiding the impact of extreme samples on model training.
[0033] In some possible embodiments, determining a first upper limit value and a first lower limit value of the first quantization value sequence includes:
[0034] Selecting a quantization value at a first specified position and a quantization value at a second specified position in the first quantization value sequence;
[0035] Determine a first upper limit value and a first lower limit value of the first quantization value sequence according to the quantization value of the first specified position and the quantization value of the second specified position;
[0036] The determining of a second upper limit value and a second lower limit value of the second quantized value sequence comprises:
[0037] Selecting the quantization value at the third specified position and the quantization value at the fourth specified position in the second quantization value sequence;
[0038] A second upper limit value and a second lower limit value of the second quantized value sequence are determined according to the quantized value of the third designated position and the quantized value of the fourth designated position.
[0039] In some possible embodiments, selecting the quantization value at the first specified position and the quantization value at the second specified position in the first quantization value sequence includes:
[0040] Determine an upper quartile and a lower quartile of the first quantized value sequence; wherein the upper quartile is a quantized value at one quarter of the first quantized value sequence, and the lower quartile is a quantized value at three quarters of the first quantized value sequence;
[0041] The upper quartile is used as the first designated position, and the lower quartile is used as the second designated position;
[0042] The selecting the quantization value at the third specified position and the quantization value at the fourth specified position in the second quantization value sequence includes:
[0043] Determine an upper quartile and a lower quartile of the second quantized value sequence; wherein the upper quartile is a quantized value at one quarter of the second quantized value sequence, and the lower quartile is a quantized value at three quarters of the second quantized value sequence;
[0044] The upper quartile is used as the third designated position, and the lower quartile is used as the fourth designated position.
[0045] In the present application, the upper limit value is determined according to the upper quartile and the lower limit value is determined according to the lower quartile, so that the determination of the upper limit value and the lower limit value is more accurate.
[0046] In some possible embodiments, the correcting process of the first abnormal value in the quantized value in the first indicator set and the second abnormal value in the quantized value in the second indicator set includes:
[0047] Using the first upper limit value to replace abnormal values greater than the first upper limit value of the first indicator set;
[0048] Using the first lower limit value to replace abnormal values that are less than the first lower limit value of the first indicator set;
[0049] Using the second upper limit value to replace abnormal values greater than the second upper limit value of the second indicator set;
[0050] The second lower limit value is used to replace abnormal values that are less than the second lower limit value of the second indicator set.
[0051] In the embodiment of the present application, the upper limit value and the lower limit value are used to replace the abnormal value in the sample, so as to further improve the purity of the sample and make the training of the early warning model more accurate.
[0052] In a second aspect, the present application further provides a broadband lost user determination device, the device comprising:
[0053] An extraction module, used to extract multiple indicators associated with broadband users from a database; wherein the multiple indicators represent the activity level of the broadband users in the network;
[0054] A prediction module, used for inputting the multiple indicators into an early warning model to predict the probability of churn of the broadband user according to the weight corresponding to each indicator; wherein the early warning model is obtained based on positive samples and negative samples, the positive samples include multiple indicators associated with active users, and the negative samples include multiple indicators associated with inactive users;
[0055] The determination module is used to determine that the broadband user is a broadband churned user if the churn probability of the broadband user is greater than a preset value, wherein the broadband churned user is a broadband user who leaves the network within a preset time.
[0056] In some possible embodiments, the early warning model is obtained by the prediction module according to the following method:
[0057] Based on the positive samples and the negative samples, the early warning model is trained for multiple rounds until the error between the churn probability of broadband users output by the early warning model and the churn probability of broadband users in the positive samples and the negative samples is within a preset error range;
[0058] Each round of training process includes the following steps:
[0059] Inputting the first sample into the early warning model, training the early warning model with the churn probability value of the broadband users in the first sample as the expected output, and obtaining the churn probability of the broadband users in the first sample output by the early warning model;
[0060] Determine a first loss value according to the churn probability of broadband users in the first sample output by the early warning model and the churn probability value of broadband users in the first sample;
[0061] Inputting the second sample into the early warning model, training the early warning model with the churn probability value of the broadband users in the second sample as the expected output, and obtaining the churn probability of the broadband users in the second sample output by the early warning model;
[0062] Determine a second loss value according to the churn probability of broadband users in the second sample output by the early warning model and the churn probability value of broadband users in the second sample;
[0063] Adjusting parameters of the early warning model based on the first loss value and the second loss value;
[0064] If the first sample is a positive sample, the second sample is a negative sample; if the second sample is a positive sample, the first sample is a negative sample.
[0065] In some possible embodiments, before the prediction module performs multiple rounds of training on the early warning model based on the positive samples and the negative samples, the prediction module is further configured to:
[0066] Constructing a first indicator set and a second indicator set; wherein the first indicator set is composed of specified indicators among multiple indicators associated with active users and quantified values of the specified indicators, and the second indicator set is composed of specified indicators among multiple indicators associated with inactive users and quantified values of the specified indicators;
[0067] Correction processing is performed on a first abnormal value in the quantization values in the first indicator set and a second abnormal value in the quantization values in the second indicator set; wherein the first abnormal value is a quantization value in the first indicator set that is greater than a first upper limit value or less than a first lower limit value; and the second abnormal value is a quantization value in the second indicator set that is greater than a second upper limit value or less than a second lower limit value.
[0068] In some possible embodiments, after executing the construction of the first indicator set and the second indicator set, the prediction module is further configured to:
[0069] If it is determined that there is an indicator without a corresponding quantized value in the first indicator set, filling the first preset value as the quantized value corresponding to the indicator without a quantized value;
[0070] If it is determined that there is an indicator without a corresponding quantized value in the second indicator set, the second preset value is used as the quantized value corresponding to the indicator without a quantized value.
[0071] In some possible embodiments, the first abnormal value is determined according to the following method:
[0072] Sort the indicators in the first indicator set according to the size of the corresponding quantization values to obtain a first quantization value sequence, and determine a first upper limit value and a first lower limit value of the first quantization value sequence; and take a quantization value greater than the first upper limit value or a quantization value less than the first lower limit value as a first abnormal value;
[0073] The second outlier is determined according to the following method:
[0074] Sort the indicators in the second indicator set according to the size of the corresponding quantization values to obtain a second quantization value sequence; and determine the second upper limit value and the second lower limit value of the second quantization value sequence; and take the quantization value greater than the second upper limit value or the quantization value less than the second lower limit value as the second abnormal value.
[0075] In some possible embodiments, when the prediction module determines the first upper limit value and the first lower limit value of the first quantization value sequence, it is configured as follows:
[0076] Selecting a quantization value at a first specified position and a quantization value at a second specified position in the first quantization value sequence;
[0077] Determine a first upper limit value and a first lower limit value of the first quantization value sequence according to the quantization value of the first specified position and the quantization value of the second specified position;
[0078] The determining of a second upper limit value and a second lower limit value of the second quantized value sequence comprises:
[0079] Selecting the quantization value at the third specified position and the quantization value at the fourth specified position in the second quantization value sequence;
[0080] A second upper limit value and a second lower limit value of the second quantized value sequence are determined according to the quantized value of the third designated position and the quantized value of the fourth designated position.
[0081] In some possible embodiments, when the prediction module selects the quantization value at the first specified position and the quantization value at the second specified position in the first quantization value sequence, the prediction module is configured as follows:
[0082] Determine an upper quartile and a lower quartile of the first quantized value sequence; wherein the upper quartile is a quantized value at one quarter of the first quantized value sequence, and the lower quartile is a quantized value at three quarters of the first quantized value sequence;
[0083] The upper quartile is used as the first designated position, and the lower quartile is used as the second designated position;
[0084] The selecting the quantization value at the third specified position and the quantization value at the fourth specified position in the second quantization value sequence includes:
[0085] Determine an upper quartile and a lower quartile of the second quantized value sequence; wherein the upper quartile is a quantized value at one quarter of the second quantized value sequence, and the lower quartile is a quantized value at three quarters of the second quantized value sequence;
[0086] The upper quartile is used as the third designated position, and the lower quartile is used as the fourth designated position.
[0087] In some possible embodiments, when the prediction module performs correction processing on a first abnormal value in the quantized value in the first indicator set and a second abnormal value in the quantized value in the second indicator set, the prediction module is configured as follows:
[0088] Using the first upper limit value to replace abnormal values greater than the first upper limit value of the first indicator set;
[0089] Using the first lower limit value to replace abnormal values that are less than the first lower limit value of the first indicator set;
[0090] Using the second upper limit value to replace abnormal values greater than the second upper limit value of the second indicator set;
[0091] The second lower limit value is used to replace abnormal values that are less than the second lower limit value of the second indicator set.
[0092] In the third aspect, another embodiment of the present application also provides an electronic device, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any method provided in the embodiment of the first aspect of the present application.
[0093] In a fourth aspect, another embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable a computer to execute any method provided in the embodiment of the first aspect of the present application.
[0094] In the fifth aspect, another embodiment of the present application further provides a computer program product, including a computer program, wherein the computer program is executed by a processor to execute any method provided in the embodiment of the first aspect of the present application.
[0095] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0096] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings introduced below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0097] Figure 1 An application scenario diagram of a method for determining broadband lost users provided in an embodiment of the present application;
[0098] Figure 2 A schematic diagram of the overall process of a method for determining broadband lost users provided in an embodiment of the present application;
[0099] Figure 3 A flow chart of a training warning model for a method for determining broadband lost users provided in an embodiment of the present application;
[0100] Figure 4A A schematic diagram of a process for auditing data in a method for determining broadband lost users provided in an embodiment of the present application;
[0101] Figure 4B A schematic diagram of the correlation between quality difference and churn probability of a broadband churn user determination method provided in an embodiment of the present application;
[0102] Figure 4C A schematic diagram of the correlation between the number of logins and the probability of churn in a method for determining broadband churned users provided in an embodiment of the present application;
[0103] Figure 4D A schematic diagram of the correlation between the actual package ratio and the churn probability of a method for determining broadband churn users provided in an embodiment of the present application;
[0104] Figure 5 A schematic diagram of a process for determining a first abnormal value of a method for determining broadband lost users provided in an embodiment of the present application;
[0105] Figure 6 A schematic diagram of a flow chart of determining a second abnormal value of a method for determining broadband lost users provided in an embodiment of the present application;
[0106] Figure 7A schematic diagram of churn probability of a broadband churn user determination method provided in an embodiment of the present application;
[0107] Figure 8 A user classification visualization diagram of a method for determining broadband lost users provided in an embodiment of the present application;
[0108] Fig. 9 A schematic diagram of a device for determining a broadband lost user provided in an embodiment of the present application;
[0109] Fig.10 A schematic diagram of an electronic device for a method for determining broadband lost users provided in an embodiment of the present application. DETAILED DESCRIPTION
[0110] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0111] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0112] The inventors have found that in the related art, early warning is usually carried out to address the problem of broadband user churn. The technical means usually used for early warning is data statistical analysis technology, that is, collecting indicators such as user consumption, number of broadband user logins, Internet access time, and traffic usage, and statistically analyzing and monitoring the indicators to predict whether users have a tendency to churn, so as to determine whether relevant measures need to be taken to retain customers. However, the churn warning method used in the related art has the following problems: the data statistical analysis method takes a long time to predict broadband users, which leads to low prediction efficiency.
[0113] In view of this, the present application proposes a method, device, electronic device and storage medium for determining broadband lost users, which are used to solve the above problems. The inventive concept of the present application can be summarized as follows: extracting multiple indicators associated with broadband users from a database; inputting multiple indicators into an early warning model to predict the probability of loss of broadband users according to the weight corresponding to each indicator; and then determining broadband lost users.
[0114] For ease of understanding, a method for determining broadband lost users provided in an embodiment of the present application is described in detail below with reference to the accompanying drawings:
[0115] like Figure 1 As shown, it is an application scenario diagram of the broadband lost user determination method in the embodiment of the present application. The diagram includes: a server 10, a database 20, and a terminal device 30; wherein:
[0116] In response to the prediction instruction triggered by the technician on the terminal device 30, the server 10 extracts multiple indicators associated with broadband users from the database 20; wherein the multiple indicators characterize the activity level of the broadband users in the network; then the multiple indicators are input into the early warning model to predict the churn probability of broadband users according to the weight corresponding to each indicator; wherein the early warning model is obtained based on positive samples and negative samples, the positive samples include multiple indicators associated with active users, and the negative samples include multiple indicators associated with inactive users; if the churn probability of the broadband user is greater than a preset value, the broadband user is determined to be a broadband churn user, wherein the broadband churn user is a broadband user who leaves the network within a preset time.
[0117] The description in this application only details a single server or terminal device, but those skilled in the art should understand that the terminal device 30, server 10 and database 20 shown are intended to represent the operations of the terminal device, server and database involved in the technical solution of this application. The description of a single server and database is at least for the convenience of explanation, and does not imply any restrictions on the number, type or location of terminal devices and servers. It should be noted that if Figure 1 The addition of additional modules or removal of individual modules from the depicted environment does not change the underlying concepts of the example embodiments of the present application.
[0118] It should be noted that the database in the embodiment of the present application may be, for example, a cache system, a hard disk storage, a memory storage, etc. In addition, the broadband lost user determination method proposed in the present application is not only applicable to Figure 1 The application scenario shown is also applicable to any device that has a requirement to determine the broadband churn users.
[0119] like Figure 2 FIG. 1 is a flow chart of a method for determining broadband lost users provided in an embodiment of the present application, wherein:
[0120] In step 201: extracting multiple indicators associated with broadband users from a database; wherein the multiple indicators represent the activity level of the broadband users in the network;
[0121] In step 202: multiple indicators are input into the early warning model to predict the probability of broadband user churn according to the weight corresponding to each indicator; wherein the early warning model is obtained based on positive samples and negative samples, the positive samples include multiple indicators associated with active users, and the negative samples include multiple indicators associated with inactive users;
[0122] In step 203: if the churn probability of the broadband user is greater than a preset value, the broadband user is determined to be a broadband churned user, wherein the broadband churned user is a broadband user who leaves the network within a preset time.
[0123] For ease of understanding, the following first describes in detail the process of training the early warning model:
[0124] In the embodiment of the present application, in order to improve the accuracy of the early warning model in predicting broadband users, positive samples and negative samples are constructed. Based on the positive samples and negative samples, the early warning model is trained for multiple rounds until the error between the probability of broadband users lost output by the early warning model and the probability of broadband users lost in the positive samples and negative samples is within a preset error range. The training process of each round can be implemented as follows: Figure 3 Steps shown:
[0125] In step 301: input the first sample into the early warning model, use the churn probability value of the broadband users in the first sample as the expected output to train the early warning model, and obtain the churn probability of the broadband users in the first sample output by the early warning model;
[0126] In step 302: determining a first loss value according to the churn probability of broadband users in the first sample output by the early warning model and the churn probability value of broadband users in the first sample;
[0127] In step 303: the second sample is input into the early warning model, and the early warning model is trained with the churn probability value of the broadband users in the second sample as the expected output, and the churn probability of the broadband users in the second sample output by the early warning model is obtained;
[0128] In step 304: determining a second loss value according to the churn probability of broadband users in the second sample output by the early warning model and the churn probability value of broadband users in the second sample;
[0129] In step 305: adjusting the parameters of the early warning model based on the first loss value and the second loss value; wherein, if the first sample is a positive sample, the second sample is a negative sample; if the second sample is a positive sample, the first sample is a negative sample.
[0130] For example: in the first round of training, the positive sample is first input into the early warning model as the first sample to obtain the churn probability of broadband users in the positive sample output by the early warning model, and the first loss value is obtained; then the negative sample is input into the early warning model as the second sample to obtain the churn probability of broadband users in the negative sample output by the early warning model, and the second loss value is obtained; the parameters of the early warning model are adjusted based on the first loss value and the second loss value.
[0131] In summary, after multiple rounds of training, the error between the churn probability of broadband users output by the early warning model and the churn probability of broadband users in positive and negative samples is within the preset error range; in specific implementation, only the indicators associated with the user need to be input into the early warning model to obtain the churn probability of the user, thereby improving the efficiency of prediction and shortening the time for broadband user prediction. The broadband churn users are identified before the users have a tendency to churn, thereby improving the timeliness of recovering the broadband churn users, thus achieving the effect of improving the recovery of broadband churn users.
[0132] It should be noted that the present application does not limit the order of using positive sample training warning model and using negative sample training warning model, that is, the positive sample training warning model can be used first and then the negative sample training warning model, or the negative sample training warning model can be used first and then the positive sample training warning model.
[0133] In the embodiment of the present application, in order to ensure the purity of the data in the positive samples and the negative samples, and to make the early warning model obtained by training more accurate, therefore, in the present application, before training the early warning model, the following method can be used: Figure 4A The steps shown are to audit the data:
[0134] In step 401: construct a first indicator set and a second indicator set; wherein the first indicator set is composed of specified indicators and quantified values of the specified indicators among multiple indicators associated with active users, and the second indicator set is composed of specified indicators and quantified values of the specified indicators among multiple indicators associated with inactive users;
[0135] In step 402: a correction process is performed on a first abnormal value among the quantized values in the first indicator set and a second abnormal value among the quantized values in the second indicator set; wherein the first abnormal value is a quantized value in the first indicator set that is greater than a first upper limit value or less than a first lower limit value; and the second abnormal value is a quantized value in the second indicator set that is greater than a second upper limit value or less than a second lower limit value.
[0136] In the related art, indicators such as user consumption and user active communication behavior are usually used to count, analyze and monitor the indicators to predict whether users have a tendency to churn. However, this method has certain limitations in the selection of indicators. Therefore, in the embodiment of the present application, in order to ensure the universality of the modeling, more indicators are selected. For ease of understanding, the representative parts of the indicators are described below, as shown in Table 1:
[0137]
[0138] Table 1
[0139] The following uses the number of poor broadband quality in the past year as an example to explain the reasons for selecting the indicators shown in Table 1 in this application. Figure 4B As shown in Figure 4B, the correlation between the number of poor broadband quality and the probability of churn in the past year is shown in Figure 4B. Among them, the probability of churn for customers with more than 5 poor broadband quality times is significantly higher than the probability of churn for customers with less than 5 poor broadband quality times. Figure 4C As shown in Figure 1, the correlation between the number of broadband logins and the probability of churn is that the probability of churn for customers with less than 50 logins is significantly higher than that for customers with more than 50 logins. Figure 4D As shown in the figure, there is a correlation between the user's actual paid package ratio and the churn probability, among which the churn probability of users with an actual paid package ratio less than 0.5 is significantly higher than the churn probability of users with an actual paid package ratio greater than 0.5.
[0140] For ease of understanding, firstly, an example is given to illustrate the construction of the first indicator set and the second indicator set. For example, assuming that the selected indicators are: the actual income of the customer for the month, whether there is contact with customers from other networks in the past month, the average broadband Internet access time, and the total number of broadbands used by customers; then the first indicator set includes: indicators associated with active users, and the quantitative values corresponding to the indicators; that is, the actual income of the customer for the month is 5000, 4500, 6800, 4300; whether there is contact with customers from other networks in the past month is 0, 0, 1, 0; the average broadband Internet access time is 7.5, 4.3, 4.2, 6.7; the total number of broadbands used by customers is 1, 1, 2, 1. The second indicator set includes: indicators associated with inactive users, and the quantitative values corresponding to the indicators, that is, the actual income of the customer for the month is 6000, 3000, 4500, 4300; whether there is contact with customers from other networks in the past month is 1, 1, 1, 0; the average broadband Internet access time is 1, 0.3, 2, 0; the total number of broadbands used by customers is 2, 2, 2, 1.
[0141] After constructing the first indicator set and the second indicator set, it is necessary to correct the outliers in the first indicator set and the second indicator set, which is explained in three parts below:
[0142] 1. Determine the first outlier
[0143] In the embodiment of the present application, the method for determining the first outlier in the first indicator set can be implemented as follows: Figure 5 The steps shown, where:
[0144] In step 501: the indicators in the first indicator set are sorted according to the corresponding quantization values to obtain a first quantization value sequence;
[0145] For example: for the quantitative values 3200, 4500, 19600, 5600, 6400, 5200, 3300, 4600, 5300, 5600 corresponding to the actual income of the customer in the first indicator set, they are sorted according to size to obtain the first quantitative value sequence: 3200, 3300, 4500, 4600, 5200, 5300, 5600, 5600, 6400, 19600.
[0146] In step 502: determining a first upper limit value and a first lower limit value of a first quantized value sequence;
[0147] In the present application, the method for determining the first upper limit value and the first lower limit value may be implemented as the following method:
[0148] First, the quantization value of the first specified position and the quantization value of the second specified position in the first quantization value sequence are selected; then the first upper limit value and the first lower limit value of the first quantization value sequence are determined according to the quantization value of the first specified position and the quantization value of the second specified position.
[0149] In some possible embodiments, for the convenience of calculation and easy implementation, the upper quartile of the first quantization value sequence can be used as the first designated position, and the lower quartile of the first quantization value sequence can be used as the second designated position. The upper quartile is the quantization value at one quarter of the first quantization value sequence, and the lower quartile is the quantization value at three quarters of the first quantization value sequence. For example: the first quantization value sequence is: 3200, 3300, 4500, 4600, 5200, 5300, 5600, 5600, 6400, 19600; then the upper quartile is 3900, and the lower quartile is: 6000.
[0150] In step 503: a quantized value greater than the first upper limit value or a quantized value less than the first lower limit value is taken as a first abnormal value.
[0151] For example: the first quantized value sequence is: 3200, 3300, 4500, 4600, 5200, 5300, 5600, 5600, 6400, 19600; the upper quartile is 3900, the lower quartile is: 6000, and the first outlier is: 3200, 3300, 6400, 19600.
[0152] 2. Determine the second outlier
[0153] In the embodiment of the present application, the method for determining the second outlier in the second indicator set can be implemented as follows: Figure 6 The steps shown, where:
[0154] In step 601: sorting the indicators in the second indicator set according to the size of the corresponding quantized values to obtain a second quantized value sequence;
[0155] For example, the quantized values 1.2, 2.5, 1.1, 1.1, 1.8, 4.6, 1.2, 1.3, 1.7, 2.2 corresponding to the average broadband Internet access time in the second indicator set are sorted according to size to obtain the second quantized value sequence: 1.1, 1.1, 1.2, 1.2, 1.3, 1.7, 1.8, 2.2, 2.5, 4.6.
[0156] In step 602: determining a second upper limit value and a second lower limit value of the second quantized value sequence;
[0157] In the present application, the method for determining the second upper limit value and the second lower limit value may be implemented as the following method:
[0158] First, the quantization value of the third specified position and the quantization value of the fourth specified position in the second quantization value sequence are selected; then the second upper limit value and the second lower limit value of the second quantization value sequence are determined according to the quantization value of the third specified position and the quantization value of the fourth specified position.
[0159] In some possible embodiments, for the convenience of calculation and easy implementation, the upper quartile of the second quantized value sequence can be used as the third designated position, and the lower quartile of the second quantized value sequence can be used as the fourth designated position. The upper quartile is the quantized value at one quarter of the second quantized value sequence, and the lower quartile is the quantized value at three quarters of the second quantized value sequence. For example: the second quantized value sequence is: 1.1, 1.1, 1.2, 1.2, 1.3, 1.7, 1.8, 2.2, 2.5, 4.6; then the upper quartile is 1.15, and the lower quartile is: 2.35.
[0160] In step 603: a quantized value greater than the second upper limit value or a quantized value less than the second lower limit value is taken as a second abnormal value.
[0161] For example: the second quantized value sequence is 1.1, 1.1, 1.2, 1.2, 1.3, 1.7, 1.8, 2.2, 2.5, 4.6; the upper quartile is 1.15, the lower quartile is 2.35, then the first outlier is 1.1, 1.1, 2.5, 4.6.
[0162] 3. Correct outliers
[0163] In the present application, in order to further make the output results of the early warning model more accurate, therefore, in the present application, after determining the first outlier value and the second outlier value, it is necessary to correct the outlier value. In the present application, the cap method is used to correct the outlier value, that is: the first upper limit value is used to replace the outlier value greater than the first upper limit value of the first indicator set; the first lower limit value is used to replace the outlier value less than the first lower limit value of the first indicator set; the second upper limit value is used to replace the outlier value greater than the second upper limit value of the second indicator set; the second lower limit value is used to replace the outlier value less than the second lower limit value of the second indicator set.
[0164] For example: the first quantized value sequence is: 3200, 3300, 4500, 4600, 5200, 5300, 5600, 5600, 6400, 19600; the upper quartile is 3900, the lower quartile is: 6000, then the first outlier is: 3200, 3300, 6400, 19600; use 3900 to replace 3200, 3300, and use 6000 Replace 6400 and 19600; the second quantized value sequence is 1.1, 1.1, 1.2, 1.2, 1.3, 1.7, 1.8, 2.2, 2.5, 4.6; the upper quartile is 1.15, the lower quartile is 2.35, then the first outlier is 1.1, 1.1, 2.5, 4.6; use 1.15 to replace 1.1 and 1.1, and use 2.35 to replace 2.5 and 4.6.
[0165] Of course, other methods for correcting outliers are also applicable to the present application, for example, replacing outliers with the mode or average value. The present application does not limit this, and technicians in this field can determine the method for correcting outliers according to their own needs.
[0166] In the embodiment of the present application, in order to make the samples richer, there may be indicators whose corresponding quantitative values cannot be obtained. However, if the indicator participates in the training of the early warning model, it will inevitably affect the accuracy of the early warning model. Therefore, in order to further improve the accuracy of the early warning model in the present application, the following processing is performed on the first indicator set and the second indicator set respectively:
[0167] 1. For the first indicator set
[0168] If it is determined that there is an indicator without a corresponding quantized value in the first indicator set, the first preset value is filled as the quantized value corresponding to the indicator without a quantized value.
[0169] For example: the quantitative values corresponding to the actual monthly income of customers in the first indicator set are obtained as follows: 3200, vacancy 1, 19600, 5600, 6400, 5200, vacancy 2, 4600, 5300, 5600; then two vacancies need to be filled, and the first preset value can be used for filling. In some embodiments, the first preset value can be the mode or mean of the quantitative values corresponding to the indicator, or it can be a value specified by a technician. Assuming the value specified by the technician is 4500, 4500 is used to fill vacancy 1 and vacancy 2.
[0170] 2. For the second indicator set
[0171] If it is determined that there is an indicator without a corresponding quantized value in the second indicator set, the second preset value is used as the quantized value corresponding to the indicator without a quantized value.
[0172] The quantized values corresponding to the average broadband Internet access time in the second indicator set are obtained as follows: 1.2, 2.5, 1.1, 1.1, blank 1, 2.1, 1.2, blank 2, 1.7, 2.2; if two blanks need to be filled, the second preset value can be used to fill them. In some embodiments, the second preset value can be the mode or average of the quantized values corresponding to the indicator, or it can be a value specified by a technician. Assuming the value specified by the technician is 1.5, 1.5 is used to fill blank 1 and blank 2.
[0173] Of course, it should be noted that the first preset value and the second preset value may be the same or different, and this application does not limit this.
[0174] In an embodiment of the present application, after obtaining positive and negative samples, the lightGBM (Light Gradient Boosting Machine) algorithm is used to train the early warning model. The LightGBM algorithm uses a histogram-based algorithm, that is, it stores continuous eigenvalues in discrete intervals, thereby speeding up the training process. Continuous values are replaced with discrete intervals to reduce memory usage. It is more accurate than any other boosting algorithm. Compared with XGBoost, it has faster training efficiency, low memory usage, higher accuracy, and is nearly 10 times faster. The memory occupancy rate is about 1 / 6 of XGBoost, and the accuracy rate is also improved.
[0175] In this application, a variety of indicators are used when training the early warning model, as shown in Table 2, which is a schematic table of the importance ranking of indicators provided in an embodiment of this application:
[0176] Indicator name Indicator importance Broadband login times 8.38% Broadband usage time compared to the previous month 6.42% The last time the broadband was online 5.84% Customer actual receipt 5.26% Actual package ratio 4.95% Number of poor quality in the past year 4.86% Broadband usage rate change 4.41% Average monthly broadband usage time 4.01% Customer online time 3.70% Change rate of broadband login times 3.65% Broadband speed change rate 3.30% Average monthly broadband usage 3.21% Average number of broadband logins per month 3.07% Customer age 3.03% Whether it is local broadband + other network mobile 2.99% Have you contacted customer service from another network in the past month? 2.99% Deposit balance 2.85% Number of reported faults in the past year 2.63% Whether the active status has changed 2.63% Number of valid products 2.58% Is itv installed? 2.41% Effective bandwidth 2.41% Product reduction in the past three months 2.23% Median monthly actual income 2.23% Whether the actual revenue in the past three months has decreased 2.09% Amount of outstanding 2.01% Customer main package level 2.01% Total actual monthly income 1.96% Deposit balance 1.92%
[0177] Table 2
[0178] Of course, during specific implementation, technicians can set the importance of indicators according to their needs. Table 2 is only an example provided in this application.
[0179] For example: Figure 7 As shown, it is a schematic diagram of the user churn probability obtained after inputting the user indicators into the early warning model provided in the embodiment of the present application. If the preset value is 0.5, the churned users are: user A, user B, and user C.
[0180] In summary, the probability of broadband user churn can be determined based on the output results of the early warning model, and broadband churn users can be determined based on the probability of broadband user churn. In the embodiment of the present application, broadband churn users can be divided into the following four categories: high-consumption broadband customers, abnormally silent competition-inciting customers, customers with expired contracts, and customers reporting poor broadband quality. After obtaining the churn probability of each broadband user, the following can be generated based on the type of churned users: Figure 8 The visual table shown is used to facilitate technicians to carry out targeted recovery according to different categories of users.
[0181] Different recovery strategies can be adopted for different types of users. For example: priority recovery strategy for high-consumption broadband customers, caring return visit recovery strategy for abnormally silent competitive defection customers, renewal discount recovery strategy for customers with expired contracts, and recovery strategy combined with installation and maintenance engineer work order recovery strategy for customers with poor broadband quality. Of course, in the specific implementation, you can set the recovery strategy and classification standards for broadband lost users according to the needs of technical personnel.
[0182] like Fig. 9 As shown, based on the same inventive concept, a broadband lost user determination device 900 is proposed, the device comprising:
[0183] Extraction module 9001, used to extract multiple indicators associated with broadband users from the database; wherein the multiple indicators represent the activity level of the broadband users in the network;
[0184] Prediction module 9002, used for inputting the multiple indicators into the early warning model, so as to predict the churn probability of the broadband user according to the weight corresponding to each indicator; wherein the early warning model is obtained based on positive samples and negative samples, the positive samples include multiple indicators associated with active users, and the negative samples include multiple indicators associated with inactive users;
[0185] The determination module 9003 is used to determine that the broadband user is a broadband churned user if the churn probability of the broadband user is greater than a preset value, wherein the broadband churned user is a broadband user who leaves the network within a preset time.
[0186] In some possible embodiments, the early warning model is obtained by the prediction module 9002 according to the following method:
[0187] Based on the positive samples and the negative samples, the early warning model is trained for multiple rounds until the error between the churn probability of broadband users output by the early warning model and the churn probability of broadband users in the positive samples and the negative samples is within a preset error range;
[0188] Each round of training process includes the following steps:
[0189] Inputting the first sample into the early warning model, training the early warning model with the churn probability value of the broadband users in the first sample as the expected output, and obtaining the churn probability of the broadband users in the first sample output by the early warning model;
[0190] Determine a first loss value according to the churn probability of broadband users in the first sample output by the early warning model and the churn probability value of broadband users in the first sample;
[0191] Inputting the second sample into the early warning model, training the early warning model with the churn probability value of the broadband users in the second sample as the expected output, and obtaining the churn probability of the broadband users in the second sample output by the early warning model;
[0192] Determine a second loss value according to the churn probability of broadband users in the second sample output by the early warning model and the churn probability value of broadband users in the second sample;
[0193] Adjusting parameters of the early warning model based on the first loss value and the second loss value;
[0194] If the first sample is a positive sample, the second sample is a negative sample; if the second sample is a positive sample, the first sample is a negative sample.
[0195] In some possible embodiments, before the prediction module 9002 performs multiple rounds of training on the early warning model based on the positive samples and the negative samples, it is further configured to:
[0196] Constructing a first indicator set and a second indicator set; wherein the first indicator set is composed of specified indicators among multiple indicators associated with active users and quantified values of the specified indicators, and the second indicator set is composed of specified indicators among multiple indicators associated with inactive users and quantified values of the specified indicators;
[0197] Correction processing is performed on a first abnormal value in the quantization values in the first indicator set and a second abnormal value in the quantization values in the second indicator set; wherein the first abnormal value is a quantization value in the first indicator set that is greater than a first upper limit value or less than a first lower limit value; and the second abnormal value is a quantization value in the second indicator set that is greater than a second upper limit value or less than a second lower limit value.
[0198] In some possible embodiments, after executing the construction of the first indicator set and the second indicator set, the prediction module 9002 is further configured to:
[0199] If it is determined that there is an indicator without a corresponding quantized value in the first indicator set, filling the first preset value as the quantized value corresponding to the indicator without a quantized value;
[0200] If it is determined that there is an indicator without a corresponding quantized value in the second indicator set, the second preset value is used as the quantized value corresponding to the indicator without a quantized value.
[0201] In some possible embodiments, the first abnormal value is determined according to the following method:
[0202] Sort the indicators in the first indicator set according to the size of the corresponding quantization values to obtain a first quantization value sequence, and determine a first upper limit value and a first lower limit value of the first quantization value sequence; and take a quantization value greater than the first upper limit value or a quantization value less than the first lower limit value as a first abnormal value;
[0203] The second outlier is determined according to the following method:
[0204] Sort the indicators in the second indicator set according to the size of the corresponding quantization values to obtain a second quantization value sequence; and determine the second upper limit value and the second lower limit value of the second quantization value sequence; and take the quantization value greater than the second upper limit value or the quantization value less than the second lower limit value as the second abnormal value.
[0205] In some possible embodiments, when the prediction module 9002 determines the first upper limit value and the first lower limit value of the first quantization value sequence, it is configured as follows:
[0206] Selecting a quantization value at a first specified position and a quantization value at a second specified position in the first quantization value sequence;
[0207] Determine a first upper limit value and a first lower limit value of the first quantization value sequence according to the quantization value of the first specified position and the quantization value of the second specified position;
[0208] The determining of a second upper limit value and a second lower limit value of the second quantized value sequence comprises:
[0209] Selecting the quantization value at the third specified position and the quantization value at the fourth specified position in the second quantization value sequence;
[0210] A second upper limit value and a second lower limit value of the second quantized value sequence are determined according to the quantized value of the third designated position and the quantized value of the fourth designated position.
[0211] In some possible embodiments, when the prediction module 9002 performs the selection of the quantization value at the first specified position and the quantization value at the second specified position in the first quantization value sequence, it is configured as follows:
[0212] Determine an upper quartile and a lower quartile of the first quantized value sequence; wherein the upper quartile is a quantized value at one quarter of the first quantized value sequence, and the lower quartile is a quantized value at three quarters of the first quantized value sequence;
[0213] The upper quartile is used as the first designated position, and the lower quartile is used as the second designated position;
[0214] The selecting the quantization value at the third specified position and the quantization value at the fourth specified position in the second quantization value sequence includes:
[0215] Determine an upper quartile and a lower quartile of the second quantized value sequence; wherein the upper quartile is a quantized value at one quarter of the second quantized value sequence, and the lower quartile is a quantized value at three quarters of the second quantized value sequence;
[0216] The upper quartile is used as the third designated position, and the lower quartile is used as the fourth designated position.
[0217] In some possible embodiments, when the prediction module 9002 performs correction processing on a first abnormal value in the quantized value in the first indicator set and a second abnormal value in the quantized value in the second indicator set, the prediction module 9002 is configured as follows:
[0218] Using the first upper limit value to replace abnormal values greater than the first upper limit value of the first indicator set;
[0219] Using the first lower limit value to replace abnormal values that are less than the first lower limit value of the first indicator set;
[0220] Using the second upper limit value to replace abnormal values greater than the second upper limit value of the second indicator set;
[0221] The second lower limit value is used to replace abnormal values that are less than the second lower limit value of the second indicator set.
[0222] After introducing the broadband lost user determination method and device according to the exemplary embodiment of the present application, next, an electronic device according to another exemplary embodiment of the present application is introduced.
[0223] Those skilled in the art will appreciate that various aspects of the present application may be implemented as a system, method or program product. Therefore, various aspects of the present application may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to as "circuit", "module" or "system" herein.
[0224] In some possible implementations, the electronic device according to the present application may include at least one processor and at least one memory. The memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the broadband lost user determination method according to various exemplary implementations of the present application described above in this specification.
[0225] Refer to the following Fig.10 The electronic device 130 according to this embodiment of the present application is described. Fig.10 The electronic device 130 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0226] like Fig.10 As shown, the electronic device 130 is in the form of a general electronic device. The components of the electronic device 130 may include but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 connecting different system components (including the memory 132 and the processor 131).
[0227] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
[0228] The memory 132 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322 , and may further include a read-only memory (ROM) 1323 .
[0229] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0230] The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboards, pointing devices, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 130, and / or communicate with any device that enables the electronic device 130 to communicate with one or more other electronic devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 135. Furthermore, the electronic device 130 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 136. As shown, the network adapter 136 communicates with other modules for the electronic device 130 via a bus 133. It should be understood that although Fig.10 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0231] In some possible implementations, various aspects of a method for determining broadband churned users provided in the present application may also be implemented in the form of a program product, which includes program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of a method for determining broadband churned users according to various exemplary implementations of the present application described above in this specification.
[0232] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0233] The program product for determining broadband lost users of the embodiment of the present application can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on an electronic device. However, the program product of the present application is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, apparatus or device.
[0234] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein readable program code is carried. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium, which may transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0235] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0236] The program code for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also conventional procedural programming languages such as "C" language or similar programming languages. The program code can be executed entirely on the user electronic device, partially on the user device, as an independent software package, partially on the user electronic device and partially on the remote electronic device, or entirely on the remote electronic device or server. In the case of a remote electronic device, the remote electronic device can be connected to the user electronic device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external electronic device (for example, using an Internet service provider to connect through the Internet).
[0237] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.
[0238] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0239] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0240] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0241] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0242] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0243] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for determining broadband lost users, characterized in that: The method comprises: Extracting multiple indicators associated with broadband users from a database; wherein the multiple indicators represent the activity level of the broadband users in the network; The multiple indicators are input into the early warning model to predict the churn probability of the broadband user according to the weight corresponding to each indicator; wherein the early warning model is based on positive samples and negative samples, and the early warning model is trained for multiple rounds until the error between the churn probability of the broadband user output by the early warning model and the churn probability of the broadband users in the positive samples and the negative samples is within a preset error range, the positive sample includes multiple indicators associated with active users, and the negative sample includes multiple indicators associated with inactive users; each indicator includes a quantized value corresponding to the respective indicator; Each round of training process includes the following steps: Input a first sample into the early warning model, train the early warning model with the churn probability value of broadband users in the first sample as the expected output, and obtain the churn probability of broadband users in the first sample output by the early warning model; determine a first loss value according to the churn probability of broadband users in the first sample output by the early warning model and the churn probability value of broadband users in the first sample; input a second sample into the early warning model, train the early warning model with the churn probability value of broadband users in the second sample as the expected output, and obtain the churn probability of broadband users in the second sample output by the early warning model; determine a second loss value according to the churn probability of broadband users in the second sample output by the early warning model and the churn probability value of broadband users in the second sample; adjust parameters of the early warning model based on the first loss value and the second loss value; wherein, if the first sample is a positive sample, the second sample is a negative sample; if the second sample is a positive sample, the first sample is a negative sample; If the churn probability of the broadband user is greater than a preset value, the broadband user is determined to be a broadband churn user, wherein the broadband churn user is a broadband user who leaves the network within a preset time.
2. The method according to claim 1, characterized in that Before performing multiple rounds of training on the early warning model based on the positive samples and the negative samples, the method further includes: Constructing a first indicator set and a second indicator set; wherein the first indicator set is composed of specified indicators among multiple indicators associated with active users and quantified values of the specified indicators, and the second indicator set is composed of specified indicators among multiple indicators associated with inactive users and quantified values of the specified indicators; Correction processing is performed on a first abnormal value in the quantization values in the first indicator set and a second abnormal value in the quantization values in the second indicator set; wherein the first abnormal value is a quantization value in the first indicator set that is greater than a first upper limit value or less than a first lower limit value; and the second abnormal value is a quantization value in the second indicator set that is greater than a second upper limit value or less than a second lower limit value.
3. The method according to claim 2, characterized in that After constructing the first indicator set and the second indicator set, the method further includes: If it is determined that there is an indicator without a corresponding quantized value in the first indicator set, filling the first preset value as the quantized value corresponding to the indicator without a corresponding quantized value; If it is determined that there is an indicator without a corresponding quantized value in the second indicator set, the second preset value is used as the quantized value corresponding to the indicator without a corresponding quantized value.
4. The method according to claim 2, characterized in that: The first outlier is determined according to the following method: Sort the indicators in the first indicator set according to the size of the corresponding quantization values to obtain a first quantization value sequence, and determine a first upper limit value and a first lower limit value of the first quantization value sequence; and take a quantization value greater than the first upper limit value or a quantization value less than the first lower limit value as a first abnormal value; The second outlier is determined according to the following method: Sort the indicators in the second indicator set according to the size of the corresponding quantization values to obtain a second quantization value sequence; and determine the second upper limit value and the second lower limit value of the second quantization value sequence; and take the quantization value greater than the second upper limit value or the quantization value less than the second lower limit value as the second abnormal value.
5. The method according to claim 4, characterized in that The determining of a first upper limit value and a first lower limit value of the first quantization value sequence includes: Selecting a quantization value at a first specified position and a quantization value at a second specified position in the first quantization value sequence; Determine a first upper limit value and a first lower limit value of the first quantization value sequence according to the quantization value of the first specified position and the quantization value of the second specified position; The determining of a second upper limit value and a second lower limit value of the second quantized value sequence comprises: Selecting the quantization value at the third specified position and the quantization value at the fourth specified position in the second quantization value sequence; A second upper limit value and a second lower limit value of the second quantized value sequence are determined according to the quantized value of the third designated position and the quantized value of the fourth designated position.
6. The method according to claim 5, characterized in that The selecting the quantization value of the first specified position and the quantization value of the second specified position in the first quantization value sequence includes: Determine an upper quartile and a lower quartile of the first quantized value sequence; wherein the upper quartile is a quantized value at one quarter of the first quantized value sequence, and the lower quartile is a quantized value at three quarters of the first quantized value sequence; The upper quartile is used as the first designated position, and the lower quartile is used as the second designated position; The selecting the quantization value at the third specified position and the quantization value at the fourth specified position in the second quantization value sequence includes: Determine an upper quartile and a lower quartile of the second quantized value sequence; wherein the upper quartile is a quantized value at one quarter of the second quantized value sequence, and the lower quartile is a quantized value at three quarters of the second quantized value sequence; The upper quartile is used as the third designated position, and the lower quartile is used as the fourth designated position.
7. The method according to claim 2, characterized in that Correcting a first abnormal value in the quantized value in the first indicator set and a second abnormal value in the quantized value in the second indicator set includes: Using the first upper limit value to replace abnormal values greater than the first upper limit value of the first indicator set; Using the first lower limit value to replace abnormal values that are less than the first lower limit value of the first indicator set; Using the second upper limit value to replace abnormal values greater than the second upper limit value of the second indicator set; The second lower limit value is used to replace abnormal values that are less than the second lower limit value of the second indicator set.
8. A broadband lost user determination device, characterized in that: The device comprises: An extraction module, used to extract multiple indicators associated with broadband users from a database; wherein the multiple indicators represent the activity level of the broadband users in the network; A prediction module, used for inputting the multiple indicators into the early warning model to predict the churn probability of the broadband user according to the weight corresponding to each indicator; wherein the early warning model is based on positive samples and negative samples, and the early warning model is trained for multiple rounds until the error between the churn probability of the broadband user output by the early warning model and the churn probability of the broadband users in the positive samples and the negative samples is within a preset error range, the positive sample includes multiple indicators associated with active users, and the negative sample includes multiple indicators associated with inactive users; each indicator includes a quantized value corresponding to the respective indicator; Each round of training process includes the following steps: Input a first sample into the early warning model, train the early warning model with the churn probability value of broadband users in the first sample as the expected output, and obtain the churn probability of broadband users in the first sample output by the early warning model; determine a first loss value according to the churn probability of broadband users in the first sample output by the early warning model and the churn probability value of broadband users in the first sample; input a second sample into the early warning model, train the early warning model with the churn probability value of broadband users in the second sample as the expected output, and obtain the churn probability of broadband users in the second sample output by the early warning model; determine a second loss value according to the churn probability of broadband users in the second sample output by the early warning model and the churn probability value of broadband users in the second sample; adjust parameters of the early warning model based on the first loss value and the second loss value; wherein, if the first sample is a positive sample, the second sample is a negative sample; if the second sample is a positive sample, the first sample is a negative sample; The determination module is used to determine that the broadband user is a broadband churned user if the churn probability of the broadband user is greater than a preset value, wherein the broadband churned user is a broadband user who leaves the network within a preset time.
9. An electronic device, characterized in that: It comprises at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in any one of claims 1-7.
10. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and the computer program is used to enable a computer to execute the method according to any one of claims 1 to 7.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
