Bus arrival time prediction method based on neural network and Kalman filter

Through the method based on neural network and Kalman filter, combined with static and dynamic prediction, it solves the shortcomings of traditional bus arrival time prediction method in capturing dynamic characteristics, achieves more accurate and stable prediction results, and supports intelligent bus dispatching and public transportation. Optimization of travel experience.

CN116542374BInactive Publication Date: 2024-08-23北京蔚行科技有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310499141.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-05
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional bus arrival time prediction method is difficult to accurately capture the dynamic characteristics under the interference of many external influences, resulting in inaccuracy and instability of the prediction results.

Method used

Using methods based on neural networks and Kalman filtering, static predictions are made by constructing a gated recurrent unit neural network model, and dynamic adjustments are made in combination with the Kalman filtering method. Bus GPS data and operation record data are used for real-time predictions to eliminate road vehicles. , traffic lights and other random factors.

Benefits of technology

It improves the accuracy and stability of bus arrival time prediction, enhances intelligent bus dispatching and public travel experience, and enhances the attractiveness of public transport travel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116542374B
    Figure CN116542374B
Patent Text Reader

Abstract

The present invention discloses a bus arrival time prediction method based on neural network and Kalman filter, and proposes a static bus arrival time prediction method based on gated recurrent unit neural network, giving full play to the advantages of deep learning framework in capturing long-term and short-term characteristics of time series, and improving the accuracy and reliability of bus arrival time prediction results. The present invention also proposes a dynamic adjustment method for bus arrival time prediction results based on Kalman filter, combining the real-time data in the real-time operation scene of the bus to make an online prediction of the vehicle arrival time. Compared with the use of static prediction method alone, the present invention helps to eliminate the interference of random factors such as road vehicles, traffic lights, and road pedestrians on the bus during operation, and further improves the accuracy of arrival time prediction, thereby providing technical support for intelligent bus scheduling, optimizing public travel experience, and improving the attractiveness of public transportation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of deep learning technology, and in particular to a method for predicting bus arrival time based on neural network and Kalman filtering. Background Art

[0002] The advancement of urbanization is accompanied by problems such as road congestion, environmental pollution and traffic accidents. Against the background of growing urban traffic demand, the development of public transportation systems has become the main means to alleviate urban traffic pressure. Accurate and real-time bus arrival time prediction can provide technical services for intelligent public transportation scheduling and public travel, which is of great significance. However, traditional bus arrival time prediction methods are difficult to accurately capture the dynamic characteristics under the interference of many external influences. Therefore, a more advanced deep learning model should be used to predict bus arrival time in combination with multi-source bus data to improve the accuracy and stability of the overall prediction results. Summary of the invention

[0003] In view of the shortcomings of the existing technology, the present invention aims to provide a bus arrival time prediction method based on neural network and Kalman filtering, which can improve the accuracy and stability of bus arrival time prediction results, and provide technical support for intelligent bus scheduling, optimizing public travel experience, and improving the attractiveness of public transportation.

[0004] In order to achieve the above object, the present invention adopts the following technical solution:

[0005] A method for predicting bus arrival time based on neural network and Kalman filter comprises the following steps:

[0006] Step 1: Based on bus GPS data and bus company operation record data, extract the historical data set of bus arrival time for subsequent training and verification of prediction models;

[0007] Step 2: Build a gated recurrent unit neural network model, implement static prediction, and obtain the basic time series:

[0008] (2.1) Establish the structure of the GRU network model:

[0009] The forward training formula for a GRU unit is:

[0010] z t =σ(W z x t +U z h t-1 +b z )(1)

[0011] r t =σ(W r x t +Ur h t-1 +b r )(2)

[0012]

[0013] Among them, formula (1) is the calculation method of the update gate, x t is the tth component of the input sequence x, h t-1 What is saved is the information of the previous time step t-1, which will be respectively associated with the weight matrix W z , U z Multiply them together to perform a linear transformation, and then update the gate to add the information of these two parts and append a vector b z , and then the Sigmoid activation function is used to get the result z of the update gate t ; The function of the update gate is to control the extent to which the hidden layer state at the previous moment is updated to the current hidden layer state; Formula (2) is the calculation method of the reset gate, x t and h t-1 Respectively with the weight matrix W r , U r Multiply to perform a linear transformation, reset the gate to add the information of the two parts and append a vector b r , and then the Sigmoid activation function is used to get the result r of resetting the gate t ; The reset gate is used to control the extent to which the hidden layer state at the previous moment is updated to the current candidate hidden layer state;

[0014] Formula (3) shows how the gating structure affects the final output. First, x t and h t-1 Respectively with the weight matrix W h , U h Multiply to perform linear transformation, and then calculate the reset gate r t with U h h t-1 The Hadamard product of h Then it is put into the hyperbolic tangent activation function; since the calculation result of the reset gate is a vector composed of 0 and 1, it will determine the size of the gate opening, that is, the result of the Hadamard product will affect the previous order information to be retained; Formula (4) shows the calculation method of the final output result in this unit, and the update gate z t The inflow of information is also controlled in a gated manner. t With h t-1 The Hadamard product represents the information retained in the final memory from the previous time step plus the information retained in the final memory from the current memory It is equal to the output of the final gated recurrent unit;

[0015] (2.2) Training and verification of the GRU network model: The historical data set of bus arrival times for each route extracted in step 1 is divided into a training set, a verification set, and a test set. The training set is used to train the hyperparameters in the GRU network model, the verification set is used to adjust the hyperparameters of the GRU network model and to conduct a preliminary evaluation of the capabilities of the GRU network model, and the test set is used to evaluate the generalization ability of the final GRU network model. The trained network parameters include W z , W r , W h , U z , U r , U h , b z , b r ;

[0016] (2.3) GRU network model hyperparameter adjustment: Since the arrival times of different routes present different timing characteristics, it is necessary to train the predicted GRU network model separately for each route;

[0017] Step 3: Dynamic adjustment process: After using the GRU network model of each route obtained in step 2 to predict the basic arrival time series of each route, obtain its real-time vehicle operation information during the operation of the target shift, and use the Kalman filter method to dynamically correct the real-time predicted time of arrival at each station to obtain the corrected time series;

[0018] The Kalman filter model for predicting bus arrival time is as follows:

[0019]

[0020] Among them, x k is a state variable, which represents the estimated a priori predicted arrival time of the bus at the kth station, that is, the corresponding time in the basic arrival time series. represents the optimal arrival time estimate of the bus at the k-1th station, z k-1 represents the observation time when the bus arrives at the k-1th station, P k represents the covariance of the prior estimation error, represents the covariance of the optimal estimation error, K k-1 represents the Kalman gain, Q represents the covariance of the state equation noise, and R represents the covariance of the observation equation noise;

[0021] When a running bus has arrived at the kth station, the specific calculation process of the Kalman filter model is:

[0022] (3.1) Obtain the basic arrival time series from the trained GRU network model;

[0023] (3.2) Obtaining the observed arrival time from the real-time monitoring data of the bus operation;

[0024] (3.3) The predicted arrival time of the k+1th station is calculated by formula (5);

[0025] (3.4) Calculate the current covariance using formula (6);

[0026] (3.5) Calculate the current Kalman filter gain by formula (7);

[0027] (3.6) The optimal predicted arrival time of the k+1th station is calculated by formula (8);

[0028] (3.7) Update the Kalman filter covariance of the k+1th station by formula (9);

[0029] Output the optimal predicted arrival time of the k+1th station. If the k+1th station is not the terminal station, set k=k+1 and return to step (3.2) to continue the calculation process. If the k+1th station is the terminal station, the Kalman filter process of the current station is completed.

[0030] Furthermore, the specific process of step one is:

[0031] (1.1) Obtain bus GPS data and bus company operation record data. Bus GPS data includes arrival time, vehicle number and vehicle latitude and longitude. Bus company operation record data includes shift number, vehicle number, shift start time, shift end time and route number. Infer the station and route corresponding to each data point in the bus GPS data based on the vehicle number and vehicle latitude and longitude data. Match the shift corresponding to each data point in the bus GPS data based on the arrival time, shift start time and shift end time.

[0032] (1.2) Performing data cleaning on the abnormal data points and data noise points existing in the data processed in step (1.1): identifying abnormal data points through a frequency-based clustering algorithm, and filling in missing data points and replacing abnormal data points through linear interpolation or mean method;

[0033] (1.3) After data cleaning, a two-dimensional data matrix is ​​obtained for each route. Each element of the two-dimensional data matrix represents the time when each bus service on the corresponding route arrives at each station on the route. The number of matrix rows represents the number of bus services on the route, and the number of matrix columns represents the number of stations on the route. Thus, a historical data set of bus arrival times for each route is obtained.

[0034] Furthermore, in step (2.2), the original data set extracted in step 1 is divided into a training set, a validation set, and a test set in a ratio of 0.6:0.2:0.2.

[0035] Furthermore, in step (2.3), a grid search method is used to achieve hyperparameter adjustment.

[0036] Furthermore, in step (2.3), the hyperparameters that need to be adjusted and their set values ​​are:

[0037] Iterations: 50, 100, 200, 500;

[0038] Sample size: 32, 64, 128, 256;

[0039] Loss function: mean square error loss function, mean absolute error loss function;

[0040] Optimization algorithms: Adam, SGD, RMSprop.

[0041] The beneficial effects of the present invention are as follows: based on the study of the spatiotemporal distribution characteristics and laws of historical time data of urban bus arrivals, the present invention proposes a static prediction method for bus arrival time based on a gated recurrent unit neural network. Compared with traditional prediction methods based on statistical data or machine learning, the present invention gives full play to the advantages of the deep learning framework in capturing the long-term and short-term characteristics of time series, and improves the accuracy and reliability of the bus arrival time prediction results.

[0042] The present invention also proposes a dynamic adjustment method for bus arrival time prediction results based on Kalman filtering, and performs online prediction of vehicle arrival time in combination with real-time data in the real-time operation scenario of the bus. Compared with the static prediction method used alone, the present invention helps to eliminate the interference of random factors such as road vehicles, traffic lights, and road pedestrians on the prediction during the operation of the bus, and further improves the accuracy of arrival time prediction, thereby providing technical support for intelligent bus scheduling, optimizing public travel experience, and increasing the attractiveness of public transportation. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 This is a flow chart of the method of Example 1 of the present invention.

[0044] Figure 2 4 is a structural diagram of the gated recurrent unit neural network in Example 1 of the present invention.

[0045] Figure 3 This is a diagram showing the prediction accuracy evaluation results of the prediction method of Example 1 in Example 2 of the present invention. DETAILED DESCRIPTION

[0046] The present invention will be further described below in conjunction with the accompanying drawings. It should be noted that this embodiment is based on the technical solution and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to this embodiment.

[0047] Example 1

[0048] This embodiment provides a method for predicting bus arrival time based on neural network and Kalman filter. Figure 1 As shown, the following steps are included:

[0049] Step 1: Based on the bus GPS data and bus company operation record data, extract the historical data set of bus arrival times for subsequent training and verification of the prediction model.

[0050] (1.1) Obtain bus GPS data and bus company operation record data. Bus GPS data includes arrival time, vehicle number and vehicle latitude and longitude. Bus company operation record data includes shift number, vehicle number, shift start time, shift end time and route number. Infer the station and route corresponding to each data point in the bus GPS data based on the vehicle number and vehicle latitude and longitude data. Match the shift corresponding to each data point in the bus GPS data based on the arrival time, shift start time and shift end time.

[0051] (1.2) Perform data cleaning on the abnormal data points and data noise points in the data processed in step (1.1):

[0052] Identify abnormal data points through frequency-based clustering algorithms, fill in missing data points and replace abnormal data points through linear interpolation or mean method;

[0053] (1.3) After data cleaning, a two-dimensional data matrix is ​​obtained for each route. Each element of the two-dimensional data matrix represents the time when each bus service on the corresponding route arrives at each station on the route. The number of matrix rows represents the number of bus services on the route, and the number of matrix columns represents the number of stations on the route; thus, a historical data set of bus service arrival times for each route is obtained.

[0054] Step 2: Static prediction process: Construct a gated recurrent unit neural network model (GRU), implement static prediction, and obtain the basic time series.

[0055] (2.1) Establish the structure of the GRU network model. GRU is a variant of the long short-term memory neural network (LSTM). Its main features are the update gate and the reset gate. It is mainly used to solve the long-term dependency problem in the recurrent neural network. Since GRU has fewer parameters, it has a faster training speed and can reduce the risk of overfitting. The specific structure of the GRU network model is as follows: Figure 2 As shown, the forward training formula for a GRU unit is:

[0056] z t =σ(W z x t +U z h t-1 +b z )(1)

[0057] r t =σ(W r x t +U r h t-1 +b r )(2)

[0058]

[0059] Among them, formula (1) is the calculation method of the update gate, x t is the tth component of the input sequence x, h t-1 What is saved is the information of the previous time step t-1, which will be respectively associated with the weight matrix W z , U z Multiply them together to perform a linear transformation, and then update the gate to add the information of these two parts and append a vector b z , and then the Sigmoid activation function is used to get the result z of the update gate t The function of the update gate is to control the extent to which the hidden layer state at the previous moment is updated to the current hidden layer state. Formula (2) is the calculation method of the reset gate, which is similar to the calculation method of the update gate. t and h t-1 Respectively with the weight matrix W r , U r Multiply to perform a linear transformation, reset the gate to add the information of the two parts and append a vector b r , and then the Sigmoid activation function is used to get the result r of resetting the gate t The reset gate is used to control the extent to which the hidden layer state at the previous moment is updated to the current candidate hidden layer state.

[0060] Formula (3) shows how the gating structure affects the final output. First, x t and h t-1 Respectively with the weight matrix Wh , U h Multiply to perform linear transformation, and then calculate the reset gate r t with U h h t-1 The Hadamard product of h Then it is put into the hyperbolic tangent activation function. Since the calculation result of the reset gate is a vector composed of 0 and 1, it will determine the size of the gate opening, that is, the result of the Hadamard product will affect the previous order information to be retained. Formula (4) shows the calculation method of the final output result in this unit, and the update gate z t The inflow of information is also controlled in a gated manner. t With h t-1 The Hadamard product represents the information retained in the final memory from the previous time step plus the information retained in the final memory from the current memory It is equal to the output of the final gated recurrent unit.

[0061] (2.2) Training and verification of the GRU network model. The historical data set of bus arrival times for each route extracted in step 1 is divided into a training set, a verification set, and a test set in a ratio of 0.6:0.2:0.2. The training set is used to train the hyperparameters in the GRU network model, the verification set is used to adjust the hyperparameters of the GRU network model and to conduct a preliminary evaluation of the capabilities of the GRU network model, and the test set is used to evaluate the generalization ability of the final GRU network model. The trained network parameters include W z , W r , W h , U z , U r , U h , b z , b r .

[0062] (2.3) GRU network model hyperparameter adjustment. Since the arrival times of different lines present different time series characteristics, it is necessary to train the predicted GRU network model for each line separately. In order to achieve a relatively good prediction effect on all lines, the grid search method is used to achieve fast model parameter adjustment. The hyperparameters that need to be adjusted and their set value sets are:

[0063] Number of epochs: 50, 100, 200, 500;

[0064] Batch size: 32, 64, 128, 256;

[0065] Loss function: mean square error loss function, mean absolute error loss function;

[0066] Optimization algorithms: Adam, SGD, RMSprop.

[0067] Step 3: Dynamic adjustment process. After using the GRU network model of each line obtained in step 2 to predict the basic arrival time series of each line, obtain its real-time vehicle operation information during the target shift operation, and use the Kalman filtering method (KalmanFiltering) to dynamically correct the real-time predicted arrival time of each station, thereby eliminating the adverse effects of sudden external factors on the prediction accuracy to the greatest extent. The result is called the corrected time series.

[0068] Kalman filtering is an algorithm that uses the linear system state equation, inputs and outputs observation data of the system, and uses the linear unbiased minimum mean square error estimation criterion to optimally estimate the system state. Since Kalman filtering can be used not only for filtering and estimating signals, but also for estimating model parameters, it is also suitable for predicting bus arrival times. And because of the noise reduction characteristics of Kalman filtering, it can handle multidimensional, non-stationary random processes, and is suitable for eliminating the interference of many random factors such as traffic conditions and accidental accidents during bus operation.

[0069] The Kalman filter model for predicting bus arrival time is as follows:

[0070]

[0071] Among them, x k is a state variable, which represents the estimated a priori predicted arrival time of the bus at the kth station, that is, the corresponding time in the basic arrival time series. represents the optimal arrival time estimate of the bus at the k-1th station, z k-1 represents the observation time when the bus arrives at the k-1th station, P k represents the covariance of the prior estimation error, represents the covariance of the optimal estimation error, K k-1 represents the Kalman gain, Q represents the covariance of the state equation noise, and R represents the covariance of the observation equation noise.

[0072] Taking a running bus as an example, assuming that a running bus has arrived at the kth station, the specific calculation process of the Kalman filter model is:

[0073] (3.1) Obtain the basic arrival time series from the trained GRU network model;

[0074] (3.2) Obtaining the observed arrival time from the real-time monitoring data of the bus operation;

[0075] (3.3) The predicted arrival time of the k+1th station is calculated by formula (5);

[0076] (3.4) Calculate the current covariance using formula (6);

[0077] (3.5) Calculate the current Kalman filter gain by formula (7);

[0078] (3.6) The optimal predicted arrival time of the k+1th station is calculated by formula (8);

[0079] (3.7) Update the Kalman filter covariance of the k+1th station by formula (9);

[0080] Output the optimal predicted arrival time of the k+1th station. If the k+1th station is not the terminal station, set k=k+1 and return to step (3.2) to continue the calculation process. If the k+1th station is the terminal station, the Kalman filter process of the current station is completed.

[0081] After the above process, the Kalman filter algorithm completes the update of the predicted arrival time of the stations that have not yet arrived in the basic arrival time series during the operation of the bus, thereby realizing a bus arrival time prediction method that combines static prediction with dynamic correction.

[0082] Example 2

[0083] This example uses a bus route with 18 stops as the application scenario, and the effect of the bus arrival time prediction method based on gated recurrent unit neural network and Kalman filter proposed in Example 1. The mean absolute error (MAE), root mean square error (RMSE), mean absolute percentage error (MAPE), 1-minute accuracy, 2-minute accuracy, and 3-minute accuracy are used as test evaluation indicators, and the indicator results of each prediction step are calculated respectively, such as Figure 3 The test results show that the prediction method proposed in Example 1 has very high accuracy in short-term prediction, and the prediction method also shows high stability when the prediction step is extended to long-term prediction, which can meet the overall accuracy requirements of bus arrival time prediction.

[0084] For those skilled in the art, various corresponding changes and modifications can be made according to the above technical solutions and concepts, and all of these changes and modifications should be included in the protection scope of the claims of the present invention.

Claims

1. A method for predicting bus arrival time based on neural network and Kalman filter, characterized in that: The steps include: Step 1: Based on bus GPS data and bus company operation record data, extract the historical data set of bus arrival time for subsequent training and verification of prediction models; Step 2: Build a gated recurrent unit neural network model, implement static prediction, and obtain the basic time series: (2.1) Establish the structure of the GRU network model: The forward training formula for a GRU unit is: z t =σ(W z x t +U z h t-1 +b z ) (1) r t =σ(W r x t +U r h t-1 +b r ) (2) Among them, formula (1) is the calculation method of the update gate, x t is the tth component of the input sequence x, h t-1 What is saved is the information of the previous time step t-1, which will be respectively associated with the weight matrix W z , U z Multiply them together to perform a linear transformation, and then update the gate to add the information of these two parts and append a vector b z , and then the Sigmoid activation function is used to get the result z of the update gate t ; The function of the update gate is to control the extent to which the hidden layer state at the previous moment is updated to the current hidden layer state; Formula (2) is the calculation method of the reset gate, x t and h t-1 Respectively with the weight matrix W r , U r Multiply to perform a linear transformation, reset the gate to add the information of the two parts and append a vector b r , and then the Sigmoid activation function is used to get the result r of resetting the gate t ; The reset gate is used to control the extent to which the hidden layer state at the previous moment is updated to the current candidate hidden layer state; Formula (3) shows how the gating structure affects the final output. First, x t and h t-1 Respectively with the weight matrix W h , U h Multiply to perform linear transformation, and then calculate the reset gate r t with U h h t-1 The Hadamard product of h Then it is put into the hyperbolic tangent activation function; since the calculation result of the reset gate is a vector composed of 0 and 1, it will determine the size of the gate opening, that is, the result of the Hadamard product will affect the previous order information to be retained; Formula (4) shows the calculation method of the final output result in this unit, and the update gate z t Similarly, the inflow of information is controlled in a gated manner. t With h t-1 The Hadamard product represents the information retained in the final memory from the previous time step plus the information retained in the final memory from the current memory It is equal to the output of the final gated recurrent unit; (2.2) Training and verification of the GRU network model: The historical data set of bus arrival times for each route extracted in step 1 is divided into a training set, a verification set, and a test set. The training set is used to train the hyperparameters in the GRU network model, the verification set is used to adjust the hyperparameters of the GRU network model and to conduct a preliminary evaluation of the capabilities of the GRU network model, and the test set is used to evaluate the generalization ability of the final GRU network model. The trained network parameters include W z , W r , W h , U z , U r , U h 、b z 、b r ; (2.3) GRU network model hyperparameter adjustment: Since the arrival times of different routes present different timing characteristics, it is necessary to train the predicted GRU network model separately for each route; Step 3: Dynamic adjustment process: After using the GRU network model of each route obtained in step 2 to predict the basic arrival time series of each route, obtain its real-time vehicle operation information during the operation of the target shift, and use the Kalman filter method to dynamically correct the real-time predicted time of arrival at each station to obtain the corrected time series; The Kalman filter model for predicting bus arrival time is as follows: Among them, x k is a state variable, which represents the estimated a priori predicted arrival time of the bus at the kth station, that is, the corresponding time in the basic arrival time series. represents the optimal arrival time estimate of the bus at the k-1th station, z k-1 represents the observation time when the bus arrives at the k-1th station, P k represents the covariance of the prior estimation error, represents the covariance of the optimal estimation error, K k-1 represents the Kalman gain, Q represents the covariance of the state equation noise, and R represents the covariance of the observation equation noise; When a running bus has arrived at the kth station, the specific calculation process of the Kalman filter model is: (3.1) Obtain the basic arrival time series from the trained GRU network model; (3.2) Obtaining the observed arrival time from the real-time monitoring data of the bus operation; (3.3) The predicted arrival time of the k+1th station is calculated by formula (5); (3.4) Calculate the current covariance using formula (6); (3.5) Calculate the current Kalman filter gain by formula (7); (3.6) The optimal predicted arrival time of the k+1th station is calculated by formula (8); (3.7) Update the Kalman filter covariance of the k+1th station by formula (9); Output the optimal predicted arrival time of the k+1th station. If the k+1th station is not the terminal station, set k=k+1 and return to step (3.2) to continue the calculation process. If the k+1th station is the terminal station, the Kalman filter process of the current station is completed.

2. The prediction method according to claim 1, characterized in that: The specific process of step one is: (1.1) Obtain bus GPS data and bus company operation record data. Bus GPS data includes arrival time, vehicle number and vehicle latitude and longitude. Bus company operation record data includes shift number, vehicle number, shift start time, shift end time and route number. Infer the station and route corresponding to each data point in the bus GPS data based on the vehicle number and vehicle latitude and longitude data. Match the shift corresponding to each data point in the bus GPS data based on the arrival time, shift start time and shift end time. (1.2) Performing data cleaning on the abnormal data points and data noise points existing in the data processed in step (1.1): identifying abnormal data points through a frequency-based clustering algorithm, and filling in missing data points and replacing abnormal data points through linear interpolation or mean method; (1.3) After data cleaning, a two-dimensional data matrix is ​​obtained for each route. Each element of the two-dimensional data matrix represents the time when each bus service on the corresponding route arrives at each station on the route. The number of matrix rows represents the number of bus trips on the route, and the number of matrix columns represents the number of stops on the route; This results in a historical data set of bus arrival times for each route.

3. The prediction method according to claim 1, characterized in that: In step (2.2), the original data set extracted in step 1 is divided into training set, validation set, and test set in a ratio of 0.6:0.2:0.

2.

4. The prediction method according to claim 1, characterized in that: In step (2.3), the grid search method is used to achieve hyperparameter adjustment.

5. The prediction method according to claim 1, characterized in that: In step (2.3), the hyperparameters that need to be adjusted and their set values ​​are: Iterations: 50, 100, 200, 500; Sample size: 32, 64, 128, 256; Loss function: mean square error loss function, mean absolute error loss function; Optimization algorithms: Adam, SGD, RMSprop.