Package determination method, apparatus and device, and computer readable storage medium

The target transition probability algorithm and machine learning model are used to predict the future characteristics of user groups, solving the problem of package recommendation deviation caused by the lag of user characteristic data, and improving the accuracy of recommendations and user experience.

CN118803620AActive Publication Date: 2024-10-18CHINA MOBILE GROUP ANHUI +1
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202311172884.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-11
Publication Date
2024-10-18
Estimated Expiration
2043-09-11

AI Technical Summary

Technical Problem

The time lag of user characteristic data affects the accuracy of phone bill package recommendations, resulting in a large deviation between the recommendation results and the actual needs of users.

Method used

The target transition probability algorithm and machine learning model are used to predict future characteristics based on the historical characteristics of the user group, thereby more accurately determining the phone package required by the user.

Benefits of technology

It reduces the impact of feature data lag on package recommendations and improves recommendation accuracy and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803620A_ABST
    Figure CN118803620A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a package determination method and device, equipment and a computer readable storage medium, and the method comprises the steps: obtaining first target features of N user groups in a historical period, N being a positive integer; for any user group, obtaining a second target feature of the user group in a future period based on a target transition probability algorithm and the first target feature of the user group in the historical period; and according to the second target feature of each user group in the future period and the at least one machine learning model, determining a telephone charge package corresponding to each user group. According to the embodiment of the invention, the accuracy of determining the telephone charge package required by the user group can be improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of artificial intelligence technology, and in particular, relates to a method, device, equipment and computer-readable storage medium for determining a package. Background Art

[0002] As the Internet continues to integrate into social economy and daily life, people have become accustomed to various online information interactions, which has generated a large amount of data. This data contains a lot of characteristic information, such as user consumption behavior, basic information, etc. These characteristics include users' consumption intentions and also hide their potential consumption capabilities.

[0003] However, when recommending corresponding call packages to users based on their feature data, the time lag of the feature data will affect the improvement of recommendation accuracy, resulting in a large deviation between the recommended call packages and the actual needs of users. Summary of the invention

[0004] The embodiments of the present application provide a method, apparatus, device and computer-readable storage medium for determining a package, which can more accurately determine the call package required by each user group and improve the user experience.

[0005] In a first aspect, an embodiment of the present application provides a method for determining a package, and the method for determining a package includes: obtaining the first target characteristics of N user groups in a historical period, where N is a positive integer; for any user group, based on a target transition probability algorithm and the first target characteristics of the user group in the historical period, obtaining the second target characteristics of the user group in the future period; determining the call charge package corresponding to each user group according to the second target characteristics of each user group in the future period and at least one machine learning model.

[0006] According to the implementation scheme of the first aspect of the present application, the first target feature includes x first discrete features and y first continuous features, and the second target feature includes x second discrete features and y second continuous features, where x and y are both positive integers; for any user group, based on the target transition probability algorithm and the first target feature of the user group in the historical period, the second target feature of the user group in the future period is obtained, including: based on the target transition probability algorithm and the x first discrete features of the user group in the historical period, the x second discrete features of the user group in the future period are obtained; based on the target transition probability algorithm and the y first continuous features of the user group in the historical period, the y second continuous features of the user group in the future period are obtained.

[0007] According to any of the aforementioned embodiments of the first aspect of the present application, the target transition probability algorithm includes a Markov chain transition probability algorithm, the historical period includes at least two sub-historical periods, and the user group includes a first user who handles the business corresponding to the first discrete feature in the sub-historical period and a second user who does not handle the business corresponding to the first discrete feature in the sub-historical period; based on the target transition probability algorithm and the x first discrete features of the user group in the historical period, the x second discrete features of the user group in the future period are obtained, including: for any first discrete feature, calculating the first probability that the first user in the i-th sub-historical period is converted to the first user in the i+1 sub-historical period, calculating the second probability that the first user in the i-th sub-historical period is converted to the second user in the i+1 sub-historical period, calculating the third probability that the second user in the i-th sub-historical period is converted to the first user in the i+1 sub-historical period, and calculating the fourth probability that the second user in the i-th sub-historical period is converted to the second user in the i+1 sub-historical period, where i is a positive integer; according to the first probability, the second probability, the third probability and the fourth probability, a first conversion probability matrix corresponding to the first discrete feature is obtained; according to the first conversion probability matrix corresponding to the first discrete feature, the second discrete feature corresponding to the first discrete feature is determined.

[0008] According to any of the aforementioned implementations of the first aspect of the present application, before obtaining the first target features of N user groups in the historical period, it also includes: based on the target classification theory and the target classification model, multiple users are divided into multiple user groups, the target classification theory includes survival, relationship and growth theory; for each type of user group, each type of user group is divided into at least one user group based on a clustering algorithm; the user groups in the multiple types of user groups are aggregated to obtain N user groups.

[0009] According to any of the aforementioned implementations of the first aspect of the present application, before dividing multiple users into multiple user groups based on the target classification theory and the target classification model, it also includes: obtaining the characteristics of multiple users in the historical period; processing the characteristics of multiple users in the historical period based on feature engineering to obtain the characteristics of multiple users after feature engineering processing; obtaining the first target characteristics of N user groups in the historical period, including: obtaining the first target characteristics of N user groups in the historical period based on the characteristics of multiple users after feature engineering processing.

[0010] According to any of the aforementioned implementations of the first aspect of the present application, before processing the features of multiple users in historical periods based on feature engineering to obtain the features of multiple users after feature engineering processing, it also includes: performing data cleaning on the features of multiple users in historical periods to obtain the features of multiple users after data cleaning; normalizing the features of multiple users after data cleaning to obtain the normalized features of multiple users; processing the features of multiple users in historical periods based on feature engineering to obtain the features of multiple users after feature engineering processing, including: processing the normalized features of multiple users based on feature engineering to obtain the features of multiple users after feature engineering processing.

[0011] According to any of the aforementioned implementations of the first aspect of the present application, the call package corresponding to each user group is determined based on the second target characteristics of each user group in the future period and at least one machine learning model, including: for the second target characteristics of any user group in the future period, the second target characteristics of the user group in the future period are input into multiple different machine learning models to obtain prediction results of the multiple machine learning models for the call package corresponding to the user group; when the prediction results of a preset number of machine learning models are consistent, the prediction results of the preset number of machine learning models are used as the call package corresponding to the user group.

[0012] According to any of the aforementioned embodiments of the first aspect of the present application, the multiple different machine learning models include at least two of a random forest model, a back propagation neural network model, a support vector machine model, a logistic regression model, a distributed gradient boosting model, and a K nearest neighbor classification algorithm model.

[0013] In second aspect, an embodiment of the present application provides a device for determining a package, and the device for determining a package includes: a first acquisition module, used to obtain the first target characteristics of N user groups in a historical period, where N is a positive integer; a prediction module, used to obtain, for any user group, the second target characteristics of the user group in the future period based on the target transition probability algorithm and the first target characteristics of the user group in the historical period; a first determination module, used to determine the corresponding call package for each user group based on the second target characteristics of each user group in the future period and at least one machine learning model.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the method for determining a package provided in the first aspect are implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for determining a package provided in the first aspect are implemented.

[0016] The package determination method, apparatus, device and computer-readable storage medium of the embodiment of the present application first obtain the first target features of N user groups in the historical period, where N is a positive integer; then, for any user group, based on the target transition probability algorithm and the first target features of the user group in the historical period, obtain the second target features of the user group in the future period; then, according to the second target features of each user group in the future period and at least one machine learning model, determine the call package corresponding to each user group. The embodiment of the present application determines the call package corresponding to each user group based on the second target features of each user group in the future period predicted by the target transition probability algorithm and at least one machine learning model, that is, the call package corresponding to the user group can be determined by using the second target features of the user group in the future period, which can reduce the impact of the lag of the user's feature data on the determined call package, improve the accuracy of determining the call package required for the user group, and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0018] Figure 1 A flowchart of a method for determining a package provided in an embodiment of the present application;

[0019] Figure 2 A schematic diagram of a flow chart of S102 in the method for determining a package provided in an embodiment of the present application;

[0020] Figure 3 Another flowchart of a method for determining a package provided in an embodiment of the present application;

[0021] Figure 4 A schematic diagram of another flow chart of a method for determining a set meal provided in an embodiment of the present application;

[0022] Figure 5 A schematic diagram of another flow chart of a method for determining a set meal provided in an embodiment of the present application;

[0023] Figure 6 A schematic diagram of a flow chart of S103 in the method for determining a package provided in an embodiment of the present application;

[0024] Figure 7 A schematic diagram of a flow chart of a device for determining a set meal provided in an embodiment of the present application;

[0025] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0026] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0027] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

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

[0029] It is obvious to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit or scope of the present application. Therefore, the present application is intended to cover modifications and changes of the present application that fall within the scope of the corresponding claims (technical solutions for protection) and their equivalents. It should be noted that the implementation methods provided in the embodiments of the present application can be combined with each other without contradiction.

[0030] Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate the understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:

[0031] As the Internet continues to integrate into social economy and daily life, people have become accustomed to various online information interactions, which has generated a large amount of data. This data contains a lot of characteristic information, such as user consumption behavior, basic information, etc. These characteristics include users' consumption intentions and also hide their potential consumption capabilities.

[0032] However, when recommending corresponding call packages to users based on their feature data, the time lag of the feature data will affect the improvement of recommendation accuracy, resulting in a large deviation between the recommended call packages and the actual needs of users.

[0033] In order to solve the problems of the prior art, the embodiments of the present application provide a method, apparatus, device and computer-readable storage medium for determining a package.

[0034] The technical concept of the embodiment of the present application is: first, obtain the first target features of N user groups in the historical period, where N is a positive integer; then, for any user group, based on the target transition probability algorithm and the first target features of the user group in the historical period, obtain the second target features of the user group in the future period; then, determine the corresponding call package for each user group based on the second target features of each user group in the future period and at least one machine learning model. The embodiment of the present application determines the corresponding call package for each user group based on the second target features of each user group in the future period predicted by the target transition probability algorithm and at least one machine learning model, that is, the second target features of the user group in the future period can be used to determine the corresponding call package for the user group, which can reduce the impact of the lag of the user's feature data on the determined call package, improve the accuracy of determining the call package required for the user group, and improve the user experience.

[0035] The following first introduces the method for determining the package provided in the embodiment of the present application.

[0036] Figure 1 A flow chart of a method for determining a package provided in an embodiment of the present application. Figure 1 As shown, the method for determining the package may include the following steps S101 to S103.

[0037] S101. Obtain the first target features of N user groups in a historical period, where N is a positive integer.

[0038] A user group may include at least one user. The historical period is a past period of time, such as the past month, the past three months, or the past six months. The first target feature includes but is not limited to the user's age, gender, location, and some features related to the user's consumption record.

[0039] S102: For any user group, based on the target transition probability algorithm and the first target feature of the user group in the historical period, obtain the second target feature of the user group in the future period.

[0040] Among them, the target transfer probability algorithm includes but is not limited to the Markov chain transfer probability algorithm, which will be described in detail below and will not be repeated here. For any user group, the first target feature of the user group in the historical period can be predicted based on the target transfer probability algorithm, and the change trend of the first target feature in the future period can be predicted, so as to obtain the second target feature of the user group in the future period. The future period is a future time period, such as the next month, the next three months, or the next six months.

[0041] S103: Determine a corresponding call package for each user group based on the second target feature of each user group in the future period and at least one machine learning model.

[0042] Among them, call fee packages include but are not limited to 4G packages or 5G packages.

[0043] A machine learning model can be established in advance based on at least one machine learning algorithm, and the machine learning model can be trained to obtain a trained machine learning model.

[0044] In S103, the second target feature of each user group in the future period may be input into at least one machine learning model to obtain the result of the call charge package corresponding to each user group output by the at least one machine learning model.

[0045] The method for determining the package in the embodiment of the present application first obtains the first target features of N user groups in the historical period, where N is a positive integer; then, for any user group, based on the target transition probability algorithm and the first target features of the user group in the historical period, obtains the second target features of the user group in the future period; then, according to the second target features of each user group in the future period and at least one machine learning model, determines the call package corresponding to each user group. The embodiment of the present application determines the call package corresponding to each user group based on the second target features of each user group in the future period predicted by the target transition probability algorithm and at least one machine learning model, that is, the call package corresponding to the user group can be determined by using the second target features of the user group in the future period, which can reduce the impact of the lag of the user's feature data on the determined call package, improve the accuracy of determining the call package required for the user group, and improve the user experience.

[0046] According to some embodiments of the present application, optionally, the first target feature may include x first discrete features and y first continuous features. The second target feature may include x second discrete features and y second continuous features, where x and y are both positive integers.

[0047] Discrete features are features that can only take a finite number of values, such as gender, whether a certain service has been handled, etc. Discrete features are usually represented by integers or strings and cannot take arbitrary values. Continuous features are features that can take arbitrary values, such as height, call duration, etc. Continuous features can be represented by real numbers.

[0048] Figure 2 This is a flow chart of S102 in the method for determining a package provided in the embodiment of the present application. Figure 2 As shown, according to some embodiments of the present application, optionally, S102, for any user group, based on the target transition probability algorithm and the first target feature of the user group in the historical period, obtaining the second target feature of the user group in the future period may include the following steps S201 and S202.

[0049] S201 . Based on a target transition probability algorithm and the x first discrete features of the user group in a historical period, obtain x second discrete features of the user group in a future period.

[0050] Taking the target transfer probability algorithm as the Markov chain transfer probability algorithm as an example, the Markov chain is a random process with Markov properties in probability theory and mathematical statistics and exists in a discrete exponential set and state space, represented by a conditional distribution, and P(Xn+1|Xn) is called the "transition probability" in the random process. Through the model conversion of the Markov chain, the state of the event can be converted into a transition probability matrix (also known as a state distribution matrix). The historical cycle may include at least two sub-historical cycles. The time span of each sub-historical cycle can be flexibly adjusted according to actual conditions, and the embodiments of the present application are not limited to this. For example, in some examples, the time span of a sub-historical cycle can be one month.

[0051] The user group may include a first user who has handled a service corresponding to the first discrete feature in the sub-historical period and a second user who has not handled a service corresponding to the first discrete feature in the sub-historical period. For example, taking the first discrete feature as "whether the user has subscribed to a traffic package" as an example, the first user is a user who has subscribed to a traffic package in the sub-historical period, and the second user is a user who has not subscribed to a traffic package in the sub-historical period.

[0052] In some specific embodiments, S201, based on the target transition probability algorithm and the x first discrete features of the user group in the historical period, obtain x second discrete features of the user group in the future period, which may specifically include step one, step two and step three.

[0053] Step 1. For any first discrete feature, calculate the first probability that the first user in the i-th sub-historical period is converted to the first user in the i+1 sub-historical period, calculate the second probability that the first user in the i-th sub-historical period is converted to the second user in the i+1 sub-historical period, calculate the third probability that the second user in the i-th sub-historical period is converted to the first user in the i+1 sub-historical period, and calculate the fourth probability that the second user in the i-th sub-historical period is converted to the second user in the i+1 sub-historical period, where i is a positive integer.

[0054] For example, the first conversion probability matrix corresponding to the first discrete feature is:

[0055]

[0056] Among them, P 1,1 represents the first probability that the first user in the i-th sub-historical period is converted into the first user in the i+1-th sub-historical period, P 1,2 represents the second probability that the first user in the i-th sub-historical period is converted into the second user in the i+1-th sub-historical period, P 2,1 represents the third probability that the second user in the i-th sub-historical period is converted to the first user in the i+1-th sub-historical period, P 2,2Represents the fourth probability that the second user in the i-th sub-historical period is converted into the second user in the (i+1)-th sub-historical period.

[0057] Taking the first discrete feature "whether the user has subscribed to a traffic package" as an example, assuming that 100,000 user samples are selected from the user group, if the user subscribes to a traffic package X in the i-th sub-historical period v The number of first users is m v1 , then the current is m v1 / 100000. Then count the subscription status of the traffic package in the i+1th sub-historical period. If the subscription of traffic package X in the i+1th sub-historical period v The number of first users is m v2 , then the current is m v2 / 100000. In some examples, the first probability P 1,1 Can be and The second probability P 1,2 =1-P 1,1 .

[0058] If the traffic package X is not ordered in the i-th sub-historical period v The number of second users is m v3 , then the current is m v3 / 100000. Then count the subscription status of the traffic package in the i+1th sub-historical period. If the traffic package X is not subscribed in the i+1th sub-historical period, v The number of second users is m v4 , then the current is m v4 / 100000. In some examples, the fourth probability P 2,2 Can be and The third probability P 2,1 =1-P 2,2 .

[0059] In order to make the obtained first conversion probability matrix more objective and accurate, in some embodiments, the first probability P can be determined based on the results of multiple sub-historical periods. 1,1 , the second probability P 1,2 , the third probability P 2,1 And the fourth probability P 2,2 .

[0060] For example, using the same calculation and In a similar way, calculate the current period of the i+2th sub-historical period Calculate the current period of the i+3th sub-historical period ..., calculate the current period of the i+nth sub-historical period n is an integer greater than 1. The first probability P 1,1 The multiple sub-historical periods can be The corresponding mean is u=1,2,…,n+1.

[0061] For example, using the same calculation and In a similar way, calculate the current period of the i+2th sub-historical period Calculate the current period of the i+3th sub-historical period ..., calculate the current period of the i+nth sub-historical period n is an integer greater than 1. The fourth probability P 2,2 The number of sub-historical periods can be The corresponding mean is u=1,2,…,n+1.

[0062] The second probability P 1,2 =1-P 1,1 , the third probability P 2,1 =1-P 2,2 .

[0063] Step 2: Obtain a first conversion probability matrix corresponding to the first discrete feature according to the first probability, the second probability, the third probability and the fourth probability.

[0064] After getting the first probability P 1,1 , the second probability P 1,2 , the third probability P 2,1 And the fourth probability P 2,2 After that, the first conversion probability matrix P corresponding to the first discrete feature can be obtained (u,v) .

[0065] Step three: determine the second discrete feature corresponding to the first discrete feature according to the first conversion probability matrix corresponding to the first discrete feature.

[0066] Using the first conversion probability matrix P corresponding to the first discrete feature (u,v) , which can predict the second discrete feature of the next future period, for example, it can predict the next future period to order traffic package X v The number of first users and unsubscribed traffic packages X in the next future period v The number of the second user.

[0067] S202 : Based on the target transition probability algorithm and the y first continuous features of the user group in the historical period, obtain y second continuous features of the user group in the future period.

[0068] In S202, the Markov chain transition probability algorithm may be used to predict the y first continuous features of the user group in the historical period to obtain the y second continuous features of the user group in the future period. The specific process is similar to that of S201 and will not be repeated here.

[0069] The inventors of this application have further discovered that the current relevant technology usually adopts a single-layer segmentation strategy when classifying user groups. However, if the sample size of a single clustering target is large and the convergence speed is slow, the clustering result is likely to converge to the local optimum and fail to obtain the global optimal solution. It is easily affected by noise, edge points, and isolated points, and the clustering effect for high-dimensional data objects is poor.

[0070] In view of this, some embodiments of the present application adopt a double-layer cross-segmentation strategy, combining ERG theory (existence, relatedness, growth, i.e., the three core needs theory of survival, mutual relationship, and growth), the Kano model, and the actual needs of the business to divide users into multiple user groups, and then accurately subdivide the atomic user group (minimum user group) in each user group through a clustering algorithm, thereby achieving accurate user segmentation. Among them, the Kano model is a useful tool for classifying and prioritizing user needs.

[0071] Figure 3 Another flowchart of the method for determining a package provided in the embodiment of the present application is shown below. Figure 3 As shown, according to some embodiments of the present application, optionally, before S101, obtaining the first target features of N user groups in the historical period, the method for determining the package may also include the following steps S301 to S303.

[0072] S301. Based on the target classification theory and target classification model, multiple users are divided into multiple user groups. The target classification theory includes survival, mutual relationship and growth theory.

[0073] The target classification model includes but is not limited to the KANO model. For example, in some embodiments, based on the ERG theory and the KANO model, user needs can be divided into five categories from low to high: basic, urgent, stable, desired, and attractive. Accordingly, multiple users can be divided into five user groups. The five user groups can be labeled with demand type labels L1, L2, L3, L4, and L5 respectively.

[0074] S302 : For each type of user group, divide each type of user group into at least one user group based on a clustering algorithm.

[0075] The clustering algorithm includes but is not limited to the K-means clustering algorithm. For any type of user group, the user group can be further subdivided into at least one user group based on the clustering algorithm.

[0076] When the user groups are divided into at least one user group based on the clustering algorithm, the user groups may be divided according to parameters such as user scale, user turnover, communication consumption level, etc., or by integrating multiple parameters.

[0077] S303: Summarize the user groups in the multiple types of user groups to obtain N user groups.

[0078] In this way, the embodiment of the present application adopts a two-layer cross-segmentation strategy, combining ERG theory, Kano model and actual business needs to divide users into multiple user groups, and then accurately subdivides atomic user groups (minimum user groups) in each user group through a clustering algorithm, thereby achieving accurate segmentation of users and helping to match accurate call packages for each segmented atomic user group.

[0079] The inventor of this application has further studied and found that the current related technology mainly uses the random forest algorithm to screen the user's features, but the random forest algorithm can only screen out the features that have a greater impact on the prediction results. Features that have a greater impact on the prediction results do not mean that the features are effective, and incorporating invalid features into the model expands the dimension of data analysis, increases the sparsity of data and the complexity of modeling.

[0080] In view of this, some embodiments of the present application use feature engineering methods such as variance analysis, correlation test, feature information value assessment, and chi-square test to screen features. On the other hand, when the user samples of each package are unbalanced, the recommendation accuracy of rare categories is low. Therefore, the embodiments of the present application recommend packages to each atomic user group respectively, thereby improving the recommendation accuracy of each category.

[0081] Figure 4 Another flow chart of the method for determining a package provided in the embodiment of the present application. Figure 4 As shown, according to some embodiments of the present application, optionally, before S301, based on target classification theory and target classification model, multiple users are divided into multiple user groups, the method for determining the package may also include the following steps S401 and S402.

[0082] S401: Obtain characteristics of multiple users in a historical period.

[0083] That is, before classifying multiple users, the characteristics of the multiple users in the historical period can be obtained first.

[0084] S402: Process the features of multiple users in historical periods based on feature engineering to obtain features of multiple users after feature engineering processing.

[0085] In some examples, feature engineering methods such as variance analysis, correlation test, feature information value (IV) evaluation and / or chi-square test can be used to process the features of multiple users in historical periods to obtain the features of multiple users after feature engineering processing, that is, to screen the features.

[0086] Accordingly, S201, obtaining the first target features of N user groups in the historical period, includes the following steps:

[0087] Based on the features processed by feature engineering of multiple users, the first target features of N user groups in the historical period are obtained.

[0088] Figure 5 Another flow chart of the method for determining a package provided in the embodiment of the present application. Figure 5 As shown, according to some embodiments of the present application, optionally, before S402, processing the features of multiple users in historical periods based on feature engineering to obtain the features of multiple users after feature engineering processing, the method for determining the package may also include the following steps S501 and S502.

[0089] S501. Perform data cleaning on features of multiple users in historical periods to obtain features of multiple user data after cleaning.

[0090] In S501, the latest user information record can be obtained, necessary feature indicators can be extracted, invalid data can be filtered, and basic data processing such as missing values ​​and extreme values ​​can be completed.

[0091] S502: normalize the cleaned features of multiple user data to obtain normalized features of multiple users.

[0092] In S502, data normalization may be performed, for example, Min-Max normalization may be used to limit the data to 0 to 1 to ensure that the feature information is dimensionless.

[0093] Accordingly, S402, processing the features of multiple users in historical periods based on feature engineering to obtain features of multiple users after feature engineering processing, may include the following steps:

[0094] Based on feature engineering, the normalized features of multiple users are processed to obtain features processed by feature engineering of multiple users.

[0095] According to some embodiments of the present application, optionally, after S402, based on feature engineering, the features of multiple users in the historical period are processed to obtain the features of multiple users after feature engineering, the method for determining the package may further include the following steps:

[0096] Determine m features to be used based on the scenario and / or business needs.

[0097] Wherein, m is a positive integer. That is, in feature engineering, features can be further screened according to scenarios and / or business needs to screen out features that are ultimately required to be used.

[0098] The inventors of the present application have further discovered that the current related technologies usually use a single machine learning model for prediction, which results in low accuracy of prediction results.

[0099] In view of this, in some embodiments of the present application, a variety of different machine learning models with higher prediction accuracy, such as random forest model, back propagation neural network model, support vector machine model, logistic regression model, distributed gradient enhancement model and K nearest neighbor classification algorithm model, are selected for integration. When the prediction results of a preset number of machine learning models are consistent, the final prediction result is output, thereby improving the accuracy of the prediction result.

[0100] Figure 6 This is a flow chart of S103 in the method for determining a package provided in the embodiment of the present application. Figure 6 As shown, according to some embodiments of the present application, optionally, S103, determining the call charge package corresponding to each user group based on the second target features of each user group in the future period and at least one machine learning model, can include the following steps S601 and S602.

[0101] S601. For the second target feature of any user group in the future period, the second target feature of the user group in the future period is input into a plurality of different machine learning models to obtain prediction results of the plurality of machine learning models for the corresponding call charge packages of the user group.

[0102] Among them, the multiple different machine learning models include at least two of the random forest model, the back propagation neural network model, the support vector machine model, the logistic regression model, the distributed gradient enhancement model and the K nearest neighbor classification algorithm model. For example, in some embodiments, the above six different machine learning models with better performance can be used for prediction. The second target feature of the user group in the future period is input into the multiple different machine learning models to obtain the prediction results of the multiple machine learning models for the corresponding telephone fee packages of the user group.

[0103] S602. When the prediction results of a preset number of machine learning models are consistent, the prediction results of the preset number of machine learning models are used as the call charge package corresponding to the user group.

[0104] The machine learning model can be evaluated from four perspectives: accuracy, recall, precision and F1 value. At least two machine learning models with higher evaluation scores are selected. If the prediction results of the at least two machine learning models are consistent, the prediction results of the at least two machine learning models are used as the phone fee package corresponding to the user group.

[0105] In this way, in some embodiments of the present application, a variety of different machine learning models with higher prediction accuracy, such as random forest model, back propagation neural network model, support vector machine model, logistic regression model, distributed gradient enhancement model and K nearest neighbor classification algorithm model, are selected for integration. When the prediction results of a preset number of machine learning models are consistent, the final prediction result is output, thereby improving the accuracy of the prediction result.

[0106] Based on the method for determining a package provided in the above embodiment, the present application also provides a specific implementation of a device for determining a package. Please refer to the following embodiment.

[0107] Figure 7 A flow chart of a device for determining a set meal provided in an embodiment of the present application. Figure 7 As shown, the package determination device 70 provided in the embodiment of the present application may include the following modules:

[0108] The first acquisition module 701 is used to acquire the first target features of N user groups in a historical period, where N is a positive integer;

[0109] Prediction module 702, for obtaining, for any user group, a second target feature of the user group in a future period based on a target transition probability algorithm and a first target feature of the user group in a historical period;

[0110] The first determination module 703 is used to determine the call charge package corresponding to each user group according to the second target feature of each user group in the future period and at least one machine learning model.

[0111] The package determination device of the embodiment of the present application obtains the first target features of N user groups in the historical period, where N is a positive integer; for any user group, based on the target transition probability algorithm and the first target features of the user group in the historical period, obtains the second target features of the user group in the future period; and determines the call package corresponding to each user group based on the second target features of each user group in the future period and at least one machine learning model. The embodiment of the present application determines the call package corresponding to each user group based on the second target features of each user group in the future period predicted by the target transition probability algorithm and at least one machine learning model, that is, the call package corresponding to the user group can be determined by using the second target features of the user group in the future period, which can reduce the impact of the lag of the user's feature data on the determined call package, improve the accuracy of determining the call package required for the user group, and improve the user experience.

[0112] In some embodiments, the first target feature includes x first discrete features and y first continuous features, and the second target feature includes x second discrete features and y second continuous features, where x and y are both positive integers. The prediction module 702 is specifically used to obtain x second discrete features of the user group in the future period based on the target transition probability algorithm and the x first discrete features of the user group in the historical period; and to obtain y second continuous features of the user group in the future period based on the target transition probability algorithm and the y first continuous features of the user group in the historical period.

[0113] In some embodiments, the target transition probability algorithm includes a Markov chain transition probability algorithm, the historical period includes at least two sub-historical periods, and the user group includes a first user who handles the business corresponding to the first discrete feature in the sub-historical period and a second user who does not handle the business corresponding to the first discrete feature in the sub-historical period. The prediction module 702 is specifically used to calculate, for any first discrete feature, a first probability that the first user in the i-th sub-historical period is converted to the first user in the i+1 sub-historical period, a second probability that the first user in the i-th sub-historical period is converted to the second user in the i+1 sub-historical period, a third probability that the second user in the i-th sub-historical period is converted to the first user in the i+1 sub-historical period, and a fourth probability that the second user in the i-th sub-historical period is converted to the second user in the i+1 sub-historical period, where i is a positive integer; obtain a first conversion probability matrix corresponding to the first discrete feature based on the first probability, the second probability, the third probability, and the fourth probability; determine a second discrete feature corresponding to the first discrete feature based on the first conversion probability matrix corresponding to the first discrete feature.

[0114] In some embodiments, the package determination device 70 provided in the embodiment of the present application may also include a classification module, which is used to divide multiple users into multiple user groups based on target classification theory and target classification model, the target classification theory includes survival, mutual relationship and growth theory; for each type of user group, each type of user group is divided into at least one user group based on a clustering algorithm; the user groups in the multiple types of user groups are aggregated to obtain N user groups.

[0115] In some embodiments, the package determination device 70 provided in the embodiment of the present application may also include a feature engineering processing module for obtaining features of multiple users in a historical period; based on feature engineering, the features of multiple users in a historical period are processed to obtain features of multiple users after feature engineering processing. The first acquisition module 701 is specifically used to obtain the first target features of N user groups in a historical period based on the features of multiple users after feature engineering processing.

[0116] In some embodiments, the package determination device 70 provided in the embodiment of the present application may also include a preprocessing module for performing data cleaning on the features of multiple users in the historical period to obtain the features of multiple users after data cleaning; performing normalization processing on the features of multiple users after data cleaning to obtain the features of multiple users after normalization processing. The feature engineering processing module is specifically used to process the features of multiple users after normalization processing based on feature engineering to obtain the features of multiple users after feature engineering processing.

[0117] In some embodiments, the first determination module 703 is specifically used to input the second target characteristics of any user group in the future period into multiple different machine learning models to obtain prediction results of the call package corresponding to the user group by multiple machine learning models; when the prediction results of a preset number of machine learning models are consistent, the prediction results of the preset number of machine learning models are used as the call package corresponding to the user group.

[0118] In some embodiments, the multiple different machine learning models include at least two of a random forest model, a back propagation neural network model, a support vector machine model, a logistic regression model, a distributed gradient boosting model, and a K-nearest neighbor classification algorithm model.

[0119] Figure 7 Each module / unit in the device shown has the function of implementing each step in the method for determining a package provided in the above method embodiment, and can achieve its corresponding technical effect. For the sake of concise description, it will not be repeated here.

[0120] Based on the method for determining a package provided in the above embodiment, the present application also provides a specific implementation of an electronic device. Please refer to the following embodiment.

[0121] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0122] The electronic device may include a processor 801 and a memory 802 storing computer program instructions.

[0123] Specifically, the processor 801 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0124] The memory 802 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 802 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. In one example, the memory 802 may include a removable or non-removable (or fixed) medium, or the memory 802 is a non-volatile solid-state memory. The memory 802 may be inside or outside the electronic device.

[0125] In one example, the memory 802 may be a read-only memory (ROM). In one example, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0126] The memory 802 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present application.

[0127] The processor 801 implements the method / steps in the above method embodiment by reading and executing the computer program instructions stored in the memory 802, and achieves the corresponding technical effects achieved by the method embodiment executing its method / steps, which will not be repeated here for the sake of brevity.

[0128] In one example, the electronic device may further include a communication interface 803 and a bus 810. Figure 8 As shown, the processor 801, the memory 802, and the communication interface 803 are connected via a bus 810 and communicate with each other.

[0129] The communication interface 803 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0130] Bus 810 includes hardware, software or both, and the parts of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, front side bus (Front Side Bus, FSB), Hyper Transport (Hyper Transport, HT) interconnection, industry standard architecture (Industry Standard Architecture, ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 810 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0131] In addition, in combination with the method for determining the package in the above embodiment, the embodiment of the present application may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the methods for determining the package in the above embodiment is implemented. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as electronic circuits, semiconductor memory devices, ROM, random access memory, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, and hard disks.

[0132] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0133] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0134] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0135] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0136] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application.

Claims

1. A method for determining a package. It is characterized in that include: Obtain the first target features of N user groups in the historical period, where N is a positive integer; For any one of the user groups, based on the target transition probability algorithm and the first target feature of the user group in the historical period, obtain the second target feature of the user group in the future period; According to the second target characteristics of each of the user groups in the future period and at least one machine learning model, the call charge packages corresponding to each of the user groups are determined.

2. The method according to claim 1, It is characterized in that The first target feature includes x first discrete features and y first continuous features, and the second target feature includes x second discrete features and y second continuous features, where x and y are both positive integers; For any one of the user groups, based on the target transition probability algorithm and the first target feature of the user group in the historical period, obtaining the second target feature of the user group in the future period includes: Based on the target transition probability algorithm and the x first discrete features of the user group in the historical period, obtaining the x second discrete features of the user group in the future period; Based on the target transition probability algorithm and the y first continuous features of the user group in the historical period, the y second continuous features of the user group in the future period are obtained.

3. The method according to claim 2, It is characterized in that The target transition probability algorithm includes a Markov chain transition probability algorithm, the historical period includes at least two sub-historical periods, and the user group includes a first user who handles the service corresponding to the first discrete feature in the sub-historical period and a second user who does not handle the service corresponding to the first discrete feature in the sub-historical period; The obtaining the x second discrete features of the user group in a future period based on the target transition probability algorithm and the x first discrete features of the user group in a historical period includes: For any one of the first discrete features, calculate a first probability that the first user in the ith sub-historical period is converted to the first user in the i+1th sub-historical period, calculate a second probability that the first user in the ith sub-historical period is converted to the second user in the i+1th sub-historical period, calculate a third probability that the second user in the ith sub-historical period is converted to the first user in the i+1th sub-historical period, and calculate a fourth probability that the second user in the ith sub-historical period is converted to the second user in the i+1th sub-historical period, where i is a positive integer; Obtaining a first conversion probability matrix corresponding to the first discrete feature according to the first probability, the second probability, the third probability and the fourth probability; The second discrete feature corresponding to the first discrete feature is determined according to a first conversion probability matrix corresponding to the first discrete feature.

4. The method according to claim 1, It is characterized in that Before obtaining the first target features of the N user groups in the historical period, the method further includes: Based on the target classification theory and the target classification model, multiple users are divided into multiple user groups, wherein the target classification theory includes survival, mutual relationship and growth theory; For each type of user group, the user group is divided into at least one user group based on a clustering algorithm; The user groups in the multiple types of user groups are aggregated to obtain the N user groups.

5. The method according to claim 4, It is characterized in that Before the multiple users are divided into multiple user groups based on the target classification theory and the target classification model, the method further includes: Obtaining characteristics of the multiple users in historical periods; Processing the features of the multiple users in the historical period based on feature engineering to obtain the features of the multiple users after feature engineering processing; The obtaining of the first target features of the N user groups in the historical period includes: Based on the features of the multiple users after feature engineering processing, the first target features of the N user groups in the historical period are obtained.

6. The method according to claim 5, It is characterized in that Before processing the features of the multiple users in the historical period based on feature engineering to obtain the features of the multiple users after feature engineering processing, the method further includes: Performing data cleaning on the features of the multiple users in the historical period to obtain features of the multiple users after data cleaning; Normalizing the cleaned features of the plurality of user data to obtain normalized features of the plurality of users; The processing of the features of the multiple users in the historical period based on feature engineering to obtain the features of the multiple users after feature engineering processing includes: The normalized features of the multiple users are processed based on feature engineering to obtain the features of the multiple users processed by feature engineering.

7. The method according to claim 1, It is characterized in that The determining, according to the second target feature of each user group in the future period and at least one machine learning model, a corresponding call fee package for each user group includes: For any second target feature of the user group in the future period, input the second target feature of the user group in the future period into a plurality of different machine learning models to obtain prediction results of the plurality of machine learning models for the call fee packages corresponding to the user group; When the prediction results of a preset number of machine learning models are consistent, the prediction results of the preset number of machine learning models are used as the call charge package corresponding to the user group.

8. The method according to claim 7, It is characterized in that The multiple different machine learning models include at least two of a random forest model, a back propagation neural network model, a support vector machine model, a logistic regression model, a distributed gradient enhancement model, and a K nearest neighbor classification algorithm model.

9. A device for determining a set meal, It is characterized in that include: A first acquisition module is used to acquire the first target features of N user groups in a historical period, where N is a positive integer; A prediction module, configured to obtain, for any one of the user groups, a second target feature of the user group in a future period based on a target transition probability algorithm and a first target feature of the user group in a historical period; The first determination module is used to determine the call charge package corresponding to each of the user groups according to the second target features of each of the user groups in the future period and at least one machine learning model.

10. An electronic device, It is characterized in that The electronic device comprises: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for determining a package as described in any one of claims 1 to 8.

11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for determining a package as described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Unlimited package determining method and device and computing equipment

    CN111478779A

  • User classification model determination method, apparatus and device, and storage medium

    CN111612528A

  • Package recommendation method and device, electronic equipment and computer readable medium

    CN114186129A

  • Method and device for determining target user group, equipment and computer storage medium

    CN114491193A

  • Recommendation method and device, electronic equipment and storage medium

    CN115563391A