Data analysis method, device, equipment and medium based on AB test results
Through the data analysis method based on AB test results, the absolute difference of retention rate indicators is predicted and calculated, which solves the problem of effect measurement when application product function updates, realizes comprehensive and long-term effect evaluation of application products, and reduces data collection costs. .
Patent Information
- Application Number
- CN202110310301.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-23
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-03-23
AI Technical Summary
The existing technology cannot conduct a comprehensive effect evaluation when updating application product functions. It is one-sided and has limitations and cannot accurately measure the long-term impact of application products.
Using a data analysis method based on AB test results, by providing the test application and the current application to the experimental group and the control group respectively for AB testing in the first time period, predict and calculate the absolute difference in retention rate indicators to determine the difference in application functions effect.
It achieves comprehensive and long-term effect measurement of application products, avoids the collection of long-term data, saves data collection costs, and improves the reliability and comprehensive performance of effect measurement.
Smart Images

Figure CN112907128B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, specifically to the field of machine learning, and in particular to a data analysis method, device, equipment and medium based on AB test results. Background Art
[0002] With the rapid development of computer technology, application products need to be continuously updated with new functions after they are launched to meet people's increasingly diverse needs. Usually, when updating application functions, it is necessary to conduct an application product effect evaluation to analyze in advance the impact of the new application functions on the application product.
[0003] However, application products usually include multiple application functions. For comprehensive application products, changing a certain application function will increase or decrease the benefits of other application functions. In the prior art, the effect of application products is usually evaluated based on the modified application functions, but it is impossible to conduct a comprehensive effect evaluation of application products, which is one-sided and limited. Summary of the invention
[0004] The present disclosure provides a method, device, equipment and medium for data analysis based on AB test results.
[0005] According to one aspect of the present disclosure, a data analysis method based on AB test results is provided, comprising:
[0006] In a first time period, providing the test application and the current application to the experimental group and the control group respectively for AB testing, wherein the test application and the current application have at least one different application function;
[0007] According to the retention rates of the experimental group and the control group in the first time period, the retention rate index values of the experimental group and the control group in the second time period are predicted, and the first time period is smaller than the second time period;
[0008] According to the retention rate index values of the experimental group and the control group in the second time period, the absolute difference in the retention rate index between the experimental group and the control group is calculated;
[0009] The effect of the difference application function in the test application is determined according to the absolute difference of the retention rate indicator.
[0010] According to another aspect of the present disclosure, there is provided a data analysis device based on AB test results, comprising:
[0011] An AB testing module, used for providing a test application and a current application to an experimental group and a control group respectively for AB testing within a first time period, wherein the test application and the current application have at least one different application function;
[0012] A retention rate index value prediction module, used to predict the retention rate index values of the experimental group and the control group in a second time period according to the retention rates of the experimental group and the control group in a first time period, wherein the first time period is smaller than the second time period;
[0013] A retention rate index absolute difference calculation module, used to calculate the absolute difference of the retention rate index between the experimental group and the control group according to the retention rate index values of the experimental group and the control group in the second time period;
[0014] The function effect determination module is used to determine the effect of the difference application function in the test application according to the absolute difference of the retention rate indicator.
[0015] According to another aspect of the present disclosure, there is provided an electronic device, comprising:
[0016] at least one processor; and
[0017] a memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the data analysis method based on the AB test results provided by the present disclosure.
[0019] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the data analysis method based on AB test results provided by the present disclosure.
[0020] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the data analysis method based on AB test results provided by the present disclosure.
[0021] The technology disclosed in the present invention solves the problem of measuring the effect of application products when updating application functions, thereby improving the comprehensive performance and long-term nature of the effect measurement.
[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0024] Figure 1 is a flow chart of a data analysis method based on AB test results according to an embodiment of the present disclosure;
[0025] Figure 2 is a flowchart of another data analysis method based on AB test results according to an embodiment of the present disclosure;
[0026] Figure 3 is a flowchart of another data analysis method based on AB test results according to an embodiment of the present disclosure;
[0027] Figure 4 is a schematic diagram of the effect of predicting retention rate according to an embodiment of the present disclosure;
[0028] Figure 5 is a flow chart of a difference correction model training according to an embodiment of the present disclosure;
[0029] Figure 6 is a flowchart of another data analysis method based on AB test results according to an embodiment of the present disclosure;
[0030] Figure 7 is a schematic diagram of a flow chart for generating a fluctuation query table according to an embodiment of the present disclosure;
[0031] Figure 8 is a schematic diagram of a process for generating another fluctuation query table according to an embodiment of the present disclosure;
[0032] Fig. 9 is a flowchart of another data analysis method based on AB test results according to an embodiment of the present disclosure;
[0033] Fig.10 is a structural schematic diagram of a data analysis device based on AB test results according to an embodiment of the present disclosure;
[0034] Fig.11 It is a block diagram of an electronic device used to implement the data analysis method based on AB test results of an embodiment of the present disclosure. DETAILED DESCRIPTION
[0035] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0036] Figure 1This is a flow chart of a data analysis method based on AB test results according to an embodiment of the present disclosure. This embodiment is applicable to the situation where a comprehensive effect measurement is performed on an application product when the application product updates its application function. The method can be performed by a data analysis device based on AB test results. The device can be implemented by software and / or hardware and integrated into an electronic device such as a computer. Specifically, refer to Figure 1 , the method specifically comprises the following steps:
[0037] Step 110: During a first time period, provide the test application and the current application to the experimental group and the control group respectively for AB testing.
[0038] The first time period may be a shorter time period. The first time period may be set to facilitate the collection of real data during AB testing. Specifically, the first time period may be 3 days, 7 days, or 10 days.
[0039] In the present disclosure, there is at least one different application function between the test application and the current application. The current application may be an application software (Application, APP) or client software with multiple application functions. APP may be software on a mobile phone, and client software may be computer software. There is at least one different application function between the test application and the current application. Specifically, it may be that the test application can update the application function for the current application. For example, the different application function may be a new application function that the test application launches based on the current application, an optimized designated function formed by optimizing the original application function of the current application, or a deleted designated application function formed by taking the original application function of the current application offline.
[0040] In the present disclosure, the experimental group may be a group of users using the test application. The control group may be a group of users using the current application. In AB testing, the experimental parameters of the experimental group and the control group may be the same. AB testing may be a test conducted on an experimental group using the test application and a control group using the current application. The purpose of the test may be to observe the daily stay of users.
[0041] Specifically, in an AB test, the number of users in the experimental group and the control group can be the same; and the user behaviors can be basically the same. For example, in an AB test, users can have the following behavioral characteristics: all users are used to surfing the Internet at the same time period; or, the length of time users spend surfing the Internet every day is basically the same; or, all users like to access a certain application function, etc.
[0042] Step 120: predict the retention rate index values of the experimental group and the control group in the second time period according to the retention rates of the experimental group and the control group in the first time period.
[0043] The retention rate can be the proportion of users who stay in the application product within a specified period of time. Specifically, the daily retention rate can be determined by the ratio of the number of users who use the application product on that day to the total number of users. For example, the daily retention rate of the experimental group can be determined by the ratio of the number of data using the test application on that day to the total number of users in the experimental group; the daily retention rate of the control group can be determined by the ratio of the number of data using the current application on that day to the total number of users in the control group.
[0044] In the present disclosure, the first time period is shorter than the second time period. The second time period may be a longer time period. The data related to the AB test in the second time period may be inconvenient to collect, and the data related to the AB test in the second time period may be determined by prediction, which can save the cost of collecting long-term data. Specifically, the second time period may be 30 days, 50 days or 100 days, etc.
[0045] In the present disclosure, the retention rate index value may be a data value that reflects the retention status of the user in the second time period. For example, the retention rate index value may be the cumulative sum of the number of daily retentions of the user in the second time period. There may be multiple ways to predict the retention rate index value. For example, the retention rate of the preset duration in the second time period may be determined based on the retention rate of the preset duration in the first time period and the change in the retention rate of the preset duration; the number of users retained for the preset duration may be determined based on the determined retention rate of the preset duration, and then the retention rate index value may be determined. For another example, the retention rate in the second duration may be predicted based on the retention rate in the first time period by function fitting to determine the retention rate index value.
[0046] Step 130: Calculate the absolute difference in the retention rate index between the experimental group and the control group according to the retention rate index values of the experimental group and the control group in the second time period.
[0047] The absolute difference of the retention rate index may be the difference between the retention rate index values of the experimental group and the control group. The absolute difference of the retention rate index may have multiple cases. For example, the absolute difference of the retention rate index may be the difference between the retention rate index values of the experimental group and the control group. For another example, the absolute difference of the retention rate index may be the ratio of the retention rate index values of the experimental group and the control group.
[0048] Step 140: Determine the effect of the difference application function in the test application according to the absolute difference of the retention rate indicator.
[0049] Among them, when the retention rate index value corresponding to the test application is greater than the retention rate index value corresponding to the current application, it means that the effect of the difference application function is good. The absolute difference in the retention rate index between the experimental group and the control group can indicate the degree of the effect of the difference application function.
[0050] Exemplarily, when the absolute difference of the retention rate index is the difference between the retention rate index values of the experimental group and the control group, the absolute difference of the retention rate index is greater than 0, indicating that the effect of the difference application function is good, and the larger the value, the better the degree; the absolute difference of the retention rate index is equal to 0, indicating that the effect of the difference application function is not affected. The absolute difference of the retention rate index is less than 0, indicating that the effect of the difference application function is poor, and the smaller the value, the greater the degree of difference.
[0051] In another exemplary embodiment, when the absolute difference of the retention rate index is the ratio of the retention rate index values of the experimental group and the control group, the absolute difference of the retention rate index is greater than 1, indicating that the effect of the difference application function is good, and the larger the value, the greater the degree of goodness; the absolute difference of the retention rate index is equal to 1, indicating that the effect of the difference application function is not affected. The absolute difference of the retention rate index is less than 1, indicating that the effect of the difference application function is poor, and the smaller the value, the greater the degree of difference.
[0052] The technical solution of the disclosed embodiment is as follows: within a first time period, the test application and the current application are provided to the experimental group and the control group respectively for AB testing, wherein the test application has at least one different application function from the current application; based on the retention rates of the experimental group and the control group in the first time period, the retention index values of the experimental group and the control group in the second time period are predicted, and the first time period is less than the second time period; based on the retention index values of the experimental group and the control group in the second time period, the absolute difference in the retention index between the experimental group and the control group is calculated; based on the absolute difference in the retention index, the effect of the different application functions in the test application is determined, which solves the problem of measuring the effect of the application product when updating the application function, can comprehensively and long-term measure the effect of the entire application product, can avoid the collection of long-term data, and save data collection costs.
[0053] Figure 2 It is a flow chart of another data analysis method based on AB test results according to an embodiment of the present disclosure. This embodiment is a further refinement of the above technical solution. The technical solution in this embodiment can be combined with one or more of the above implementation methods.
[0054] Specifically, in order to achieve accurate prediction of the retention rate index value, in an optional implementation of the present disclosure, according to the retention rates of the experimental group and the control group in the first time period, predicting the retention rate index values of the experimental group and the control group in the second time period includes:
[0055] According to the retention rates of the experimental group and the control group in the first time period, the prediction power functions corresponding to the experimental group and the control group are fitted;
[0056] Determine a prediction time interval according to the first time period and the second time period;
[0057] According to each prediction power function, the retention rates of the experimental group and the control group in the prediction time interval are predicted respectively;
[0058] According to the retention rates of the experimental group and the control group in the first time period and the retention rates of the experimental group and the control group in the predicted time interval, the retention rate index values of the experimental group and the control group in the second time period are predicted.
[0059] In an optional implementation of the present disclosure, calculating the absolute difference in the retention rate index between the experimental group and the control group according to the retention rate index values of the experimental group and the control group in the second time period includes:
[0060] The difference between the retention rate index value of the experimental group and the retention rate index value of the control group is subtracted to determine the absolute difference in the retention rate index between the experimental group and the control group.
[0061] refer to Figure 2 The data analysis method based on AB test results provided by the present disclosure includes the following steps:
[0062] Step 210: During a first time period, provide the test application and the current application to the experimental group and the control group respectively for AB testing.
[0063] The test application has at least one different application function from the current application.
[0064] Step 220: According to the retention rates of the experimental group and the control group in the first time period, fitting is performed to obtain prediction power functions corresponding to the experimental group and the control group, respectively.
[0065] Among them, fitting can refer to simulating the change of real data through a function to generate a smooth curve so that the real data is on the curve or near the curve. In the present disclosure, a power function can be used to fit the retention rate in the first time period. The power function can more realistically predict the retention rate in the second time period.
[0066] For example, the first time period may be 7 days, the first time period is less than the second time period, and the second time period may be greater than 7 days, such as 30 days. The predicted power function obtained by fitting the retention rate of the first time period can be obtained by formula In which, RPF(t) represents the retention rate determined by the predicted power function; ret(t) represents the actual retention rate in the first time period; a·t b It represents the retention rate obtained by fitting the power function based on the retention rate in the first time period; a and b are constants, which are the coefficients of the power function; t represents time, such as days.
[0067] Step 230: Determine a predicted time interval according to the first time period and the second time period.
[0068] The second time period may include the first time period. For example, the first time period is 7 days, the second time period may be 30 days, and the second time period includes the first 7 days and the 8th to 30th days. The predicted time interval may be a time period corresponding to the need to perform a predicted retention rate operation when there is no real retention rate. The predicted time interval may be determined by the complement of the second time period and the first time period. For example, the first time period is 7 days, the second time period may be 30 days, and the predicted time interval may be the 8th to 30th day.
[0069] Step 240: Predict the retention rates of the experimental group and the control group within the prediction time interval according to each prediction power function.
[0070] For example, the retention rate within the predicted time interval can be calculated by the formula RPF(t)=a·t b Determine, t can be the number of days in the prediction time interval. For the experimental group and the control group, the values of a and b may be different, which is due to the fact that the retention rates of the experimental group and the control group in the first time period may be different.
[0071] Step 250: predict the retention rate index values of the experimental group and the control group in the second time period according to the retention rates of the experimental group and the control group in the first time period and the retention rates of the experimental group and the control group in the predicted time interval.
[0072] The retention rate in the second time period can be obtained according to the retention rate in the first time period and the retention rate in the predicted time interval, and the retention rate index value in the second time period can be determined according to the retention rate in the second time period.
[0073] In an optional implementation of the present disclosure, the retention index includes: the number of active days of accessing the application from the 1st day to the Nth day.
[0074] Among them, the retention indicator can be Life Time of N (LT-N). LT-N refers to the number of active days of accessing the application from the 1st day to the Nth day. LT-N can be a further characterization of the retention rate. Characterizing the retention rate through LT-N can better reflect the comprehensiveness and long-term nature of AB testing.
[0075] In an optional embodiment of the present disclosure, the retention rate index values of the experimental group and the control group in the second time period are predicted based on the retention rates of the experimental group and the control group in the first time period and the retention rates of the experimental group and the control group in the predicted time interval, including: accumulating and summing the retention rates of the experimental group and the control group on each day in the second time period to obtain the retention rate index values of the experimental group and the control group in the second time period.
[0076] Among them, the cumulative retention rate in the second time period can be obtained by adding up the retention rates. According to the cumulative retention rate and the total number of users in the experimental group and the control group, the cumulative user retention data in the second time period can be calculated. The cumulative user retention data can be used as a retention rate indicator value, and can truly reflect the effect of the difference application function through long-term data.
[0077] Specifically, the retention rate index value may be a specific value of LT-N. The retention rate index value may be calculated by the formula OK. N may represent the total number of days in the second time period.
[0078] Step 260: Subtract the difference between the retention rate index value of the experimental group and the retention rate index value of the control group to determine the absolute difference in the retention rate index between the experimental group and the control group.
[0079] Among them, the absolute difference of the retention rate index can be determined by the formula Δ=LTN1-LTN2. LTN1 is the retention rate index value of the experimental group, and LTN2 is the retention rate index value of the control group. Determining the absolute difference of the retention rate index by the difference can more intuitively reflect the effect of the difference measurement application function.
[0080] Step 270: Determine the effect of the difference application function in the test application according to the absolute difference of the retention rate indicator.
[0081] The technical solution of the embodiment of the present disclosure is as follows: in a first time period, the test application and the current application are provided to the experimental group and the control group respectively for AB testing; according to the retention rates of the experimental group and the control group in the first time period, the prediction power functions corresponding to the experimental group and the control group are fitted; according to the first time period and the second time period, the prediction time interval is determined; according to each prediction power function, the retention rates of the experimental group and the control group in the prediction time interval are predicted; according to the retention rates of the experimental group and the control group in the first time period and the retention rates of the experimental group and the control group in the prediction time interval, the retention rate index values of the experimental group and the control group in the second time period are predicted; The difference between the retention rate index value of the experimental group and the retention rate index value of the control group is determined as the absolute difference in the retention rate index between the experimental group and the control group. The effect of the differential application function in the test application is determined based on the absolute difference in the retention rate index, which solves the problem of measuring the effect of the application product when updating the application function. The effect of the entire application product can be comprehensively and long-term measured based on the accurately predicted retention rate; the characterization of the retention rate through LT-N can avoid the collection of long-term data, save data collection costs, and improve the reliability of the measurement of the effect of the entire application product; and the absolute difference in the retention rate index can more intuitively reflect the effect of the differential application function.
[0082] Figure 3It is a flow chart of another data analysis method based on AB test results according to an embodiment of the present disclosure. This embodiment is a further refinement of the above technical solution. The technical solution in this embodiment can be combined with one or more of the above implementation methods.
[0083] refer to Figure 3 , the method specifically comprises the following steps:
[0084] Step 310: During a first time period, provide the test application and the current application to the experimental group and the control group respectively for AB testing.
[0085] The test application has at least one different application function from the current application.
[0086] Step 320: predict the retention rate index values of the experimental group and the control group in the second time period according to the retention rates of the experimental group and the control group in the first time period.
[0087] The first time period is shorter than the second time period. The method for determining the retention rate index value may be the same as the above implementation, and will not be described in detail here.
[0088] Step 330: Calculate the absolute difference in the retention rate index between the experimental group and the control group according to the retention rate index values of the experimental group and the control group in the second time period.
[0089] The method for determining the absolute difference of the retention rate indicator may be the same as that in the above implementation, and will not be described in detail here.
[0090] Step 340: Input the absolute difference of the retention rate indicator into the pre-trained difference correction model, and use the output result of the difference correction model to update the absolute difference of the retention rate indicator.
[0091] The difference correction model may be a model for correcting the absolute difference of the retention rate indicator. The difference correction model may be generated by pre-training based on a large amount of sample data.
[0092] Figure 4 is a schematic diagram of the effect of predicting retention rate according to an embodiment of the present disclosure. Figure 4 , the horizontal axis is time (days) and the vertical axis is retention rate. Figure 4 The dashed line is the predicted retention rate, and the solid line is the actual retention rate. Figure 4 It can be found that the prediction of retention rate by using power function fitting has a certain degree of accuracy. However, when N (number of days) becomes larger and larger, due to the "smile curve" presented by the power function, the accuracy of this prediction will become worse and worse. The difference correction model provided by the present disclosure can improve the accuracy of this prediction and make the final result more reliable.
[0093] In an optional embodiment of the present disclosure, before inputting the absolute difference of the retention rate indicator into a pre-trained difference correction model, it also includes: obtaining multiple labeled samples, each labeled sample including: the absolute difference of the retention rate indicator of the experimental sample group and the control sample group during the second time period and the true value of the absolute difference of the retention rate indicator; using each labeled sample, training a preset machine learning model to obtain a difference correction model.
[0094] The experimental sample group and the control sample group may be sample data corresponding to the experimental group and the control group, respectively. The experimental sample group and the control sample group may be obtained in the same or similar manner as the experimental group and the control group.
[0095] In the present disclosure, the absolute difference of the retention rate index may be obtained according to the actual retention rate of the first time period in the sample using the prediction method of the above-mentioned implementation. The true value of the absolute difference of the retention rate index may be determined according to the actual retention rate of the second time period in the sample. For example, the true value of the absolute difference of the retention rate index may be the difference between the actual retention rate index values of the experimental sample group and the control sample group. The actual retention rate index value may be the cumulative user retention data obtained by accumulating and summing the retention rates of each day in the second time period and according to the total number of users of the experimental sample group or the control sample group.
[0096] Exemplarily, the difference correction model can be a supervised model such as a gradient boosting model (Extreme GradientBoosting, XGBoost).
[0097] In an optional embodiment of the present disclosure, a plurality of annotated samples are obtained, including: obtaining a plurality of abnormal application object groups in the full amount of application objects according to application data of each application object in the full amount of application objects matching the current application; wherein each abnormal application object group includes: an experimental sample group and a control sample group whose difference values of the application data satisfy a difference value threshold condition; within a second time period, performing an AA test on the experimental sample group and the control sample group in each abnormal application object group, respectively, to obtain an AA test result; and forming annotated samples corresponding to each abnormal application object group, respectively, according to the AA test result.
[0098] Among them, the full application objects may be all users who use the current application. Specifically, the full application objects may be all users registered in the current application. The abnormal application object grouping may be a user grouping according to a preset rule. Exemplarily, the user rule may be whether the user behavior habits determined according to the application data of the application object meet the set requirements, that is, whether the difference value of the application data meets the difference value threshold condition.
[0099] Exemplarily, the difference value threshold condition may include the difference in the length of time users spend online, for example, the difference in the length of time users A spend online per day compared to user B is greater than 2 hours; or, the difference value threshold condition may include the difference in the time periods when users go online, for example, user A is accustomed to going online during the day, while user B is accustomed to going online at night; or, the difference value threshold condition may include the difference in the form of content that users access online, for example, user A likes to access video-related content, while user B likes to access text-related content; or, the difference value threshold condition may include the difference in the content that users access online, for example, user A likes to access beauty-related content, while user B likes to access sports-related content, etc.
[0100] In the present disclosure, for users A and B with obvious differences in user behavior habits, an experimental sample group and a control sample group can be distinguished. Specifically, the users in the experimental sample group all have the same or similar user behavior habits as user A, and the users in the control sample group all have the same or similar user behavior habits as user B.
[0101] In the present disclosure, AA test may refer to users in both the experimental sample group and the control sample group using the current application for testing. AA test results may refer to application data obtained by users in the experimental sample group and the control sample group using the current application. Specifically, the application data may include retention rate. For example, the application data may include the retention rate of the experimental sample group and the control sample group in the second time period.
[0102] According to the AA test results, the annotated samples corresponding to each abnormal application object group are formed to simulate the effect of AB test. In this way, there is no need to launch one or more test applications to obtain annotated samples, which can simplify the process of obtaining annotated samples and save the online cost of test applications; and because the current application is long-term, it is easy to obtain long-term test results, thereby improving the reliability of the difference correction model.
[0103] In an optional implementation of the present disclosure, each annotated sample further includes: at least one application experience index value, a random parameter value, and a second time period corresponding to the experimental sample group and the control sample group, respectively.
[0104] Among them, the application experience index value can be an index value that describes the user's feelings about the application product. Exemplarily, the application experience index value can include user satisfaction value, net recommendation value and user effort value. The user satisfaction value can be obtained through preliminary surveys of user experience, complaints and specific tests. The net recommendation value can refer to the user's willingness to recommend the application product. The net recommendation value can be determined through preliminary surveys of users. The user effort value can refer to the difficulty of users operating the application product. The user effort value can be determined through preliminary surveys of users. Adding application experience index values to the labeled samples can improve the accuracy of the difference correction model prediction.
[0105] When training the difference correction model, due to the interaction between multiple features, the influence of a single feature on the absolute difference of the retention rate indicator will be reduced. In the present disclosure, a random parameter value can be added to the labeled sample as a feature to eliminate the influence of unknown factors on the difference correction model and improve the accuracy of the difference correction model prediction.
[0106] When training the difference correction model, since different second time periods (N) correspond to different absolute differences in the retention rate indicator, in the present disclosure, the second time period can be used as a feature in the labeled sample to improve the accuracy of the difference correction model prediction.
[0107] In an optional embodiment of the present disclosure, the absolute difference of the retention rate indicator is input into a pre-trained difference correction model, including: inputting at least one application experience index value corresponding to the test application and the current application, the absolute difference of the retention rate indicator, a randomly generated target random number, and a second time period into the difference correction model.
[0108] Step 350: Determine the effect of the difference application function in the test application according to the absolute difference of the retention rate indicator.
[0109] The technical solution of the embodiment of the present disclosure is as follows: in a first time period, the test application and the current application are provided to the experimental group and the control group respectively for AB testing; according to the retention rates of the experimental group and the control group in the first time period, the retention rate index values of the experimental group and the control group in the second time period are predicted; according to the retention rate index values of the experimental group and the control group in the second time period, the absolute difference of the retention rate index between the experimental group and the control group is calculated; the absolute difference of the retention rate index is input into a pre-trained difference correction model, and the absolute difference of the retention rate index is updated using the output result of the difference correction model; according to the absolute difference of the retention rate index, the effect of the differential application function in the test application is determined, which solves the problem of measuring the effect of the application product when updating the application function, and can comprehensively and long-term measure the effect of the entire application product; by correcting the absolute difference of the retention rate index through the difference correction model, the reliability of the effect measurement of the application product can be improved; the difference correction model can be trained by multiple features to improve the accuracy of the model prediction; in addition, by performing AA test to simulate AB test, the cost of obtaining labeled samples can be reduced, and the possibility of obtaining long-term test results can be increased.
[0110] Figure 5 is a flow chart of a difference correction model training process according to an embodiment of the present disclosure, referring to Figure 5 The absolute difference in retention rate indicators between the experimental sample group and the control sample group, the true value of the absolute difference in retention rate indicators between the experimental sample group and the control sample group, at least one application experience indicator value, the random parameter value, and the second time period can be used as features for difference correction model training and input into a difference correction model such as an XGBoost model for training.
[0111] Exemplarily, the test results obtained by the AA test can be divided into a training set, a validation set, and a test set according to a certain ratio, such as 6:2:2. The grid parameters can be adjusted by the Grid Search method to implement XGBoost model training. When the absolute difference of the retention rate indicator is input into the difference correction model, the model prediction can be performed to obtain the corrected absolute difference of the retention rate indicator, thereby improving the accuracy of the absolute difference of the retention rate indicator, and thus improving the reliability of the determined difference application function effect.
[0112] Figure 6 It is a flow chart of another data analysis method based on AB test results according to an embodiment of the present disclosure. This embodiment is a further refinement of the above technical solution. The technical solution in this embodiment can be combined with one or more of the above implementation methods.
[0113] Specifically, in an optional implementation of the present disclosure, determining the effect of the difference application function in the test application according to the absolute difference of the retention rate indicator includes:
[0114] Compare the absolute difference of the retention rate indicator with the preset retention rate indicator fluctuation threshold;
[0115] If the absolute difference of the retention rate indicator exceeds a preset retention rate indicator fluctuation threshold, the effect of the differential application function in the test application is determined based on the absolute difference of the retention rate indicator.
[0116] refer to Figure 6 The data analysis method based on AB test results provided by the present disclosure specifically includes the following steps:
[0117] Step 610: During a first time period, provide the test application and the current application to the experimental group and the control group respectively for AB testing.
[0118] The test application has at least one different application function from the current application.
[0119] Step 620: predict the retention rate index values of the experimental group and the control group in the second time period according to the retention rates of the experimental group and the control group in the first time period.
[0120] The first time period is shorter than the second time period.
[0121] Step 630: Calculate the absolute difference in the retention rate index between the experimental group and the control group according to the retention rate index values of the experimental group and the control group in the second time period.
[0122] After obtaining the absolute difference of the retention rate indicator, the value can be corrected by the above implementation method, which will not be described in detail here.
[0123] Step 640: Compare the absolute difference of the retention rate indicator with a preset retention rate indicator fluctuation threshold.
[0124] Since the test process involves sampling of users, the absolute difference of the retention rate indicator will be affected by the fluctuation of sampling, and the absolute difference of the retention rate indicator will be more sensitive. The sampling selection of users can be the sampling when the users of the experimental group and the control group are determined, or when the users of the experimental sample group and the control sample group are determined.
[0125] Therefore, in the present disclosure, it is necessary to determine whether the absolute difference of the retention rate indicator is a real and effective retention rate fluctuation or caused by sampling fluctuation. The retention rate indicator fluctuation threshold can be an indicator for distinguishing the authenticity and reliability of the absolute difference of the retention rate indicator.
[0126] In an optional implementation of the present disclosure, the absolute difference of the retention rate indicator is compared with a preset retention rate indicator fluctuation threshold, including: querying a fluctuation query table according to the target data levels corresponding to the experimental group and the control group, and obtaining a retention rate indicator fluctuation threshold that matches the target data level; comparing the absolute difference of the retention rate indicator with the retention rate indicator fluctuation threshold obtained by the query.
[0127] The fluctuation query table may include retention rate indicator fluctuation thresholds corresponding to multiple data levels. The data level may be a division of the number of users at different levels. Exemplarily, the number level may be divided into: 0 to 10,000 users; 10,000 to 50,000 users; 50,000 to 100,000 users; 100,000 to 200,000 users; 200,000 to 500,000 users; 500,000 to 1,000,000 users, and more than 1,000,000 users.
[0128] Step 650: If the absolute difference of the retention rate indicator exceeds the preset retention rate indicator fluctuation threshold, the effect of the difference application function in the test application is determined according to the absolute difference of the retention rate indicator.
[0129] Among them, if the absolute difference of the retention rate indicator exceeds the preset retention rate indicator fluctuation threshold, it means that the absolute difference of the retention rate indicator is a real and effective retention rate fluctuation. The effect of the differential application function in the test application can be determined based on the absolute difference of the retention rate indicator.
[0130] If the absolute difference of the retention rate indicator does not exceed the preset retention rate indicator fluctuation threshold, it means that the absolute difference of the retention rate indicator is caused by sampling fluctuation. For example, the absolute difference of the retention rate indicator is caused by the behavioral habits of the users in the sampling, and cannot truly measure the effect of the difference application function. At this time, re-sampling can be performed to determine the effect of the difference application function in the test application according to the data analysis method based on the AB test results provided in the present disclosure. The data analysis method based on the AB test results provided in the present disclosure can improve the reliability of the determined difference application function effect and avoid the unreliability of the results caused by the sampling effect.
[0131] The technical solution of the embodiment of the present disclosure provides the test application and the current application to the experimental group and the control group for AB testing in a first time period; predicts the retention index values of the experimental group and the control group in a second time period according to the retention rates of the experimental group and the control group in the first time period; calculates the absolute difference in the retention index between the experimental group and the control group according to the retention index values of the experimental group and the control group in the second time period; compares the absolute difference in the retention index with a preset retention index fluctuation threshold; if the absolute difference in the retention index exceeds the preset retention index fluctuation threshold, determines the effect of the differential application function in the test application according to the absolute difference in the retention index, solves the problem of measuring the effect of the application product when updating the application function, and can comprehensively and long-term measure the effect of the entire application product; by comparing the absolute difference in the retention index with the preset retention index fluctuation threshold, the cause of the fluctuation of the absolute difference in the retention index can be determined, avoiding the unreliability of determining the effect of the differential application function when it is caused by sampling fluctuation.
[0132] Figure 7 1 is a schematic diagram of a flow chart of generating a fluctuation query table according to an embodiment of the present disclosure. Figure 7 In an optional embodiment of the present disclosure, before querying the fluctuation query table according to the data magnitudes of the experimental group and the control group, the following steps are also included:
[0133] Step 710: Perform hash bucketing on all application objects matching the current application to form a first number of data groups, each data group having a second number of application objects.
[0134] Among them, hash bucketing can be to divide the full amount of application objects into multiple buckets with the same capacity to achieve the division of users. Specifically, hash bucketing can be divided according to the keywords (key chain table) corresponding to different hash values. The hash value can be determined by a hash algorithm based on the user's identification information. The user's identification information can be the user's login account, the identification number of the user's device, or the user's Internet Protocol address, etc.
[0135] For example, all application objects can be divided into 10,000 groups with 20,000 users in each group through hash bucketing.
[0136] Step 720: According to the current data level, a third number of data groups are obtained using an optimal sampling method to generate a table building experimental group and a table building test group.
[0137] Among them, the optimal sampling method can be to select a third number of data groups from the first number of data groups. The optimal sampling method can be based on one or more indicators, or can be randomly selected. Specific indicators can be set according to actual needs. For example, the optimal sampling can be based on the above-mentioned difference value threshold condition, which will not be repeated here. The table building experimental group and the table building test group can be to evenly divide the third number of data groups.
[0138] For example, 200 groups are selected from 10,000 groups by optimal sampling, of which 100 groups are table building experimental groups and the other 100 groups are table building test groups. There are 2 million users in both the table building experimental group and the table building test group, and the data volume can be 2 million.
[0139] Step 730: In the second time period, calculate the absolute difference in the retention rate index corresponding to the table-building experimental group and the table-building control group.
[0140] The method for determining the absolute difference of the retention rate indicator may be the same as that in the above implementation, and will not be described in detail here.
[0141] Step 740, return to execute the operation of obtaining a third number of data groups according to the optimal sampling method based on the current data level, generating a table building experimental group and a table building test group, until a fourth number of absolute differences in retention rate indicators matching the current data level are generated.
[0142] The first number of data groups may be subjected to repeated optimal sampling to generate a table building experimental group and a table building test group of the same data level, and determine the absolute difference in retention rate index corresponding to the table building experimental group and the table building control group. That is, steps 720 to 730 may be executed repeatedly to obtain multiple absolute differences in retention rate indexes.
[0143] For example, the operation of "selecting 200 groups from 10,000 groups by optimal sampling, 100 of which are table building experimental groups and the other 100 are table building test groups" can be executed 10,000 times in a loop to obtain 10,000 absolute differences of retention rate indicators.
[0144] Step 750: Calculate a quantile of a set percentage according to the absolute difference of the retention rate indicators of each fourth quantity as a retention rate indicator fluctuation threshold corresponding to the current data level.
[0145] For example, for 10,000 absolute differences of retention rate indicators, a quantile of a set percentage is determined. The set percentage can indicate that most of the retention indicator fluctuations are normal, that is, caused by sampling fluctuations. For example, the set percentage can be 97.5%.
[0146] In the present disclosure, the quantile of a set percentage is calculated as the retention rate indicator fluctuation threshold corresponding to the current data level. It can be determined that the absolute differences of the retention rate indicators of the set percentage are all less than or equal to the absolute difference I of the retention rate indicators. The absolute difference I of the retention rate indicators can be used as the retention rate indicator fluctuation threshold corresponding to the current data level.
[0147] Step 760, after the new data level is updated, return to execute the operation of obtaining a third number of data groups according to the optimal sampling method based on the current data level, until the retention rate indicator fluctuation thresholds corresponding to the preset multiple data levels are obtained.
[0148] Among them, step 720 to step 750 can be executed repeatedly to obtain the new retention rate indicator fluctuation threshold corresponding to the two levels of data.
[0149] Exemplarily, 100 groups are selected by optimal sampling from 10,000 groups, of which 50 groups are table building experimental groups and the other 50 groups are table building test groups. There are 1 million users in both the table building experimental group and the table building test group, and the data volume can be 1 million. The operation of "selecting 100 groups by optimal sampling from 10,000 groups, of which 50 groups are table building experimental groups and the other 50 groups are table building test groups" can be executed 10,000 times in a loop to obtain 10,000 absolute differences in retention rate indicators with a data volume of 1 million. Furthermore, the corresponding retention rate indicator fluctuation threshold is obtained when the data volume is 1 million.
[0150] Step 770: Form a fluctuation query table according to the retention rate indicator fluctuation thresholds corresponding to each data level.
[0151] The technical solution of the disclosed embodiment can improve the reliability of determining the difference application function effect by generating a fluctuation query table and distinguishing the fluctuation reasons of the absolute difference of the retention rate indicator according to the fluctuation query table.
[0152] Figure 8 FIG. 2 is a flow chart of another method for generating a fluctuation query table according to an embodiment of the present disclosure. Figure 8An exemplary process of generating a fluctuation query table may be: hash bucketing all application objects to generate 10,000 data groups, each with 20,000 users. Assuming that the specified data volume is 2 million, 200 groups are selected from the 10,000 groups by optimal sampling, of which 100 groups are table building experimental groups and the other 100 groups are table building test groups. Calculate the cumulative sum of the retention rates corresponding to the table building experimental group and the table building control group for N days, and calculate the absolute difference between the retention rate indicators corresponding to the table building experimental group and the table building control group. Repeat the step of "selecting 200 groups from 10,000 groups by optimal sampling, of which 100 groups are experimental groups and the other 100 groups are test groups. Calculate the cumulative sum of the retention rates of the experimental group and the control group for N days, and calculate the absolute difference between the retention rates of the experimental group and the control group" 10,000 times to obtain the quantile with a set percentage of 97.5%, which is used as the retention rate indicator fluctuation threshold when the data level is 2 million.
[0153] Assuming other specified data levels, repeat the above process, adjust the corresponding number of groups according to the specified data level, and obtain the retention rate indicator fluctuation thresholds of other specified data levels, and then generate a fluctuation query table according to the retention rate indicator fluctuation thresholds corresponding to multiple data levels.
[0154] Fig. 9 is a flow chart of another data analysis method based on AB test results according to an embodiment of the present disclosure, with reference to Fig. 9 For example, the data analysis method based on AB test results provided by the embodiment of the present disclosure may include the following process:
[0155] Conduct AB testing on the experimental group and control group with the same number of users and user characteristics as the current application. Calculate the 7-day retention data of the experimental group and the control group respectively. Predict the N-day retention data using the power function model based on the 7-day retention data of the experimental group and the control group respectively. Calculate the sum of the N-day retention data based on the 7-day retention data of the experimental group and the control group, as well as the predicted N-day retention data. And determine the absolute difference in retention rate between the sum of the N-day retention data of the experimental group and the sum of the N-day retention data of the control group. Correct and update the absolute difference in retention rate using the XGBoost model. Query the fluctuation query table for the updated absolute difference in retention rate to determine the retention rate fluctuation threshold corresponding to the matching data magnitude. If the absolute difference in retention rate exceeds the preset retention rate fluctuation threshold, determine the effect of the differential application function in the test application based on the absolute difference in retention rate.
[0156] The technical solution of the disclosed embodiment introduces LT-N as the life cycle value to evaluate the effects of the differential application functions of the application product, which can reasonably characterize a comprehensive and long-term effect measurement; and this solution can simulate the AB test effect through the AA test, which can reduce the cost of XGBoost model training; in addition, by introducing application experience index values and random parameter values as features of XGBoost model training, the prediction accuracy of the XGBoost model can be improved, and the conversion between the application experience index value and the retention rate can be weighed; and the absolute difference of the retention rate index is corrected by the value predicted by the XGBoost model, which can avoid the "smile curve" of the power function and make the absolute difference of the retention rate index more reliable; the technical solution of the disclosed embodiment can take into account the balance between multiple application functions and obtain a more authoritative and reliable evaluation of the effects of differential application functions.
[0157] Fig.10 is a schematic diagram of a data analysis device based on AB test results according to an embodiment of the present disclosure, and the device can be set in an electronic device. Specifically, Fig.10 As shown, the data analysis device 1000 based on AB test results includes: an AB test module 1010, a retention rate index value prediction module 1020, a retention rate index absolute difference calculation module 1030 and a functional effect determination module 1040. Among them:
[0158] An AB testing module 1010 is used to provide a test application and a current application to an experimental group and a control group for AB testing in a first time period, wherein the test application and the current application have at least one different application function;
[0159] A retention rate index value prediction module 1020, used to predict the retention rate index values of the experimental group and the control group in a second time period according to the retention rates of the experimental group and the control group in a first time period, wherein the first time period is smaller than the second time period;
[0160] A retention rate index absolute difference calculation module 1030, configured to calculate the retention rate index absolute difference between the experimental group and the control group according to the retention rate index values of the experimental group and the control group in the second time period;
[0161] The function effect determination module 1040 is used to determine the effect of the difference application function in the test application according to the absolute difference of the retention rate indicator.
[0162] Optionally, the retention rate index value prediction module 1020 includes:
[0163] A prediction power function fitting unit, used for fitting the prediction power functions corresponding to the experimental group and the control group respectively according to the retention rates of the experimental group and the control group in the first time period;
[0164] A prediction time interval determination unit, configured to determine a prediction time interval according to a first time period and a second time period;
[0165] A retention rate prediction unit, used to predict the retention rates of the experimental group and the control group within the prediction time interval according to each prediction power function;
[0166] The retention rate index value prediction unit is used to predict the retention rate index values of the experimental group and the control group in the second time period according to the retention rates of the experimental group and the control group in the first time period and the retention rates of the experimental group and the control group in the prediction time interval.
[0167] Optionally, retention metrics include: the number of active days of accessing the app from day 1 to day N;
[0168] The retention rate index value prediction unit is specifically used for:
[0169] The daily retention rates of the experimental group and the control group in the second time period are accumulated and summed to obtain the retention rate index values of the experimental group and the control group in the second time period.
[0170] Optionally, the retention rate index absolute difference calculation module 1030 includes:
[0171] The retention rate index absolute difference determination unit is used to determine the difference between the retention rate index value of the experimental group and the retention rate index value of the control group by subtracting the retention rate index value of the experimental group from the retention rate index value of the control group as the absolute difference in the retention rate index between the experimental group and the control group.
[0172] Optionally, the device further includes:
[0173] The retention rate indicator absolute difference update module is used to input the retention rate indicator absolute difference into a pre-trained difference correction model before determining the effect of the differential application function in the test application based on the retention rate indicator absolute difference, and use the output result of the difference correction model to update the retention rate indicator absolute difference.
[0174] Optionally, the device further includes:
[0175] A labeled sample acquisition module is used to acquire a plurality of labeled samples before inputting the absolute difference of the retention rate indicator into the pre-trained difference correction model, wherein each labeled sample includes: the absolute difference of the retention rate indicator of the experimental sample group and the control sample group in the second time period and the true value of the absolute difference of the retention rate indicator;
[0176] The difference correction model acquisition module is used to use various labeled samples to train the preset machine learning model to obtain the difference correction model.
[0177] Optional, labeled sample acquisition module, including:
[0178] an abnormal application object group acquisition unit, configured to acquire a plurality of abnormal application object groups from the full amount of application objects according to application data of each application object in the full amount of application objects matching the current application;
[0179] Each abnormal application object group includes: an experimental sample group and a control sample group whose difference values of application data meet the difference value threshold condition;
[0180] An AA test result acquisition unit is used to perform AA test on the experimental sample group and the control sample group in each abnormal application object group in the second time period to obtain AA test results;
[0181] The labeled sample forming unit is used to form labeled samples corresponding to each abnormal application object group according to the AA test result.
[0182] Optionally, each labeled sample also includes:
[0183] At least one application experience index value, a random parameter value, and a second time period corresponding to the experimental sample group and the control sample group respectively;
[0184] Among them, the retention rate indicator absolute difference update module includes:
[0185] The parameter input unit is used to input at least one application experience index value corresponding to the test application and the current application, the absolute difference of the retention rate index, the randomly generated target random number and the second time period into the difference correction model.
[0186] Optionally, the function effect determination module 1040 includes:
[0187] A retention rate indicator absolute difference comparison unit, used to compare the retention rate indicator absolute difference with a preset retention rate indicator fluctuation threshold;
[0188] The function effect determination unit is used to determine the effect of the difference application function in the test application according to the absolute difference of the retention rate indicator if the absolute difference of the retention rate indicator exceeds a preset retention rate indicator fluctuation threshold.
[0189] Optional, the retention rate indicator absolute difference comparison unit is specifically used to:
[0190] According to the target data magnitudes corresponding to the experimental group and the control group, query the fluctuation query table to obtain the retention rate indicator fluctuation threshold that matches the target data magnitude;
[0191] Compare the absolute difference of the retention rate indicator with the retention rate indicator fluctuation threshold obtained through query.
[0192] Optionally, the device further includes:
[0193] A data grouping forming module, used to perform hash bucketing on the full amount of application objects matching the current application before querying the fluctuation query table according to the data magnitude of the experimental group and the control group, to form a first number of data groups, each of which has a second number of application objects;
[0194] A table building experimental group and table building test group generating module, used for obtaining a third number of data groups according to the current data level and using an optimal sampling method to generate a table building experimental group and a table building test group;
[0195] A second calculation module for the absolute difference of the retention rate indicator, used to calculate the absolute difference of the retention rate indicator corresponding to the table-building experimental group and the table-building control group in the second time period;
[0196] A first return execution module is used to return and execute the operation of obtaining a third number of data groups according to the optimal sampling method according to the current data level, and generating a table building experimental group and a table building test group, until a fourth number of absolute differences in retention rate indicators matching the current data level are generated;
[0197] A retention rate indicator fluctuation threshold generation module, used to calculate a quantile of a set percentage according to the absolute difference of the retention rate indicators of each fourth quantity as a retention rate indicator fluctuation threshold corresponding to the current data magnitude;
[0198] A second return execution module is used to return to execute the operation of obtaining a third number of data groups according to the optimal sampling method according to the current data level after updating the new data level, until the retention rate indicator fluctuation thresholds corresponding to the preset multiple data levels are obtained;
[0199] The fluctuation query table forming module is used to form a fluctuation query table according to the retention rate indicator fluctuation thresholds corresponding to each data magnitude.
[0200] The data analysis device based on AB test results provided in the embodiments of the present disclosure can execute the data analysis method based on AB test results provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0201] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0202] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0203] Fig.11A schematic block diagram of an example electronic device 1100 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0204] like Fig.11 As shown, the device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0205] A number of components in the device 1100 are connected to the I / O interface 1105, including: an input unit 1106, such as a keyboard, a mouse, etc.; an output unit 1107, such as various types of displays, speakers, etc.; a storage unit 1108, such as a disk, an optical disk, etc.; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the device 1100 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0206] The computing unit 1101 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above, such as a data analysis method based on AB test results. For example, in some embodiments, the data analysis method based on AB test results may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, one or more steps of the data analysis method based on the AB test results described above may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to execute a data analysis method based on the AB test results in any other appropriate manner (eg, by means of firmware).
[0207] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0208] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0209] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0210] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0211] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0212] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0213] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0214] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A data analysis method based on AB test results, comprising: In a first time period, providing a test application and a current application to an experimental group and a control group respectively for AB testing, wherein the test application and the current application have at least one different application function; Predicting retention rate index values of the experimental group and the control group in a second time period according to the retention rates of the experimental group and the control group in a first time period, wherein the first time period is shorter than the second time period, and the retention rate index value is a data value reflecting the retention status of the user in the second time period; Calculate the absolute difference in the retention rate between the experimental group and the control group according to the retention rate index values of the experimental group and the control group in the second time period; The effect of the difference application function in the test application is determined according to the absolute difference of the retention rate indicator.
2. The method according to claim 1, wherein: According to the retention rates of the experimental group and the control group in the first time period, the retention rate index values of the experimental group and the control group in the second time period are predicted, including: According to the retention rates of the experimental group and the control group in the first time period, fitting and obtaining prediction power functions corresponding to the experimental group and the control group respectively; Determining a predicted time interval according to the first time period and the second time period; According to each of the prediction power functions, respectively predict the retention rates of the experimental group and the control group within the prediction time interval; According to the retention rates of the experimental group and the control group in the first time period and the retention rates of the experimental group and the control group in the predicted time interval, the retention rate index values of the experimental group and the control group in the second time period are predicted.
3. The method according to claim 2, wherein: The retention rate index value includes: the number of active days of accessing the application from the 1st day to the Nth day; Predicting the retention rate index values of the experimental group and the control group in the second time period according to the retention rates of the experimental group and the control group in the first time period and the retention rates of the experimental group and the control group in the predicted time interval includes: The daily retention rates of the experimental group and the control group in the second time period are accumulated and summed to obtain the retention rate index values of the experimental group and the control group in the second time period.
4. The method according to claim 1, wherein: According to the retention rate index values of the experimental group and the control group in the second time period, calculating the absolute difference in the retention rate index between the experimental group and the control group, including: The difference between the retention rate index value of the experimental group and the retention rate index value of the control group is determined as the absolute difference in the retention rate index between the experimental group and the control group.
5. The method according to any one of claims 1 to 4, before determining the effect of the difference application function in the test application according to the absolute difference of the retention rate indicator, further comprising: The absolute difference of the retention rate indicator is input into a pre-trained difference correction model, and the output result of the difference correction model is used to update the absolute difference of the retention rate indicator.
6. The method according to claim 5, before inputting the absolute difference of the retention rate indicator into the pre-trained difference correction model, further comprising: Acquire multiple annotated samples, each of which includes: an absolute difference in retention rate indicators between an experimental sample group and a control sample group during the second time period and a true value of the absolute difference in retention rate indicators; The preset machine learning model is trained using each of the labeled samples to obtain the difference correction model.
7. The method according to claim 6, wherein: Get multiple labeled samples, including: According to the application data of each application object in the full amount of application objects matching the current application, a plurality of abnormal application object groups are obtained in the full amount of application objects; Each of the abnormal application object groups includes: an experimental sample group and a control sample group whose difference values of application data meet the difference value threshold condition; During the second time period, performing AA test on the experimental sample group and the control sample group in each abnormal application object group respectively to obtain AA test results; According to the AA test result, a labeled sample corresponding to each of the abnormal application object groups is formed.
8. According to the method of claim 6 or 7, each labeled sample further includes: At least one application experience index value, a random parameter value, and the second time period corresponding to the experimental sample group and the control sample group respectively; The absolute difference of the retention rate indicator is input into a pre-trained difference correction model, including: At least one application experience index value corresponding to the test application and the current application, the absolute difference of the retention rate index, the randomly generated target random number and the second time period are input into the difference correction model.
9. The method according to any one of claims 1 to 4, wherein: Determine the effect of the difference application function in the test application according to the absolute difference of the retention rate indicator, including: Comparing the absolute difference of the retention rate indicator with a preset retention rate indicator fluctuation threshold; If the absolute difference in the retention rate indicator exceeds the preset retention rate indicator fluctuation threshold, the effect of the difference application function in the test application is determined according to the absolute difference in the retention rate indicator.
10. The method according to claim 9, wherein: Comparing the absolute difference of the retention rate indicator with a preset retention rate indicator fluctuation threshold includes: According to the target data magnitudes corresponding to the experimental group and the control group, querying a fluctuation query table to obtain a retention rate indicator fluctuation threshold that matches the target data magnitude; The retention rate indicator absolute difference is compared with the retention rate indicator fluctuation threshold obtained by query.
11. The method according to claim 10, before querying the fluctuation query table according to the data magnitudes of the experimental group and the control group, further comprises: Performing hash bucketing on all application objects matching the current application to form a first number of data groups, each data group having a second number of application objects; According to the current data level, a third number of data groups are obtained according to the optimal sampling method to generate a table building experimental group and a table building test group; In the second time period, the absolute difference between the retention rate indicators corresponding to the table-building experimental group and the table-building control group is calculated; Return to execute the operation of obtaining a third number of data groups according to the optimal sampling method according to the current data level, and generating a table building experimental group and a table building test group, until a fourth number of absolute differences of retention rate indicators matching the current data level are generated; Calculating a quantile of a set percentage according to the absolute difference values of the retention rate indicators of the fourth quantities as a retention rate indicator fluctuation threshold value corresponding to the current data magnitude; After the new data level is updated, returning to execute the operation of obtaining a third number of data groups according to the optimal sampling method according to the current data level, until the retention rate indicator fluctuation thresholds corresponding to the preset multiple data levels are obtained; The fluctuation query table is formed according to the retention rate indicator fluctuation thresholds corresponding to each of the data magnitudes.
12. A data analysis device based on AB test results, comprising: An AB testing module, configured to provide a test application and a current application to an experimental group and a control group, respectively, for AB testing within a first time period, wherein the test application and the current application have at least one different application function; A retention rate index value prediction module, used to predict the retention rate index values of the experimental group and the control group in a second time period according to the retention rates of the experimental group and the control group in a first time period, wherein the first time period is shorter than the second time period, and the retention rate index value is a data value reflecting the retention status of the user in the second time period; a retention rate index absolute difference calculation module, used to calculate the retention rate index absolute difference between the experimental group and the control group according to the retention rate index values of the experimental group and the control group in the second time period; The function effect determination module is used to determine the effect of the difference application function in the test application according to the absolute difference of the retention rate indicator.
13. The device according to claim 12, wherein: The retention rate indicator value prediction module includes: A prediction power function fitting unit, used for fitting the prediction power functions corresponding to the experimental group and the control group respectively according to the retention rates of the experimental group and the control group in the first time period; a prediction time interval determining unit, configured to determine a prediction time interval according to the first time period and the second time period; A retention rate prediction unit, used to predict the retention rates of the experimental group and the control group in the prediction time interval respectively according to each of the prediction power functions; The retention rate index value prediction unit is used to predict the retention rate index values of the experimental group and the control group in a second time period according to the retention rates of the experimental group and the control group in the first time period and the retention rates of the experimental group and the control group in the predicted time interval.
14. The device according to claim 13, wherein: The retention rate index value includes: the number of active days of accessing the application from the 1st day to the Nth day; The retention rate index value prediction unit is specifically used for: The daily retention rates of the experimental group and the control group in the second time period are accumulated and summed to obtain the retention rate index values of the experimental group and the control group in the second time period.
15. The device according to claim 12, wherein: The absolute difference calculation module of retention rate indicator includes: The retention rate index absolute difference determination unit is used to determine the difference between the retention rate index value of the experimental group and the retention rate index value of the control group by subtracting the retention rate index value of the experimental group from the retention rate index value of the control group as the absolute difference in the retention rate index between the experimental group and the control group.
16. The device according to any one of claims 12 to 15, further comprising: The retention rate indicator absolute difference update module is used to input the retention rate indicator absolute difference into a pre-trained difference correction model before determining the effect of the difference application function in the test application based on the retention rate indicator absolute difference, and use the output result of the difference correction model to update the retention rate indicator absolute difference.
17. The apparatus according to claim 16, further comprising: A labeled sample acquisition module, used for acquiring a plurality of labeled samples before inputting the absolute difference of the retention rate indicator into a pre-trained difference correction model, wherein each of the labeled samples includes: the absolute difference of the retention rate indicator of the experimental sample group and the control sample group in the second time period and the true value of the absolute difference of the retention rate indicator; The difference correction model acquisition module is used to use each of the labeled samples to train a preset machine learning model to obtain the difference correction model.
18. The device according to claim 17, wherein: The labeled sample acquisition module includes: an abnormal application object group acquisition unit, configured to acquire a plurality of abnormal application object groups from the full amount of application objects according to application data of each application object in the full amount of application objects matching the current application; Each of the abnormal application object groups includes: an experimental sample group and a control sample group whose difference values of application data meet the difference value threshold condition; An AA test result acquisition unit, configured to perform an AA test on each of the experimental sample group and the control sample group in each of the abnormal application object groups within the second time period to obtain an AA test result; The annotated sample forming unit is used to form annotated samples corresponding to each of the abnormal application object groups according to the AA test results.
19. The apparatus according to claim 17 or 18, wherein each labeled sample further comprises: At least one application experience index value, a random parameter value, and the second time period corresponding to the experimental sample group and the control sample group respectively; Among them, the retention rate indicator absolute difference update module includes: The parameter input unit is used to input at least one application experience index value corresponding to the test application and the current application, the absolute difference of the retention rate index, the randomly generated target random number and the second time period into the difference correction model.
20. The device according to any one of claims 12 to 15, wherein: Functional effect determination module, including: a retention rate indicator absolute difference comparison unit, configured to compare the retention rate indicator absolute difference with a preset retention rate indicator fluctuation threshold; The function effect determination unit is used to determine the effect of the difference application function in the test application according to the absolute difference of the retention rate indicator if the absolute difference of the retention rate indicator exceeds the preset retention rate indicator fluctuation threshold.
21. The device according to claim 20, wherein: The retention rate indicator absolute difference comparison unit is specifically used for: According to the target data magnitudes corresponding to the experimental group and the control group, querying a fluctuation query table to obtain a retention rate indicator fluctuation threshold that matches the target data magnitude; The retention rate indicator absolute difference is compared with the retention rate indicator fluctuation threshold obtained by query.
22. The apparatus according to claim 21, further comprising: a data grouping forming module, configured to perform hash bucketing on the full amount of application objects matching the current application before querying the fluctuation query table according to the data magnitudes of the experimental group and the control group, so as to form a first number of data groups, each of which has a second number of application objects; A table building experimental group and table building test group generating module, used for obtaining a third number of data groups according to the current data level and using an optimal sampling method to generate a table building experimental group and a table building test group; A second calculation module for the absolute difference of the retention rate index, used to calculate the absolute difference of the retention rate index corresponding to the table-building experimental group and the table-building control group within the second time period; A first return execution module, configured to return to execute an operation of obtaining a third number of data groups according to an optimal sampling method according to the current data level, and generating a table building experimental group and a table building test group, until a fourth number of absolute differences in retention rate indicators matching the current data level are generated; a retention rate indicator fluctuation threshold generating module, configured to calculate a quantile of a set percentage according to the absolute difference of each of the fourth number of retention rate indicators as a retention rate indicator fluctuation threshold corresponding to the current data magnitude; A second return execution module is used to return to execute the operation of obtaining a third number of data groups according to the optimal sampling method according to the current data level after updating the new data level, until the retention rate indicator fluctuation thresholds corresponding to the preset multiple data levels are obtained; The fluctuation query table forming module is used to form the fluctuation query table according to the retention rate indicator fluctuation thresholds corresponding to each of the data magnitudes.
23. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions to be executed by the at least one processor, and the instructions are executed by the at least one processor so as to enable the at least one processor to perform the method according to any one of claims 1 to 11.
24. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-11.
25. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 11.
