Business attribute prediction method, device and equipment

The business scenario indicator data is processed and trained through the business attribute prediction model, which solves the problem of being unable to predict changes in business attributes in the existing technology, achieves accurate prediction of scenario-level time series data, supports network policy adjustment, and improves user experience and Resource utilization efficiency.

CN118803669APending Publication Date: 2024-10-18CHINA MOBILE GRP GUANGDONG CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410664585.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing technologies cannot effectively predict and adapt to changes in business attributes, resulting in operators' limited flexibility in policy adjustment, low efficiency in network resource optimization and allocation, and inability to meet complex and dynamic network requirements.

Method used

By acquiring and processing business scenario indicator data, the business attribute prediction model is used for training, including data cleaning, feature selection and encoding, and algorithms such as linear regression and Gaussian kernel functions are used to generate prediction models to achieve accurate prediction of business attributes.

Benefits of technology

It achieves timely and accurate prediction of scenario-level time series business attribute data, supports network policy adjustment, and improves user experience and network resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803669A_ABST
    Figure CN118803669A_ABST
Patent Text Reader

Abstract

The invention relates to a service attribute prediction method, device and equipment, and effectively solves the problems that prediction capability is lacked, and changes of service attributes cannot be recognized and adapted in advance. In order to solve the technical problems in the prior art that the service attribute prediction method not only limits the flexibility of an operator in strategy adjustment, but also affects the optimal configuration and utilization efficiency of network resources, and cannot meet increasingly complex and dynamic network requirements, the service attribute prediction method comprises the following steps: obtaining service scene index data of a to-be-predicted service scene; and inputting the business scene index data into a business attribute prediction model to obtain business attributes of the to-be-predicted business scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of wireless data technology, and in particular to a method, device and equipment for predicting service attributes. Background Art

[0002] Since each scenario has its own unique business characteristics and application scenarios, different scenarios at different time points will show different business characteristics. However, existing technologies have several obvious defects in scenario optimization. First, due to the uniqueness of the business characteristics and application requirements of each scenario, and their dynamic nature over time, it is difficult for existing technologies to adapt to and predict these changes in a timely and effective manner. This is mainly because operators currently rely mainly on manual offline methods to obtain business attribute information of scenarios, including on-site surveys by testers and data collection through business indicator statistics. This method is not only inefficient, but also has obvious lags in information collection.

[0003] In addition, existing technologies rely on statistics and adjustments based on business activities that have already occurred, lack forecasting capabilities, and cannot identify and adapt to changes in business attributes in advance. This not only limits the flexibility of operators in adjusting policies, but also affects the optimal configuration and utilization efficiency of network resources.

[0004] Therefore, the existing methods of obtaining scene service attribute label information and adjusting network policies cannot meet the increasingly complex and dynamic network requirements. In order to improve the response speed and efficiency of network services, it is urgent to develop new technologies that can monitor and predict scene changes in real time so that operators can adjust network resources in real time to better serve the needs of various business scenarios. Summary of the invention

[0005] In order to solve the above technical problems, the present disclosure provides a method, device and equipment for predicting service attributes, which effectively solves the problem of lack of prediction ability and inability to identify and adapt to changes in service attributes in advance. This not only limits the flexibility of operators in adjusting policies, but also affects the optimal configuration and utilization efficiency of network resources, and cannot meet the technical problems of increasingly complex and dynamic network requirements.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for predicting a service attribute, the method comprising:

[0007] Obtain business scenario indicator data of the business scenario to be predicted;

[0008] The business scenario indicator data is input into the business attribute prediction model to obtain the business attributes of the business scenario to be predicted.

[0009] In a possible implementation, in the method provided by the embodiment of the present invention, the business attribute prediction model is trained by the following method:

[0010] Obtain multiple historical perception indicator data of the cell in the shared layer scenario;

[0011] Label each historical perception indicator data to obtain multiple feature data for training the business attribute prediction model and the labeling result corresponding to each feature data;

[0012] Taking multiple feature data as input, the business attribute corresponding to each feature data is compared with the annotation result corresponding to the feature data, and a business attribute prediction model is generated based on the difference between the business attribute corresponding to each feature data and the annotation result corresponding to the feature data.

[0013] In a possible implementation manner, in the method provided by the embodiment of the present invention, after acquiring multiple historical perception indicator data of a cell in a shared layer scenario, the method further includes:

[0014] Data cleaning is performed on multiple historical perception indicator data, where data cleaning includes at least one of the following: removing duplicate values, processing missing values, processing outliers, data type conversion, and data normalization.

[0015] In a possible implementation, in the method provided by the embodiment of the present invention, each historical perception indicator data is labeled to obtain multiple feature data for training the business attribute prediction model and the labeling result corresponding to each feature data, including:

[0016] Label each historical perception indicator data to obtain a labeling result corresponding to each historical perception indicator data;

[0017] Based on the multiple historical perception indicator data and the annotation results corresponding to each historical perception indicator data, multiple feature data and the annotation results corresponding to each feature data for training the business attribute prediction model are obtained;

[0018] In a possible implementation manner, in the method provided by the embodiment of the present invention, each historical perception indicator data is labeled to obtain a labeling result corresponding to each historical perception indicator data, including:

[0019] Using a linear regression model, determine a two-dimensional data set of business attribute labels and business attribute proportions in historical perception indicator data;

[0020] The Gaussian kernel function is used to determine the labeling results corresponding to the historical perception indicator data based on the two-dimensional data set of business attribute labels and business attribute proportions.

[0021] In a possible implementation manner, in the method provided by an embodiment of the present invention, obtaining multiple feature data and the labeling results corresponding to each feature data for training a business attribute prediction model based on multiple historical perception indicator data and the labeling results corresponding to each historical perception indicator data includes:

[0022] Based on the CART algorithm, the Gini index method is used to perform feature selection on multiple historical perception indicator data and the annotation results corresponding to each historical perception indicator data, so as to obtain multiple feature data and the annotation results corresponding to each feature data for training the business attribute prediction model.

[0023] In a possible implementation manner, in the method provided by the embodiment of the present invention, based on the CART algorithm, a Gini index method is used to perform feature selection on multiple historical perception indicator data and the annotation results corresponding to each historical perception indicator data, and after obtaining multiple feature data for training a business attribute prediction model and the annotation results corresponding to each feature data, the method further includes:

[0024] Each feature data is encoded, and the encoded feature data is divided into a data set for training the business attribute prediction model and a test set for evaluating the business attribute prediction model.

[0025] In a second aspect, an embodiment of the present disclosure provides a device for predicting service attributes, the device comprising:

[0026] An acquisition unit, used to acquire business scenario indicator data of the business scenario to be predicted;

[0027] The processing unit is used to input the business scenario indicator data into the business attribute prediction model to obtain the business attributes of the business scenario to be predicted.

[0028] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit is further used to train the business attribute prediction model by the following method:

[0029] Obtain multiple historical perception indicator data of the cell in the shared layer scenario;

[0030] Label each historical perception indicator data to obtain multiple feature data for training the business attribute prediction model and the labeling result corresponding to each feature data;

[0031] Taking multiple feature data as input, the business attribute corresponding to each feature data is compared with the annotation result corresponding to the feature data, and a business attribute prediction model is generated based on the difference between the business attribute corresponding to each feature data and the annotation result corresponding to the feature data.

[0032] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit is specifically used for:

[0033] Data cleaning is performed on multiple historical perception indicator data, where data cleaning includes at least one of the following: removing duplicate values, processing missing values, processing outliers, data type conversion, and data normalization.

[0034] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit is specifically used for:

[0035] Label each historical perception indicator data to obtain a labeling result corresponding to each historical perception indicator data;

[0036] Based on the multiple historical perception indicator data and the annotation results corresponding to each historical perception indicator data, multiple feature data and the annotation results corresponding to each feature data for training the business attribute prediction model are obtained;

[0037] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit is specifically used for:

[0038] Using a linear regression model, determine a two-dimensional data set of business attribute labels and business attribute proportions in historical perception indicator data;

[0039] The Gaussian kernel function is used to determine the labeling results corresponding to the historical perception indicator data based on the two-dimensional data set of business attribute labels and business attribute proportions.

[0040] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit is specifically used for:

[0041] Based on the CART algorithm, the Gini index method is used to perform feature selection on multiple historical perception indicator data and the annotation results corresponding to each historical perception indicator data, so as to obtain multiple feature data and the annotation results corresponding to each feature data for training the business attribute prediction model.

[0042] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit is further configured to:

[0043] Each feature data is encoded, and the encoded feature data is divided into a data set for training the business attribute prediction model and a test set for evaluating the business attribute prediction model.

[0044] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0045] Memory;

[0046] Processor; and

[0047] Computer programs;

[0048] The computer program is stored in the memory and is configured to be executed by the processor to implement the above-mentioned method for predicting business attributes.

[0049] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above-mentioned method for predicting business attributes when the computer program is executed by a processor.

[0050] The present disclosure provides a method for predicting service attributes, including:

[0051] First, obtain the business scenario indicator data of the business scenario to be predicted, and then input the business scenario indicator data into the business attribute prediction model to obtain the business attributes of the business scenario to be predicted. By applying the business attribute prediction model provided by the present disclosure, the problem of the inability to accurately estimate the business attributes of scenarios in different time periods in traditional network optimization, or the problem of certain lag, long time consumption and low efficiency caused by manual collection and judgment, and statistics based on indicators that have occurred, is solved. The scene-level time-series business attribute data can be predicted in a timely and accurate manner, providing business attribute data support for the adjustment of the scene network strategy, and further improving the user experience of each time period. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0054] Figure 1 A flowchart of a method for predicting business attributes provided by an embodiment of the present disclosure;

[0055] Figure 2 A flowchart of a method for training a business attribute prediction model provided by an embodiment of the present disclosure;

[0056] Figure 3 A schematic diagram of the principle of a service type indicator coding table provided in an embodiment of the present disclosure;

[0057] Figure 4 A schematic diagram of dividing a scene history perception data set provided in an embodiment of the present disclosure;

[0058] Figure 5 A schematic diagram of the structure of a device for predicting service attributes provided by an embodiment of the present disclosure;

[0059] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0060] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0061] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0062] 1. In the embodiments of the present invention, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0063] Since each scenario has its own unique business characteristics and application scenarios, different scenarios at different time nodes will show different business characteristics. For example, in the scenario of a live broadcast company, there will be a demand for live video services during working hours; while in the scenario of a securities office, the business demand for securities apps and emails during working hours. During non-office hours, people tend to use instant messaging or gaming services such as Weibo, Moments, and games. With the development of the network, the flow of personnel, and the emergence of new services, the business attributes between scenarios have become variable and uncertain. Mobile network operators are unable to make corresponding network policy adjustments for specific scenarios, specific time periods, and specific services in a timely manner, and thus cannot meet the requirements for scenario network policy adjustments that follow the business and enable on-demand. Therefore, the prediction of business attributes of scenarios has become a major problem in current scenario optimization.

[0064] At present, operators obtain service attribute label information for scenarios mainly through manual offline collection and judgment of scenario service attributes, that is, through on-site testing and investigation by testers and customer managers to obtain the service attributes of each time period of the scenario, or through statistics of business indicators. However, the existing technology defines the acquisition of service attribute label information for each time period of the scenario, mainly through manual offline collection and judgment of the service attributes of each time period of the scenario, or through statistics through business indicators, which are all based on the collection or statistics of the business that has occurred. The acquisition of service attribute information of the scenario has a certain lag and is time-consuming and inefficient. It is impossible to quickly predict the service attributes of each time period of the scenario in advance, and it is impossible to provide accurate service attribute data support for the adjustment of the scenario network strategy in advance.

[0065] This proposal uses the decision tree-CART algorithm to predict the business attributes of each time period of the scene based on the scene's historical perception business data. This solves the pain points that the business attributes of different time periods of the scene cannot be accurately estimated in traditional network optimization, or that the manual collection and statistics of scene business attributes based on indicators are lagging, time-consuming and inefficient.

[0066] Figure 1 A flowchart of a method for predicting business attributes provided by an embodiment of the present disclosure specifically includes the following steps: Figure 1 The following steps S101 to S102 are shown:

[0067] S101. Obtain business scenario indicator data of the business scenario to be predicted.

[0068] During specific implementation, the business scenario indicator data includes indicators such as time, scenario name, cell_id, application download rate, application download traffic, application download duration, number of application download requests, application download success rate, call volume and call traffic. After obtaining the business scenario indicator data, the business scenario indicator data can also be pre-processed, such as removing duplicate data and filling in missing data.

[0069] S102: Input the business scenario indicator data into the business attribute prediction model to obtain the business attributes of the business scenario to be predicted.

[0070] During specific implementation, the business scenario indicator data is input into the business attribute prediction model to obtain the output business attributes of the business scenario to be predicted.

[0071] Figure 2 A flow chart of a training method for a business attribute prediction model provided in an embodiment of the present disclosure, specifically including the following steps: Figure 2 The following steps S201 to S203 are shown:

[0072] S201. Obtain multiple historical perception indicator data of a cell in a shared layer scenario.

[0073] During the specific implementation, the historical perception indicator data of the cell hourly granularity of the shared layer scenario is obtained. The perception indicator data includes: time, scenario name, cell_id, application download rate, application download traffic, application download duration, number of application download requests, application download success rate, call order volume and call order traffic, etc., which are used as input data for model training.

[0074] S202: Label each historical perception indicator data to obtain a plurality of feature data for training a business attribute prediction model and a labeling result corresponding to each feature data.

[0075] In specific implementation, in data prediction, the accuracy of data labels will directly affect the results of data prediction. Due to the development of the network, personnel mobility, and the emergence of new services, the business attributes between scenes have become variable and uncertain. Scene business attribute labels cannot be manually counted, or manual counting cannot adapt to the variability of business attributes and has poor timeliness. Therefore, in the prediction of scene business attribute data, attribute label calculation and identification have become the top priority of scene business attribute prediction.

[0076] In this method, the scene business attribute label identification is firstly based on the linear regression model to realize the calculation of the business attribute label and the business attribute proportion of each cell in the scene, and then the Gaussian kernel function model is used to convert the scene cell business attribute label and the business attribute proportion data into three-dimensional data, and finally the scene business attribute label identification is completed through the three-dimensional data model.

[0077] The business attribute proportion is calculated for the call record volume and call record flow of each service in each cell in the scenario data, and the business attribute identification and business attribute proportion of the scenario cell are determined by the business attribute proportion.

[0078] Business attribute ratio = call volume*A+call flow*B+C(parameter)

[0079] Apply the linear regression model to calculate the values ​​of coefficients A and B, where parameter C is a tuning parameter. The default value is 0, and specific values ​​can be set according to the importance of different services. Linear regression is a statistical model used to establish a linear relationship between variables. In this method, business attributes are used as dependent variables, call volume and call flow are used as independent variables, and coefficients A and B are inferred by fitting historical data sets.

[0080] Specifically, first, the business attributes are replaced by the numbers 1, 2, 3, 4, and 5 instead of the business attribute types: application download, instant messaging, page display, video playback, and game services; then the historical scenario data set is input to ensure that the three columns of business attributes, call volume, and call volume in the data set are numerical data; then the linear regression model training is imported, and B and C in the data set are used as independent variables, and A is used as the dependent variable to fit the linear regression model; then the values ​​of coefficients A and B can be obtained through the trained model. The values ​​of coefficients A, B, and parameter C are substituted into the formula to calculate the proportion of business attributes. By comparing the proportion of business attributes of different services in the scenario cell, a two-dimensional data set of scenario cell business attribute labels and business attribute proportions is obtained.

[0081] After obtaining the two-dimensional data set, the Gaussian kernel function model is used to realize the scene business attribute identification. Since the data set for obtaining the scene cell business attribute label and the business attribute proportion is a two-dimensional data set, there is a certain overlap in the data, which makes it impossible to accurately complete the scene cell business attribute label to the scene business attribute label identification. In order to solve the overlap problem of two-dimensional data, this method applies the Gaussian kernel function model and converts the scene cell business attribute label two-dimensional data into three-dimensional data through feature engineering processing, thereby realizing the scene cell business attribute label to the scene business attribute label identification.

[0082] Gaussian Kernel Function, also known as Radial Basis Function (RBF), is a commonly used nonlinear kernel function. The Gaussian kernel function is used for kernel function conversion to convert two-dimensional data into three-dimensional data. The Gaussian kernel function is one of the commonly used kernel functions and can map data into a high-dimensional space.

[0083] The Gaussian kernel function is defined as follows:

[0084] K(x,x')=exp(-γ*||x-x'||^2)

[0085] Among them, x and x' are two sample points of the input data, γ is the parameter of the Gaussian kernel function, and ||x-x'||^2 represents the square of the Euclidean distance.

[0086] By using the Gaussian kernel function, the two-dimensional data is mapped into three-dimensional space to solve the problem of data overlap.

[0087] Specifically, first import a two-dimensional data set, that is, obtain a two-dimensional data set of scene cell service attribute labels and service attribute proportions, where the service attribute proportion is set to x and the service attribute is set to y. Then calculate the kernel matrix, and use the Gaussian kernel function to calculate the kernel matrix of the original two-dimensional data set. Use the function in the machine learning library to calculate the kernel matrix.

[0088] The calculation formula of Gaussian kernel function is:

[0089] K(x,x')=exp(-γ*||x-x'||^2)

[0090] Among them, γ is the parameter of the Gaussian kernel function, and ||x-x'||^2 represents the square of the Euclidean distance. Finally, the three-dimensional data is transformed, and each element of the kernel matrix is ​​calculated to represent the similarity between two sample points, and the kernel matrix is ​​used as the transformed three-dimensional data. The transformed data set is X_transformed = K(X,X), where K is the kernel matrix.

[0091] Through the three-dimensional data model converted from two-dimensional data, the scene cell service attribute label is converted to the scene service attribute label identification.

[0092] In this step, before labeling, the historical perception indicator data obtained in S201 may be cleaned as follows:

[0093] Remove duplicate values: Check whether there are duplicate values ​​in the dataset. If there are empty values ​​such as scene name and cell_id, delete them to ensure the accuracy and consistency of the dataset.

[0094] Handling missing values: Check whether there are missing values ​​in the data set, and take appropriate measures according to the situation. In particular, if there is no business data in the early morning of scene data such as exhibition halls, delete the missing values ​​or use interpolation methods to fill in the missing values.

[0095] Handling outliers: Check whether there are outliers in the data set, that is, values ​​that are significantly deviated from other observed values. If the service download rate, establishment times, initiation duration, etc. have negative values ​​or abnormally large values, delete the outliers or use statistical methods to correct them.

[0096] Data type conversion: Ensure that the variable type in the dataset correctly matches its actual meaning, such as converting numeric variables into categorical variables or date variables.

[0097] Data normalization: For the numerical quantities of different scales in the input scene data, they are normalized to the interval [0,1000] so that the data has a unified dimension to avoid deviation in model training.

[0098] S203, taking multiple feature data as input, comparing the business attribute outputted corresponding to each feature data with the annotation result corresponding to the feature data, and training and generating a business attribute prediction model based on the difference between the business attribute outputted corresponding to each feature data and the annotation result corresponding to the feature data.

[0099] During the specific implementation, feature selection is first performed. In order to construct a decision tree, appropriate features are selected. Usually, information gain, information gain ratio, Gini index and other methods can be used for feature selection. For the output data of step S202, time, scene name, cell_id, business type index, and business type of each time period are used as feature value input (x), and scene business attributes are used as target value output (y). It is specifically implemented based on the CART algorithm, and feature selection is performed using the Gini index method. The Gini index represents the impurity of the model. The smaller the Gini coefficient, the lower the impurity, and the better the feature. The Gini index measures the classification ability of a certain feature in the data set on a given node. Specifically, first for a given node, the Gini index of each feature is calculated. Then for each feature, the weighted average of its Gini index is calculated. Then select the feature with the minimum weighted average Gini index as the partition feature of the current node. Afterwards, the data set is divided into different subsets according to the selected partition feature. Finally, for each subset, the above operation process is repeated until the stop condition is met, such as reaching the maximum depth or the number of samples in the node is less than a certain threshold.

[0100] For example, for sample D, the calculation formula of the Gini index is as follows:

[0101]

[0102] Among them, p(x i ) is the category x i The probability of occurrence, n is the number of classifications. Gini(D) reflects the probability that two samples are randomly selected from the data set D and their category labels are inconsistent. Therefore, the smaller Gini(D), the higher the purity of the data set D.

[0103] For sample D, the number is |D|. According to whether feature A takes a certain possible value a, sample D is divided into two parts D 1 and D 2 , thus building a binary tree.

[0104] D 1 ={(x,y)∈D|A(x)=a},D 2 =DD 1

[0105] Under the condition of attribute A, the Gini index of sample D is defined as:

[0106]

[0107] Then, feature encoding is performed on the selected features, converting them into numerical features to facilitate the calculation of the decision tree.

[0108] This method targets five types of business indicators: application download, instant messaging, page display, video playback, and game business, and converts them into unique hot codes to represent them as: 001, 010, 011, 100, 101, such as Figure 3 As shown in the figure, before model training based on the CART (Classification and Regression Tree) algorithm, the data set after data cleaning, feature selection and feature encoding needs to be divided into a training set and a test set. Common data set division methods include random division and K-fold cross validation. In order to ensure that the data distribution of the training set and the test set is relatively uniform and there are no repeated samples between the two, this method adopts a random division method, that is, the scene history perception data set is randomly divided into 3 / 4 training set and 1 / 4 test set, as shown in the figure. Figure 4 shown.

[0109] After processing the feature data, the model is trained. This process mainly includes three key steps: decision tree generation, decision tree pruning and model evaluation:

[0110] 1) Generation of decision tree

[0111] Starting from the root node: The construction of the decision tree starts from the root node and selects the best features to split the data set. The process of selecting features is based on some algorithmically determined optimality criterion, usually information gain or Gini index.

[0112] Select the best features: The CART algorithm usually uses the Gini index to select the best features for each node. The Gini index can measure the impurity of the data and select the features that can maximize the difference between classes for segmentation.

[0113] Recursive splitting: Continue to repeat the steps of selecting the best features and splitting for each generated child node until the stopping condition is met. These conditions may include the node reaching the minimum number of samples, the tree reaching the preset maximum depth, or the purity of the node is high enough.

[0114] 2) Decision Tree Pruning

[0115] Avoid overfitting: Once a decision tree is generated, it may fit the training data very complexly and exhaustively, resulting in poor generalization to new data. Pruning is a technique to reduce the complexity of the tree and prevent overfitting.

[0116] Cross-validation determines pruning points: Cross-validation allows you to evaluate the performance of trees with different pruning levels and find the best pruning points. Typically, this involves removing certain nodes from the fully grown tree to improve the model's performance on independent test data.

[0117] 3) Model evaluation

[0118] Performance metrics: Use the split test set to evaluate the performance of the model. This includes calculating statistical metrics such as the model's accuracy, precision, and recall to understand how the model performs on independent data.

[0119] Model visualization: Visualization of decision trees helps us understand how the model makes decisions. This increases the transparency and interpretability of the model and helps users and developers verify the logic of the model.

[0120] The whole process is a process of abstracting decision logic from specific data, aiming to build a model that is both accurate and generalizable to new data. Through the above steps, the classification and regression tree algorithm can be effectively used to solve practical problems.

[0121] Figure 5 The structure diagram of the prediction device of the service attribute provided by the embodiment of the present disclosure is as follows. The prediction device 500 of the service attribute provided by the embodiment of the present disclosure can execute the processing flow provided by the above-mentioned prediction method embodiment of the service attribute, such as Figure 5 As shown, the service attribute prediction device 500 includes an acquisition unit 501 and a processing unit 502, wherein:

[0122] An acquisition unit 501 is used to acquire business scenario indicator data of a business scenario to be predicted;

[0123] The processing unit 502 is used to input the business scenario indicator data into the business attribute prediction model to obtain the business attributes of the business scenario to be predicted.

[0124] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit 502 is further configured to train the service attribute prediction model by the following method:

[0125] Obtain multiple historical perception indicator data of the cell in the shared layer scenario;

[0126] Label each historical perception indicator data to obtain multiple feature data for training the business attribute prediction model and the labeling result corresponding to each feature data;

[0127] Taking multiple feature data as input, the business attribute corresponding to each feature data is compared with the annotation result corresponding to the feature data, and a business attribute prediction model is generated based on the difference between the business attribute corresponding to each feature data and the annotation result corresponding to the feature data.

[0128] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit 502 is specifically configured to:

[0129] Data cleaning is performed on multiple historical perception indicator data, where data cleaning includes at least one of the following: removing duplicate values, processing missing values, processing outliers, data type conversion, and data normalization.

[0130] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit 502 is specifically configured to:

[0131] Label each historical perception indicator data to obtain a labeling result corresponding to each historical perception indicator data;

[0132] Based on the multiple historical perception indicator data and the annotation results corresponding to each historical perception indicator data, multiple feature data and the annotation results corresponding to each feature data for training the business attribute prediction model are obtained;

[0133] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit 502 is specifically configured to:

[0134] Using a linear regression model, determine a two-dimensional data set of business attribute labels and business attribute proportions in historical perception indicator data;

[0135] The Gaussian kernel function is used to determine the labeling results corresponding to the historical perception indicator data based on the two-dimensional data set of business attribute labels and business attribute proportions.

[0136] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit 502 is specifically configured to:

[0137] Based on the CART algorithm, the Gini index method is used to perform feature selection on multiple historical perception indicator data and the annotation results corresponding to each historical perception indicator data, so as to obtain multiple feature data and the annotation results corresponding to each feature data for training the business attribute prediction model.

[0138] In a possible implementation manner, in the device provided by the embodiment of the present invention, the processing unit 502 is further specifically configured to:

[0139] Each feature data is encoded, and the encoded feature data is divided into a data set for training the business attribute prediction model and a test set for evaluating the business attribute prediction model.

[0140] Figure 5 The device for predicting business attributes of the illustrated embodiment can be used to execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar and will not be described in detail here.

[0141] In addition, combined Figure 1-Figure 5 The method and apparatus for predicting service attributes described in the embodiments of the present application may be implemented by an electronic device. Figure 6A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0142] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 to a random access memory (RAM) 603 to implement the prediction method of the service attribute of the embodiment described in the present disclosure. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0143] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0144] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart, thereby implementing the voice control method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0145] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0146] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with 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"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0147] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0148] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0149] Obtain business scenario indicator data of the business scenario to be predicted;

[0150] The business scenario indicator data is input into the business attribute prediction model to obtain the business attributes of the business scenario to be predicted.

[0151] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.

[0152] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0153] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0154] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0155] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0156] 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.

[0157] The present disclosure provides a method for predicting service attributes, including:

[0158] First, obtain the business scenario indicator data of the business scenario to be predicted, and then input the business scenario indicator data into the business attribute prediction model to obtain the business attributes of the business scenario to be predicted. By applying the business attribute prediction model provided by the present disclosure, the problem of the inability to accurately estimate the business attributes of scenarios in different time periods in traditional network optimization, or the problem of certain lag, long time consumption and low efficiency caused by manual collection and judgment, and statistics based on indicators that have occurred, is solved. The scene-level time-series business attribute data can be predicted in a timely and accurate manner, providing business attribute data support for the adjustment of the scene network strategy, and further improving the user experience of each time period.

[0159] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0160] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0161] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0162] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0163] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0164] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for predicting business attributes, It is characterized in that The method comprises: Obtain business scenario indicator data of the business scenario to be predicted; The business scenario indicator data is input into a business attribute prediction model to obtain the business attributes of the business scenario to be predicted.

2. The method according to claim 1, It is characterized in that The business attribute prediction model is trained by the following method: Obtain multiple historical perception indicator data of the cell in the shared layer scenario; Labeling each of the historical perception indicator data to obtain a plurality of feature data for training the business attribute prediction model and a labeling result corresponding to each feature data; Taking the multiple feature data as input, the business attribute corresponding to the output of each feature data is compared with the annotation result corresponding to the feature data, and the business attribute prediction model is generated by training based on the difference between the business attribute corresponding to the output of each feature data and the annotation result corresponding to the feature data.

3. The method according to claim 2, It is characterized in that After acquiring a plurality of historical perception indicator data of a cell in a shared layer scenario, the method further includes: Data cleaning is performed on the plurality of historical perception indicator data, wherein the data cleaning includes at least one of the following: removing duplicate values, processing missing values, processing abnormal values, data type conversion, and data normalization.

4. The method according to claim 3, It is characterized in that The step of labeling each of the historical perception indicator data to obtain a plurality of feature data for training the business attribute prediction model and a labeling result corresponding to each feature data includes: Labeling each of the historical perception indicator data to obtain a labeling result corresponding to each of the historical perception indicator data; Based on the multiple historical perception indicator data and the annotation results corresponding to each of the historical perception indicator data, multiple feature data and the annotation results corresponding to each of the feature data for training the business attribute prediction model are obtained.

5. The method according to claim 4, It is characterized in that The step of labeling each of the historical perception indicator data to obtain a labeling result corresponding to each of the historical perception indicator data includes: Determine a two-dimensional data set of business attribute labels and business attribute proportions in the historical perception indicator data using a linear regression model; A Gaussian kernel function is used to determine a labeling result corresponding to the historical perception indicator data based on a two-dimensional data set of the business attribute labels and the business attribute proportions.

6. The method according to claim 4, It is characterized in that The obtaining of a plurality of feature data and a labeling result corresponding to each feature data for training the business attribute prediction model based on the plurality of historical perception indicator data and the labeling result corresponding to each historical perception indicator data includes: Based on the CART algorithm, the Gini index method is used to perform feature selection on the multiple historical perception indicator data and the annotation results corresponding to each of the historical perception indicator data, so as to obtain multiple feature data and the annotation results corresponding to each feature data for training the business attribute prediction model.

7. The method according to claim 6, It is characterized in that After performing feature selection on the plurality of historical perception indicator data and the annotation results corresponding to each of the historical perception indicator data using the Gini index method based on the CART algorithm to obtain the plurality of feature data and the annotation results corresponding to each of the feature data for training the business attribute prediction model, the method further includes: Each of the feature data is encoded, and the encoded feature data is divided into a data set for training the business attribute prediction model and a test set for evaluating the business attribute prediction model.

8. A device for predicting business attributes, It is characterized in that The device comprises: An acquisition unit, used to acquire business scenario indicator data of the business scenario to be predicted; The processing unit is used to input the business scenario indicator data into the business scenario prediction model to obtain the business attributes of the business scenario to be predicted.

9. An electronic device, It is characterized in that include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method for predicting business attributes as described in any one of claims 1 to 7.

10. A computer-readable storage medium having computer program instructions stored thereon, It is characterized in that When the computer program instructions are executed by a processor, a method for predicting business attributes according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Evaluation method for traffic safety

    CN119940981A