Method for improving order completion frequency of online car-hailing platform
By segmenting and grouping the historical data of the online car-hailing platform by time period, and using chi-square detection and training model prediction analysis, the problem of the online car-hailing platform being difficult to analyze the supply and demand situation in specific areas in detail has been solved, and the order completion frequency and service quality have been improved. .
Patent Information
- Application Number
- CN202410738984.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-07
AI Technical Summary
It is difficult for existing online ride-hailing platforms to analyze the supply and demand situation in specific areas in detail, and the frequency of completed orders as a static indicator cannot capture the dynamics of the supply-demand ratio and the influence of external factors, resulting in an imbalance between supply and demand and affecting the number of completed orders.
By segmenting the historical data of the online ride-hailing platform into time periods, using chi-square testing to determine data correlation, grouping users and training model prediction analysis, and generating supply and demand information to adjust strategies.
It improves the service quality and response timeliness of online ride-hailing platforms, and enhances the accuracy of forecasting and strategic adjustment capabilities for supply and demand in specific areas.
Smart Images

Figure CN118761483A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of online car-hailing management, and in particular to a method for improving the order completion frequency of an online car-hailing platform. Background Art
[0002] Online ride-hailing is a taxi service that is booked and used through an Internet platform. Usually, users can book a vehicle through a mobile application or website, select a destination, and track the vehicle's location in real time. The emergence of this service has changed the way the traditional taxi industry operates and improved user convenience and experience.
[0003] The existing technology has the following deficiencies: In the online car-hailing business, there are significant differences in the number of online drivers and the number of passenger orders in different areas of a specific city. First, the order completion frequency of the online car-hailing platform, as an overall indicator, is difficult to provide a detailed analysis of the supply and demand situation in a specific area, and fails to capture the differences in the number of online drivers and the number of passenger orders in different areas. Secondly, the order completion frequency is a static indicator, which is difficult to capture the dynamic nature of the supply-demand ratio over time, and is affected by the cyclical impact of external factors, such as holidays and extreme weather events. In addition, the order completion frequency does not take into account the impact of external factors on the supply-demand ratio, and cannot provide a detailed analysis of these factors, and cannot accurately predict the supply and demand situation in a specific area, which in turn causes an imbalance in supply and demand and affects the number of orders completed by the online car-hailing platform.
[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may contain information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention
[0005] The purpose of the present invention is to provide a method for improving the frequency of completion of orders on an online car-hailing platform. The method collects historical data of the online car-hailing platform and divides it into time periods. The chi-square test is used to determine the correlation between the time period data, and the users are grouped and input into a training model for training. After training, the model is used to predict and analyze the completion of online car-hailing orders, so as to make timely strategic adjustments to the online car-hailing, increase the timeliness of response, and improve the service quality of the online car-hailing platform, so as to address the deficiencies in the background technology.
[0006] In order to achieve the above object, the present invention provides the following technical solution: a method for improving the order completion frequency of an online car-hailing platform, comprising the following steps:
[0007] Collect historical data from the online ride-hailing platform, segment the time periods of the collected historical data, and use chi-square tests on the data in the segmented time periods to determine the correlation between the data in the time periods;
[0008] The users are grouped and the silhouette coefficient is used to evaluate the quality of clustering. The processed data is divided into training sets and test sets according to the time series, and the training sets are input into the training model for training;
[0009] Use the model to predict and analyze the completion of online ride-hailing orders and obtain the supply and demand information generated during the analysis process;
[0010] The accuracy of online ride-hailing order completion prediction is determined based on supply and demand information, and different management signals are generated, and strategies for online ride-hailing are adjusted based on the generated different management signals.
[0011] Preferably, the time periods of the collected historical data are segmented, and the chi-square test is used on the data in the segmented time periods to determine the correlation of the time period data, including:
[0012] Split time periods according to the same temporal distance or geographical features of the region;
[0013] Use chi-square test to analyze the data in the segmented time period, construct an observation frequency table based on the value combination of categorical variables, record the actual number of samples observed, and calculate the actual frequency and expected frequency;
[0014] Calculate the chi-square statistic of the actual and expected frequencies between time periods;
[0015] Compare the calculated chi-square statistic with the critical value of the chi-square distribution. If the chi-square statistic is greater than the critical value, the independence hypothesis is rejected and the categorical time period variable is associated with the target time period variable.
[0016] If the chi-square statistic is less than or equal to the critical value, there is no association between the categorical time period variable and the target time period variable.
[0017] Preferably, the users are grouped and the quality of the clustering is evaluated using the silhouette coefficient, including:
[0018] Use K-means clustering to group users, select the number of clusters, determine the number of clusters to be divided, calculate the distance between each data point and all cluster centers, and assign the data point to the cluster to which the nearest cluster center belongs;
[0019] For each cluster, calculate the average value of all data points in the cluster, use the average value as the new cluster center, and repeat the data point allocation and cluster center update until convergence;
[0020] Calculate the average distance of the remaining data points in the same cluster as the intra-cluster dissimilarity, calculate the average distance of all data points in the remaining clusters, select the minimum value as the inter-cluster dissimilarity, and calculate the silhouette coefficient based on the intra-cluster dissimilarity and inter-cluster dissimilarity;
[0021] The silhouette coefficient of each cluster is calculated, and users are grouped according to the value of the silhouette coefficient of each cluster.
[0022] Preferably, the supply and demand information generated during the analysis process includes:
[0023] The acquired supply and demand information includes feature contribution information, performance indicator information and strategy fluctuation information. The feature contribution information includes the feature impact deviation index, the performance indicator information includes the performance loss index, and the strategy fluctuation information includes the strategy change floating value.
[0024] Preferably, the logic for obtaining the feature impact deviation index is as follows:
[0025] Get the feature information involved in the model prediction process within the set time period. For each feature, calculate the marginal contribution value SH by factorial under different feature arrangements. The calculation expression is: In the formula, N represents the set of features, S represents a subset of N, excluding the participating feature i, and the feature influence value is calculated according to the marginal contribution value: TZ = SH*[v(S∪{i})-v(S)], where v(S∪{i}) represents the contribution of the new subset formed after adding i to the subset S to the model output, and v(S) represents the contribution of the subset S. The feature influence value set TZj = {TZ1, TZ2, TZ3, ..., TZm} is established, where m is a positive integer, and the feature mean of the feature influence value set is obtained. The characteristic influence deviation index is calculated and the calculation expression is:
[0026] Preferably, the logic of obtaining the performance loss index is as follows:
[0027] Get the number of samples nb for model training and the predicted value of completed online ride-hailing orders after training And the actual value Y of the completed order i , based on the true value and the predicted value, the mean square error value and the absolute error value are calculated. The mean square error value calculation formula is: The absolute error value calculation expression is: The performance loss index is calculated based on the mean square error value and the absolute error value, and the calculation expression is: XNS=(MAE+RMS) / (MAE*RMS).
[0028] Preferably, the logic for obtaining the floating value of the policy change is as follows:
[0029] Get the number of times the strategy is adjusted after the prediction of the online car-hailing order is completed within a unit time T and mark it as c. For each adjustment, record the adjustment change BH in each adjustment number, establish an adjustment change set BHu = {BH1, BH2, ..., BHv}, v is a positive integer, and get the average change of the adjustment change set Calculate the changing floating value, the calculation expression is Establish a floating value set FDi = {FD1, FD2, ..., FDc} for each adjustment number, where c is a positive integer, and calculate the floating value of the strategy change. The calculation expression is:
[0030] Preferably, the characteristic impact deviation index, the performance loss index and the strategy change floating value are jointly used to generate an adjustment control coefficient;
[0031] The feature impact deviation index, performance loss index, and strategy change floating value are directly proportional to the adjustment control coefficient.
[0032] Preferably, the generated adjustment control coefficient is compared with the adjustment control threshold;
[0033] If the adjustment control coefficient is greater than the adjustment control threshold, a regulation management signal is generated;
[0034] If the adjusted control coefficient is less than or equal to the adjusted control threshold, a stable operation signal is generated.
[0035] In the above technical solution, the technical effects and advantages provided by the present invention are:
[0036] The present invention collects historical data from an online car-hailing platform, then divides the time period, uses a chi-square test to determine the correlation of the time period data, groups the users, uses the silhouette coefficient to evaluate the quality of clustering, and divides the processed data into a training set and a test set according to a time series, inputs the training set into a training model for training, and after training, uses the model to perform a predictive analysis on the order completion of the online car-hailing service, obtains the supply and demand information generated during the analysis process, and determines the accuracy of the prediction of the order completion of the online car-hailing service based on the supply and demand information, thereby enabling the online car-hailing service to make timely strategy adjustments, increase response timeliness, and improve the service quality of the online car-hailing service platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0038] Figure 1 The present invention is a flow chart of a method for improving the order completion frequency of an online car-hailing platform. DETAILED DESCRIPTION
[0039] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the present disclosure will be more comprehensive and complete, and the concept of the example embodiments will be fully conveyed to those skilled in the art.
[0040] Embodiment 1: The present invention provides Figure 1 A method for improving the order completion frequency of an online car-hailing platform is shown, the method comprising the following steps:
[0041] Collect historical data from the online ride-hailing platform, segment the time periods of the collected historical data, and use chi-square tests on the data in the segmented time periods to determine the correlation between the data in the time periods;
[0042] The users are grouped and the silhouette coefficient is used to evaluate the quality of clustering. The processed data is divided into training set and test set according to the time series, and the training set is input into the training model for training. The model is used to predict and analyze the completion of online ride-hailing orders, and the supply and demand information generated during the analysis process is obtained. The accuracy of the online ride-hailing order prediction is determined based on the supply and demand information, and different management signals are generated, and the strategy of the online ride-hailing is adjusted according to the generated different management signals.
[0043] The order completion frequency of online ride-hailing platforms refers to the number of times that users successfully initiate orders on the online ride-hailing platforms and are accepted and completed by drivers. This indicator focuses on the frequency with which users use services on the platform, reflecting the platform's activity and user stickiness. The specific order completion process is as follows:
[0044] First, the user selects the departure and destination through the online ride-hailing platform's application and initiates a request to book transportation services. Then, the platform's driver accepts the user's order request, expresses willingness to provide service, and goes to the user's specified location. Finally, the driver provides service according to the order information, sends the user from the departure point to the destination, and completes the entire transaction process. The frequency of completed orders is an important indicator to measure the user's activity level and frequency of use on the platform. A higher frequency of completed orders usually indicates that users are more satisfied with the platform and are willing to frequently use the services provided by the platform. For online ride-hailing platforms, increasing the frequency of completed orders helps increase the platform's revenue while also providing more income opportunities for drivers.
[0045] The process of increasing the frequency of completed orders on online ride-hailing platforms involves multiple steps, including:
[0046] Data collection: Analyze historical data and select appropriate user groups, perform user grouping to increase the frequency of order completion, first collect relevant data, that is, collect historical order data of the online car-hailing platform, including user information, order details, geographic location, service type, order time, etc., set appropriate data collection points to ensure that comprehensive order information is obtained. By setting data collection points, including personal information when users place orders, order details (time, location, service type), payment information, etc., the platform's built-in data collection tools can be used to ensure comprehensive collection of user and order information. For geographic location data acquisition, obtain the geographic location information of users and drivers for subsequent analysis of service hotspots and behavior patterns. Use GPS or other location services to record longitude and latitude information in order data and process the collected data. The specific processing steps are as follows;
[0047] Data cleaning and preprocessing: Detect and process missing data items, and repair outliers to ensure data quality. Statistical methods (such as mean and median filling) can be used to process missing values, and box plots or other discrete statistical methods (such as standard deviation) can be used to identify and repair outliers. The box plot method is used to identify outliers in a data set. Its main steps include:
[0048] Calculate the quartiles. The first quartile Q1 represents the values of the first 25% of the data, the third quartile Q3 represents the values of the first 75% of the data, and the interquartile range IQR = Q3-Q1.
[0049] Calculate the upper and lower limits: The lower limit calculation formula is: Lower = Q1-1.5*IQR, and the upper limit calculation formula is Upper = Q3+1.5*IQR;
[0050] Draw a box plot: Draw a box in a graph, the upper boundary of the box is Q3, the lower boundary is Q1, the line in the middle of the box represents the median, and use a line segment to connect the two ends of the box. The two ends of the box are the upper and lower limits;
[0051] Identify outliers: Data values that exceed the upper and lower limits are considered outliers, and outliers are marked with dots or other marks in the box plot;
[0052] Eliminate the record containing the identified outlier or replace the outlier with the average value;
[0053] For timestamp formatting, format the timestamp in the order, use the time processing function to convert the timestamp into a readable date and time format, and use the geocoding service to convert the address information into a unified coordinate format (latitude and longitude) to standardize the geographic location.
[0054] Divide the time period, such as a day, into several specific time intervals, so as to reduce the amount of calculation of useless data when analyzing the data. For example, when the model is iterated, it can reduce overfitting and further eliminate the noise in the collected data, thereby enhancing the expression of features. First, use the division interval to divide the time period of a day into morning, mid-day, evening peak and late night periods. The time period can be divided according to the same time distance, or divided according to the geographical features of different regions;
[0055] Use the chi-square test to analyze the data in the divided time periods. The specific steps are as follows:
[0056] According to the value combination of the categorical variables, an observation frequency table is constructed to record the actual number of samples observed, and the actual frequency and expected frequency are calculated. For a table with 2 rows and columns, the calculation formula for the expected frequency is as follows: ij =(A i +B i )*(A j +B j ) / N, where E ij is the expected frequency of the i-th row and j-th column, A i represents the marginal sum of the first column of the i-th row (i.e., the sum of all elements in the i-th row), B i represents the marginal sum of the second column of the i-th row. Similarly, A j represents the marginal sum of the first row of the jth column (i.e., the sum of all elements in the jth column), B j represents the second marginal sum of the jth row, and N is the total number of samples;
[0057] Calculate the chi-square statistic using the following formula: 2 =∑(O ij -E ij ) 2 / E ij , where O ij is the actual observed frequency;
[0058] The calculated chi-square statistic is compared with the critical value of the chi-square distribution. A given significance level (such as 0.05) is usually used to determine whether to reject the independence hypothesis. If the chi-square statistic is significantly greater than the critical value, the independence hypothesis can be rejected, indicating that the categorical variable is associated with the target variable. If the chi-square statistic is not significantly greater than the critical value, the independence hypothesis cannot be rejected, indicating that the categorical variable and the target variable may be independent.
[0059] By using the chi-square test to determine the association of time period data, we can help determine whether there are significant differences in the distribution of a certain event or behavior in different time periods. For example, whether a specific service request is more likely to occur during the morning rush hour; analyze whether there are significant changes in the user's behavior pattern in different time periods, including differences in the user's order frequency, travel distance, and service type selection.
[0060] It should be noted that these steps and formulas are used to perform chi-square tests in tables with 2 rows and columns. In actual applications, for larger tables, the calculation method needs to be adjusted accordingly.
[0061] In the process of processing the collected data, some data features have obvious discrete relationships, such as the time features of timestamp conversion, and the city and region features in order data. These discrete features have no physical meaning and are only used to distinguish different entities or different data. When they are imported into the model for processing, they are usually used to convert discrete features into a format that the model can process. Using One-hot encoding, each different discrete value is represented as a unique binary vector, in which only one element is 1 and the rest are 0. For example, in the vehicle service type, ordinary models, luxury models, and shared models are encoded as [1, 0, 0], [0, 1, 0], and [0, 0, 1], respectively, thereby retaining the service type information. This encoding method retains the original feature information and provides a better input format for the model.
[0062] Use K-means clustering to group users. The specific steps are as follows:
[0063] Choose the number of clusters, determine the number of clusters k to be divided, use heuristic methods, elbow rule or other methods to estimate the optimal k, calculate the distance between each data point and all cluster centers, and assign the data point to the cluster to which the closest cluster center belongs;
[0064] For each cluster, calculate the average value of all data points in the cluster, use the average value as the new cluster center, and repeat the data point allocation and cluster center update until convergence (cluster allocation no longer changes or changes very little). The specific process is as follows:
[0065] For each data point i and cluster center j, calculate the Euclidean distance or other distance metric: In the formula, x ip is the pth feature of data point i, c jp is the pth feature of cluster center j;
[0066] Assign data point i to the cluster to which the nearest cluster center j belongs, C(i) = argmin jD(i, j), where the argmin function returns the minimum parameter value of a given expression. j D(i, j) means assigning data point i to the cluster to which the nearest cluster center j belongs;
[0067] For each cluster j, calculate the new cluster center, Among them, C j is the set of data points belonging to cluster j, |C j | is the number of data points in cluster j;
[0068] Use the silhouette coefficient to evaluate the quality of clustering, analyze the characteristics of each cluster, understand the user groups represented by different clusters, explain the meaning of clustering, and for each data point i, calculate the average distance to other data points in the same cluster as the intra-cluster dissimilarity a. i , for each data point i, calculate the average distance of all data points in other clusters, and select the minimum value as the inter-cluster dissimilarity bi. The specific calculation formula is as follows: Among them, C i is the cluster to which data point i belongs, |C i | is cluster C i The number of data points in ;
[0069] For each data point i, calculate the silhouette coefficient: s i =(b i -a i ) / max(a i , b i ), the value range of the silhouette coefficient is [-1, 1]. The closer it is to 1, the higher the similarity of the intra-cluster distance is and the lower the similarity of the inter-cluster distance is, which means the better the clustering effect is.
[0070] Calculate the overall silhouette coefficient, average the silhouette coefficients of all data points, and get the overall silhouette coefficient S. The closer it is to 1, the better the overall clustering effect. Usually, for each cluster, you can analyze the mean of its silhouette coefficient to understand the degree of separation of each cluster. The higher the value of the silhouette coefficient, the higher the similarity within the cluster and the lower the similarity between clusters. The better the clustering effect is, and the more accurate the division of users is. For example, one cluster may represent active users, while another cluster may represent occasional users.
[0071] The collected data is processed and input into the training model, so that the order volume and order completion volume in the current area can be better predicted in both stable and extreme situations, and the supply and demand of abnormal situations can be managed in a timely manner;
[0072] Divide the data into training and test sets, and use time series partitioning to improve the model's generalization ability on future data;
[0073] Use the XGBoost framework to train the model through the training set, set the model parameters, including learning rate, number of trees, maximum depth, etc., tune the model parameters through cross-validation and other methods to improve model performance.
[0074] The trained model is used for predictive analysis of order completion frequency and to obtain supply and demand information generated during the analysis process, including feature contribution information, performance indicator information, and strategy volatility information.
[0075] Feature contribution information includes the feature impact deviation index, performance indicator information includes the performance loss index, and strategy fluctuation information includes the strategy change floating value. After collection, the feature impact deviation index, performance loss index, and strategy change floating value are calibrated as TZX, XNS, and CLB, respectively.
[0076] The feature impact deviation index generated when used for order completion frequency analysis has an important impact on improving order completion frequency. The feature impact deviation index indicates the degree of influence of changes in data features on model output, that is, changes in features affect the prediction of order completion frequency. The feature impact deviation index has the following effects:
[0077] Identify key features: The feature impact deviation index can help identify the most critical features for predicting the order completion frequency. By analyzing the features with a large impact deviation index, we can determine which features have the most significant impact on improving the order completion frequency in different scenarios.
[0078] Understand the direction of the feature's contribution to the order completion frequency: A larger feature impact deviation index indicates that the change in the feature has a positive impact on the prediction of increasing the order completion frequency. Determine which features are more important for the prediction of the order completion frequency overall, so as to help understand which features should be emphasized in the online car-hailing business to improve the order completion frequency, such as weather changes, changes in peak time periods, etc.
[0079] Therefore, obtaining the feature impact deviation index for analyzing the model prediction situation can provide an in-depth understanding of the impact of the feature and provide support for formulating effective business strategies to improve the order completion frequency.
[0080] The logic for obtaining the feature impact deviation index is as follows:
[0081] Get the feature information involved in the model prediction process within the set time period. For each feature, calculate the marginal contribution value SH by factorial under different feature arrangements. The calculation expression is: In the formula, N represents the set of features, S represents a subset of N, excluding the participating feature i, and the feature influence value is calculated according to the marginal contribution value: TZ = SH*[v(S∪{i})-v(S)], where v(S∪{i}) represents the contribution of the new subset formed after adding i to the subset S to the model output, and v(S) represents the contribution of the subset S. The feature influence value set TZj = {TZ1, TZ2, TZ3, ..., TZm} is established, where m is a positive integer, and the feature mean of the feature influence value set is obtained. The characteristic influence deviation index is calculated and the calculation expression is:
[0082] It should be noted that the time period is set according to actual needs, such as selecting a day, the lunch rush hour, etc. For each feature sample, it is randomly determined whether feature i participates in the model's prediction, and then the output of subset S on the model is calculated. This process is averaged after multiple random model simulation experiments to estimate the contribution of subset S to the model output under random conditions. In practical applications, an approximate algorithm is used to obtain all possible subsets to calculate the feature impact value.
[0083] The performance loss index generated when used for order completion frequency analysis has an effect on improving the order completion frequency. The performance loss index represents the difference between the order matching situation predicted by the model and the actual order matching situation. The performance loss index is calculated when evaluating the model on the validation set. It represents the overall prediction error of the model for the samples in the validation set on the regression problem, reflecting the model's prediction accuracy for order matching. The performance loss index affects the following aspects:
[0084] Evaluate model accuracy: The performance loss index provides an intuitive assessment of model accuracy by measuring the model's prediction error. A lower performance loss index indicates that the model's predictions are more accurate, while a higher index indicates that the model has a larger error.
[0085] Guiding model adjustment: By analyzing the performance loss index, we can identify the situations in which the model has poor prediction performance, thereby guiding model adjustment and optimization. According to the specific situation of the error, we can perform operations such as feature adjustment and model parameter adjustment.
[0086] Support business decision-making: Model prediction accuracy is one of the key factors in business decision-making. Through the analysis of the performance loss index, it can provide reliable guidance for business decisions, making business decisions more scientific and credible.
[0087] The logic for obtaining the performance loss index is as follows:
[0088] Get the number of samples nb for model training and the predicted value of completed online ride-hailing orders after training And the actual value Y of the completed orderi , based on the true value and the predicted value, the mean square error value and the absolute error value are calculated. The mean square error value calculation formula is: The absolute error value calculation expression is: The performance loss index is calculated based on the mean square error value and the absolute error value, and the calculation expression is: XNS=(MAE+RMS) / (MAE*RMS).
[0089] The strategy change floating value has an impact on the strategic management of online car-hailing order completion. The strategy change floating value indicates that after the model analysis, the model automatically adjusts the strategy for online car-hailing order completion to achieve the best strategy adjustment. The strategy change floating value indicates the number of adjustments based on the generated order completion strategy. The strategy change floating value affects the following aspects:
[0090] Order completion frequency optimization: The adjustment of the floating value of strategy changes directly affects the optimization of order completion frequency. By fine-tuning the generated order completion improvement strategy, the system can adjust the strategy more finely to better meet actual needs, adapt to the changing needs of users, and improve user experience;
[0091] Driver income and incentives: Adjusting the strategy may have an impact on the driver's income and incentive mechanism. By fine-tuning the incentive strategy, the system can better balance the interests of drivers and the platform and improve driver participation and income levels;
[0092] Adaptability to changes: As environmental conditions and other conditions change, adjustments to the floating value of strategy changes can make the system more adaptable. When there are large overall fluctuations, flexible strategy adjustments can help adapt to the new online ride-hailing order completion environment.
[0093] The adjustment of the floating value of policy changes will directly affect the operation and business performance of the system. When making adjustments, multiple factors need to be considered comprehensively to ensure that the policy adjustment can maintain system stability and user satisfaction while increasing the frequency of order completion.
[0094] The logic for obtaining the floating value of strategy changes is as follows:
[0095] Get the number of times the strategy is adjusted after the prediction of the online car-hailing order is completed within a unit time T and mark it as c. For each adjustment, record the adjustment change BH in each adjustment number, establish an adjustment change set BHu = {BH1, BH2, ..., BHv}, v is a positive integer, and get the average change of the adjustment change set Calculate the changing floating value, the calculation expression is Establish a floating value set FDi = {FD1, FD2, ..., FDc} for each adjustment number, where c is a positive integer, and calculate the floating value of the strategy change. The calculation expression is:
[0096] It should be noted that when adjusting the strategy for completing online ride-hailing orders, each adjustment of the order completion forecast will be divided according to the size of different time periods. For example, if the unit time is three hours and the time period is one hour, the unit time will be divided into three time periods. There are several strategy adjustments in each time period, so each adjustment number is analyzed. The advantage of doing this is that it can further analyze the impact on the frequency of online ride-hailing order completions based on the length of the prediction time; the change in the adjustment is the absolute change in the two adjacent predicted order completions. For example, after predicting the order completion volume at the lunch rush hour, the number of adjustments to the predicted order completion volume before the lunch rush hour and the latest predicted order completion volume are obtained. The change is calculated based on the absolute value of the difference between the latest predicted order completion volume and the last predicted order completion volume.
[0097] Analyze order completion prediction based on feature contribution information, performance indicator information, and strategy fluctuation information, and determine the accuracy of online ride-hailing order completion prediction based on the analysis results;
[0098] The acquired feature impact deviation index, performance loss index, and strategy change floating value are used to generate an adjustment control coefficient, and the adjustment control coefficient is calibrated as T x , based on the formula: In the formula, α, β, and γ are the preset proportional coefficients of the feature impact deviation index, performance loss index, and strategy change floating value, respectively, and α, β, and γ are all greater than 0;
[0099] It should be noted that the formula is obtained by technical personnel in this field by collecting multiple groups of sample data and setting corresponding preset proportional coefficients for each group of sample data. The specific calculation process is: substituting the acquired feature impact deviation index, performance loss index, and strategy change floating value into the formula to form an equation group, and then screening and averaging the calculated preset proportional coefficients to obtain the preset proportional coefficients. Since each group of sample data is different, the specific values of the preset proportional coefficients under different sample data are also different.
[0100] It can be seen from the formula that the larger the characteristic impact deviation index, the larger the performance loss index, and the larger the strategy change floating value, that is, the larger the performance value of the adjustment control coefficient, it indicates that in the analysis of the frequency of online car-hailing order completion, it is easier to affect the frequency of online car-hailing order completion in the model or strategy adjustment, making the probability of low frequency greater, the smaller the characteristic impact deviation index, the smaller the performance loss index, and the smaller the strategy change floating value, that is, the smaller the performance value of the adjustment control coefficient, indicating that the operation of the model and strategy is relatively smooth and stable, and there is no significant deviation or fluctuation in the overall prediction and strategy adjustment, and the ride strategy or discount strategy can be accurately processed;
[0101] A smaller feature impact deviation index indicates that the model has a more average or relatively weaker impact on each feature. A smaller performance loss index indicates that the model has a smaller error in prediction or better performance. This shows that the model distributes weights of different features more evenly, and there is no obvious feature that dominates the overall prediction. It has a strong adaptability to different situations, and its strategy changes are relatively stable. It can respond faster and increase the completion rate of online ride-hailing services.
[0102] The generated adjustment control coefficient is compared with the adjustment control threshold, and a stable operation signal and a regulation management signal are generated according to the comparison result;
[0103] After obtaining the generated adjustment control coefficient, the generated adjustment control coefficient is compared with the adjustment control threshold. If the adjustment control coefficient is greater than the adjustment control threshold, a control management signal is generated, indicating that the frequency of online car-hailing orders does not meet expectations, and it is necessary to increase the priority of control, optimize services, improve user experience, and take necessary actions to maintain the stability and effectiveness of business operations;
[0104] If the adjustment control coefficient is less than or equal to the adjustment control threshold, a stable operation signal is generated, indicating that the model or system is relatively stable, the actual order completion situation is basically consistent with the expected order completion situation, and no excessive adjustments are required.
[0105] When a regulation management signal is generated, a regulation method is used to incentivize order completion. Specifically, the incentive mechanism for drivers and users can be improved or adjusted, such as increasing rewards, coupons or points, to stimulate more users and drivers to participate in the service and increase the frequency of order completion. It is also possible to improve the recommendation algorithm to ensure that users receive more accurate and personalized recommendations, improve user satisfaction with the platform's services, and encourage more users to complete their orders. Or through user feedback and data analysis, identify and solve problems that may affect the user experience, improve the App interface, provide more convenient payment methods, etc., to enhance user trust and satisfaction with the platform, thereby increasing the frequency of order completion.
[0106] It should be noted that the relevant threshold information in this embodiment is pre-set by professionals and will not be explained in detail here.
[0107] The present invention collects historical data of the online car-hailing platform, then divides the time period, uses the chi-square test to determine the correlation of the time period data, clusters the users, uses the silhouette coefficient to evaluate the quality of clustering, and divides the processed data into a training set and a test set according to the time series, inputs the training set into the training model for training, and after training, uses the model to predict and analyze the completion of online car-hailing orders, obtains the supply and demand information generated in the analysis process, and determines the accuracy of the prediction of the completion of online car-hailing orders based on the supply and demand information, thereby making timely strategic adjustments to the online car-hailing, increasing the timeliness of response, and improving the service quality of the online car-hailing platform.
[0108] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0109] The above description is only by way of illustration of certain exemplary embodiments of the present invention. It is undoubted that those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.
[0110] It should be noted that, in this article, if there are relational terms such as first and second, etc., they 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 sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0111] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for increasing the order completion frequency of online car-hailing platforms. It is characterized in that The steps include: Collect historical data from the online ride-hailing platform, segment the time periods of the collected historical data, and use chi-square tests on the data in the segmented time periods to determine the correlation between the data in the time periods; The users are grouped and the silhouette coefficient is used to evaluate the quality of clustering. The processed data is divided into training sets and test sets according to the time series, and the training sets are input into the training model for training; Use the model to predict and analyze the completion of online ride-hailing orders and obtain the supply and demand information generated during the analysis process; The accuracy of online ride-hailing order completion prediction is determined based on supply and demand information, and different management signals are generated, and strategies for online ride-hailing are adjusted based on the generated different management signals.
2. A method for increasing the order completion frequency of an online car-hailing platform according to claim 1, It is characterized in that The collected historical data is segmented into time periods, and the chi-square test is used on the data in the segmented time periods to determine the association of the time period data, including: Split time periods according to the same temporal distance or geographical features of the region; Use chi-square test to analyze the data in the segmented time period, construct an observation frequency table based on the value combination of categorical variables, record the actual number of samples observed, and calculate the actual frequency and expected frequency; Calculate the chi-square statistic of the actual and expected frequencies between time periods; Compare the calculated chi-square statistic with the critical value of the chi-square distribution. If the chi-square statistic is greater than the critical value, the independence hypothesis is rejected and the categorical time period variable is associated with the target time period variable. If the chi-square statistic is less than or equal to the critical value, there is no association between the categorical time period variable and the target time period variable.
3. A method for increasing the order completion frequency of an online car-hailing platform according to claim 2, It is characterized in that Group users and use the silhouette coefficient to evaluate the quality of clustering, including: Use K-means clustering to group users, select the number of clusters, determine the number of clusters to be divided, calculate the distance between each data point and all cluster centers, and assign the data point to the cluster to which the nearest cluster center belongs; For each cluster, calculate the average value of all data points in the cluster, use the average value as the new cluster center, and repeat the data point allocation and cluster center update until convergence; Calculate the average distance of the remaining data points in the same cluster as the intra-cluster dissimilarity, calculate the average distance of all data points in the remaining clusters, select the minimum value as the inter-cluster dissimilarity, and calculate the silhouette coefficient based on the intra-cluster dissimilarity and inter-cluster dissimilarity; The silhouette coefficient of each cluster is calculated, and users are grouped according to the value of the silhouette coefficient of each cluster.
4. A method for increasing the order completion frequency of an online car-hailing platform according to claim 3, It is characterized in that Obtain supply and demand information generated during the analysis process, including: The acquired supply and demand information includes feature contribution information, performance indicator information and strategy fluctuation information. The feature contribution information includes the feature impact deviation index, the performance indicator information includes the performance loss index, and the strategy fluctuation information includes the strategy change floating value.
5. A method for increasing the order completion frequency of an online car-hailing platform according to claim 4, It is characterized in that The logic for obtaining the feature impact deviation index is as follows: Get the feature information involved in the model prediction process within the set time period. For each feature, calculate the marginal contribution value SH by factorial under different feature arrangements. The calculation expression is: In the formula, N represents the set of features, S represents a subset of N, excluding the participating feature i, and the feature influence value is calculated according to the marginal contribution value: TZ = SH*[v(S∪{i})-v(S)], where v(S∪{i}) represents the contribution of the new subset formed after adding i to the subset S to the model output, and v(S) represents the contribution of the subset S. The feature influence value set TZj = {TZ1, TZ2, TZ3, ..., TZm} is established, where m is a positive integer, and the feature mean of the feature influence value set is obtained. The characteristic influence deviation index is calculated and the calculation expression is:
6. A method for increasing the order completion frequency of an online car-hailing platform according to claim 5, It is characterized in that The logic for obtaining the performance loss index is as follows: Get the number of samples nb for model training and the predicted value of completed online ride-hailing orders after training And the actual value Y of the completed order i , based on the true value and the predicted value, the mean square error value and the absolute error value are calculated. The mean square error value calculation formula is: The absolute error value calculation expression is: The performance loss index is calculated based on the mean square error value and the absolute error value, and the calculation expression is: XNS=(MAE+RMS) / (MAE*RMS).
7. A method for increasing the order completion frequency of an online car-hailing platform according to claim 6, It is characterized in that The logic for obtaining the floating value of strategy changes is as follows: Get the number of times the strategy is adjusted after the prediction of the online car-hailing order is completed within a unit time T and mark it as c. For each adjustment, record the adjustment change BH in each adjustment number, establish an adjustment change set BHu = {BH1, BH2, ..., BHv}, v is a positive integer, and get the average change of the adjustment change set Calculate the changing floating value, the calculation expression is Establish a floating value set FDi = {FD1, FD2, ..., FDc} for each adjustment number, where c is a positive integer, and calculate the floating value of the strategy change. The calculation expression is:
8. A method for increasing the order completion frequency of an online car-hailing platform according to claim 7, The characteristics are: The impact deviation index, performance loss index and strategy change floating value are jointly generated to generate the adjustment control coefficient; The feature impact deviation index, performance loss index, and strategy change floating value are directly proportional to the adjustment control coefficient.
9. A method for increasing the order completion frequency of an online car-hailing platform according to claim 8, It is characterized in that Determine the accuracy of online car-hailing order completion prediction based on supply and demand information and generate different management signals. The specific steps include: comparing the generated adjustment control coefficient with the adjustment control threshold; If the adjustment control coefficient is greater than the adjustment control threshold, a regulation management signal is generated; If the adjusted control coefficient is less than or equal to the adjusted control threshold, a stable operation signal is generated.
Citation Information
Patent Citations
Online car-hailing supply and demand prediction method based on C-GRU
CN110458337A
User structure estimation method and device and server
CN110956480A
Service demand influence factor determination method and device
CN111292106A
Online booked vehicle flow prediction method based on deep learning
CN112669595A
Prediction-based taxi scheduling and matching method and system, equipment and medium
CN112949987A
Cited By
Intelligent evaluation management system and method for monitoring carbon emission in road construction
CN118917702A
Intersection traffic state sensing and inducing method based on vehicle-road cooperation
CN119229655A
