Accurately predicting road traffic flows is a primary challenge in the development of smart cities, providing a scientific basis and reference for urban planning, construction, and traffic management. Road traffic flow is influenced by various complex features, including temporal and weather conditions, which introduce challenges to traffic flow prediction. To enhance the accuracy of traffic flow prediction and improve the adaptability across different weather conditions, this study introduced a traffic flow prediction model with explicit consideration of weather factors including temperature, rainfall, air quality index, and wind speed. The proposed model utilized grey relational analysis (GRA) to transform weather data into weighted traffic flow data, expanded input variables into a new data matrix, and employed one-dimensional convolutional neural networks (CNNs) to extract valuable feature information from these input variables, as well as bidirectional long short-term memory (BiLSTM) to capture temporal dependencies within the time-series data. Bayesian optimization was employed to fine-tune the hyperparameters of the model, offering advantages such as fewer iterations, high efficiency, and fast speed. The performance of the proposed prediction model was validated using the traffic flow data collected at an intersection in China and on the M25 motorway in the United Kingdom. The results demonstrated the effectiveness of the proposed model, achieving improvements of at least 9.0% in MAE, 2.8% in RMSE, 2.3% in MAPE, and 0.06% in R2 compared to five baseline models.
This study investigates the optimization of taxi-pooling operations using the M/M/1/m queuing model, aiming to enhance efficiency and revenue for taxi service platforms. Traditional taxi operations face challenges during peak periods, including inefficiency and increased operational costs. Taxi-pooling, by accommodating multiple passengers with similar travel demands, offers a solution that reduces travel costs, operational expenses, and urban congestion. The study develops an optimization model to balance operational costs and passenger waiting times, identifying the utilization rate of taxis as a critical factor in platform revenue. By modeling the taxi-pooling service as a queuing system, we derive mathematical expressions for passenger waiting times and platform revenue under varying conditions. Our findings highlight the importance of optimal vehicle investment strategies and pricing decisions to maximize revenue. The study provides theoretical support for improving taxi-pooling platforms’ efficiency and competitiveness, contributing to better urban transportation solutions.