The invention discloses a traffic flow prediction method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a traffic flow sequence of a target intersection in a first historical time period; standardizing each first traffic flow data of the traffic flow sequence, and determining corresponding second traffic flow data; quantizing each second traffic flow data in a preset historical window, and determining each corresponding first quantized character; inputting each first quantized character into the large language model, and determining a second quantized character of at least one sub-time period in the prediction window based on the large language model; and finally, carrying out inverse quantization and inverse standardization on the second quantization character, and determining corresponding predicted traffic data. And traffic flow prediction based on the large language model is realized. The problems of high popularization and generalization cost and poor expandability of traffic flow prediction based on statistics, machine learning and deep learning prediction models in the prior art are avoided. And the popularization and generalization performance of the traffic flow prediction model is improved.
本申请公开了一种交通流量预测方法、装置、电子设备及存储介质,获取目标路口的第一历史时间段内的交通流量序列;对交通流量序列各个第一交通流量数据进行标准化,确定对应的第二交通流量数据;然后对预设历史窗口内的各个第二交通流量数据进行量化,确定对应的各个第一量化字符;将各个第一量化字符输入所述大语言模型,基于大语言模型确定预测窗口内的至少一个子时间段的第二量化字符;最后再对第二量化字符进行反量化和反标准化,确定对应的预测流量数据。实现了基于大语言模型的交通流量预测。避免了现有基于统计、机器学习和深度学习预测模型进行交通流量预测的推广泛化成本高、可扩展性较差的问题。提高了交通流量预测模型的推广泛化性能。
Traffic flow prediction method and device, electronic equipment and storage medium
一种交通流量预测方法、装置、电子设备及存储介质
2025-05-13
Patent
Electronic Resource
Chinese
Traffic flow prediction method and device, storage medium and electronic equipment
European Patent Office | 2023
|Traffic flow prediction method and device, electronic equipment and readable storage medium
European Patent Office | 2024
|Traffic flow prediction method, equipment, storage medium and device
European Patent Office | 2023
|Short-term traffic flow prediction method and device, electronic equipment and storage medium
European Patent Office | 2024
|Traffic flow prediction method, electronic equipment, storage medium and program product
European Patent Office | 2025
|