CN116029407A - Taxi travel demand prediction method based on ConvLSTM - Google Patents
Taxi travel demand prediction method based on ConvLSTM Download PDFInfo
- Publication number
- CN116029407A CN116029407A CN202210908815.4A CN202210908815A CN116029407A CN 116029407 A CN116029407 A CN 116029407A CN 202210908815 A CN202210908815 A CN 202210908815A CN 116029407 A CN116029407 A CN 116029407A
- Authority
- CN
- China
- Prior art keywords
- traffic volume
- volume data
- convlstm
- predicted
- taxi
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 239000011159 matrix material Substances 0.000 claims abstract description 31
- 238000012360 testing method Methods 0.000 claims abstract description 28
- 238000012549 training Methods 0.000 claims abstract description 19
- 238000010606 normalization Methods 0.000 claims abstract description 12
- 238000004458 analytical method Methods 0.000 claims description 24
- 230000008569 process Effects 0.000 claims description 7
- 238000012545 processing Methods 0.000 abstract description 5
- 238000007781 pre-processing Methods 0.000 abstract description 4
- 238000010234 longitudinal analysis Methods 0.000 abstract 1
- 230000029305 taxis Effects 0.000 description 22
- 230000006870 function Effects 0.000 description 20
- 238000013527 convolutional neural network Methods 0.000 description 11
- 238000013528 artificial neural network Methods 0.000 description 10
- 230000006403 short-term memory Effects 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 4
- 230000000306 recurrent effect Effects 0.000 description 4
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000015654 memory Effects 0.000 description 2
- 238000005065 mining Methods 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000739 chaotic effect Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000013277 forecasting method Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000011425 standardization method Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Traffic Control Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及人工智能技术领域,尤其涉及一种基于ConvLSTM的出租车出 行需求预测方法。The present invention relates to the field of artificial intelligence technology, and in particular to a taxi travel demand prediction method based on ConvLSTM.
背景技术Background Art
近年来,随着机动车保有量的迅速増加以及出租车数量的不断增长,居 民出行的便捷性也在不断提高,出租车不仅为居民出行提供便捷的“门到 门”服务,更是常规公交的重要补充。但是,现有道路路网规模的扩大受制 于众多因素,同时其规模也不存在无限制扩大的可能性。根据历史及现有的 出租车数量增长状况,出租车数量不会有很大的增长变化,致使居民出行需求和出租车服务供给两者之间出现了日益激化的矛盾。因此基于出租车历史 出行需求数据来预测出租车未来出行需求就显得十分重要。In recent years, with the rapid increase in the number of motor vehicles and the continuous growth in the number of taxis, the convenience of residents' travel has also been continuously improved. Taxis not only provide convenient "door-to-door" services for residents' travel, but are also an important supplement to conventional public transportation. However, the expansion of the existing road network is subject to many factors, and its scale does not have the possibility of unlimited expansion. According to the historical and current growth of the number of taxis, the number of taxis will not increase much, resulting in an increasingly intensified contradiction between residents' travel demand and taxi service supply. Therefore, it is very important to predict the future travel demand of taxis based on the historical travel demand data of taxis.
城市智能交通系统是一个综合计算、网络和物理环境的多维复杂系统。 据我们了解,前人对出租车出行需要的预测的研究方法大体分为以下两种: 一类是采用传统方法进行预测,如基于马尔科夫链的预测方法,即对历史数 据进行数据统计并计算其转移概率,该方法预测准确率差强人意,此外当交 通量较小时该方法也无法进行预测;第二类是利用神经网络进行预测,如 WU等人使用神经网络对各个路段赋予相同的权重,从而使其聚类进行预 测,但是此方法不但是建立在对已知路段预测的基础上的,而且该网络模型也过于复杂,具有一定的局限性。CHEN等人使用基于注意力机制交通量预 测对LSTM中加上含有注意力机制的预测方法,然而此方法模型也较为复杂 也缺乏其可迁移性。The urban intelligent transportation system is a multi-dimensional complex system that integrates computing, network and physical environment. As far as we know, the research methods of previous people for predicting taxi travel needs can be roughly divided into the following two types: One is to use traditional methods for prediction, such as the prediction method based on Markov chain, that is, to perform data statistics on historical data and calculate its transfer probability. The prediction accuracy of this method is unsatisfactory. In addition, when the traffic volume is small, this method cannot make predictions; the second type is to use neural networks for prediction, such as WU et al. used neural networks to give the same weight to each road section, so that they can be clustered for prediction. However, this method is not only based on the prediction of known road sections, but also the network model is too complex and has certain limitations. CHEN et al. used a prediction method based on the attention mechanism traffic volume prediction to add an attention mechanism to LSTM, but this method model is also relatively complex and lacks its transferability.
发明内容Summary of the invention
本发明提供一种基于ConvLSTM的出租车出行需求预测方法,以克服上述 技术问题。The present invention provides a taxi travel demand prediction method based on ConvLSTM to overcome the above technical problems.
一种基于ConvLSTM的出租车出行需求预测方法,包括如下步骤:A taxi travel demand prediction method based on ConvLSTM includes the following steps:
S1:建立基于ConvLSTM的出租车出行需求预测模型:S1: Establish a taxi travel demand prediction model based on ConvLSTM:
S2、获取历史时间范围阈值的待预测区域的历史交通量数据,并对所述 历史交通量数据进行预处理,获取标准历史交通量数据;所述历史交通量数 据包括出租车车牌号、载客状态、载客时间、出租车所在位置的经度、出租 车所在位置的纬度、每小时公里速度;S2. Obtain historical traffic volume data of the area to be predicted within the historical time range threshold, and pre-process the historical traffic volume data to obtain standard historical traffic volume data; the historical traffic volume data includes the taxi license plate number, passenger status, passenger time, longitude of the taxi location, latitude of the taxi location, and speed in kilometers per hour;
S3、将所述待预测区域按照经纬度的方向进行划分,获得若干单元区 间,并根据所述标准历史交通量数据获取每个单元区间在所述历史时间范围 阈值内的单元历史交通量数据;S3, dividing the area to be predicted according to the directions of longitude and latitude to obtain a number of unit intervals, and obtaining unit historical traffic volume data within the historical time range threshold of each unit interval according to the standard historical traffic volume data;
S4、对所述单元历史交通量数据进行归一化处理,获取归一化后的单元 历史交通量数据;S4, normalizing the unit historical traffic volume data to obtain the normalized unit historical traffic volume data;
S5:将所述待预测区域划分为n*n元组的空间横纵分析矩阵,以使得所述归一化后的单元历史交通量数据与每个元组进行一一对应,所述空间横纵分析矩阵的行代表待预测区域所在位置的经度,所述空间横纵分析矩阵的列代表待预测区域所在位置的纬度,所述空间横纵分析矩阵中的元素为对应的单元区间的单元历史交通数据;S5: Divide the area to be predicted into a spatial horizontal and vertical analysis matrix of n*n tuples, so that the normalized unit historical traffic volume data corresponds one-to-one to each tuple, the rows of the spatial horizontal and vertical analysis matrix represent the longitude of the location of the area to be predicted, the columns of the spatial horizontal and vertical analysis matrix represent the latitude of the location of the area to be predicted, and the elements in the spatial horizontal and vertical analysis matrix are the unit historical traffic data of the corresponding unit interval;
S6、根据所述归一化后的单元历史交通量数据,获取测试集和训练集;S6. Obtaining a test set and a training set according to the normalized unit historical traffic volume data;
S7:根据所述训练集,将所述空间横纵分析矩阵输入所述基于ConvLSTM 的出租车出行需求预测模型,获取训练后的基于ConvLSTM的出租车出行需求 预测模型;S7: According to the training set, the spatial horizontal and vertical analysis matrix is input into the taxi travel demand prediction model based on ConvLSTM to obtain the trained taxi travel demand prediction model based on ConvLSTM;
S8:将所述测试集输入至所述训练后的基于ConvLSTM的出租车出行需求 预测模型,获取测试预测交通量数据;以获取所述测试预测交通量数据与真 实交通量数据之间的损失函数,当损失函数的值小于损失函数值阈值时,执 行S9,此时的所述训练后的基于ConvLSTM的出租车出行需求预测模型为最优基于ConvLSTM的出租车出行需求预测模型;否则重复执行S7;S8: Input the test set into the trained ConvLSTM-based taxi travel demand prediction model to obtain test predicted traffic volume data; obtain the loss function between the test predicted traffic volume data and the real traffic volume data. When the value of the loss function is less than the loss function value threshold, execute S9. At this time, the trained ConvLSTM-based taxi travel demand prediction model is the optimal ConvLSTM-based taxi travel demand prediction model; otherwise, repeat S7;
S9:获取所述测试预测交通量数据与真实交通量数据之间的准确率;并 根据所述最优基于ConvLSTM的出租车出行需求预测模型,获取输出未来时间 阈值范围内的预测交通量数据。S9: Obtain the accuracy between the test predicted traffic volume data and the actual traffic volume data; and obtain the predicted traffic volume data within the output future time threshold range according to the optimal ConvLSTM-based taxi travel demand prediction model.
进一步的,所述S4中,获取归一化后的单元历史交通量数据如下:Furthermore, in S4, the normalized unit historical traffic volume data is obtained as follows:
式中,yk为第k个单元区间的归一化后的单元历史交通量数据,tk为第k 个单元区间的单元历史交通量数据,max(t)为单元历史交通量数据的最大 值,min(t)为单元历史交通量数据的最小值;k为单元区间的编号。Where yk is the normalized unit historical traffic volume data of the kth unit interval, tk is the unit historical traffic volume data of the kth unit interval, max(t) is the maximum value of the unit historical traffic volume data, min(t) is the minimum value of the unit historical traffic volume data; k is the number of the unit interval.
进一步的,所述S8中的测试预测交通量数据与真实交通量数据之间的损 失函数为:Furthermore, the loss function between the test predicted traffic volume data and the actual traffic volume data in S8 is:
式中,Loss为损失函数值;yi为待预测区域的单元历史交通量数据经过 归一化处理之后的第i个元素值;为基于ConvLSTM的出租车出行需求预测 模型的第i个预测值,output size为基于ConvLSTM的出租车出行需求预测模 型的参数个数;Where Loss is the loss function value; yi is the i-th element value of the unit historical traffic volume data of the area to be predicted after normalization; is the i-th predicted value of the taxi travel demand prediction model based on ConvLSTM, and output size is the number of parameters of the taxi travel demand prediction model based on ConvLSTM;
进一步的,所述S9中的测试预测交通量数据与真实交通量数据之间的准 确率计算如下:Furthermore, the accuracy between the test predicted traffic volume data and the actual traffic volume data in S9 is calculated as follows:
式中,yi为待预测区域的单元历史交通量数据经过归一化处理之后的第i 个元素值;为基于ConvLSTM的出租车出行需求预测模型的第i个预测值; ABS(·)表示取绝对值运算。In the formula, yi is the i-th element value of the unit historical traffic volume data of the area to be predicted after normalization; is the i-th predicted value of the taxi travel demand forecasting model based on ConvLSTM; ABS(·) represents the absolute value operation.
有益效果:本发明的一种基于ConvLSTM的出租车出行需求预测方法, 通过对每个单元区间的历史交通量数据进行标准化和归一化处理,减少了运 算量,提高了预测的效率。且所使用的ConvLSTM神经网络不仅可以向LSTM 一样建立时序关系,而且可以像CNN一样刻画局部空间特征,极大地提高了出租车轨迹预测的准确率。Beneficial effects: The taxi travel demand prediction method based on ConvLSTM of the present invention reduces the amount of calculation and improves the prediction efficiency by standardizing and normalizing the historical traffic volume data of each unit interval. The ConvLSTM neural network used can not only establish a temporal relationship like LSTM, but also characterize local spatial features like CNN, which greatly improves the accuracy of taxi trajectory prediction.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下 面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在 不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
图1为本发明出租车出行需求预测方法流程图;FIG1 is a flow chart of a method for predicting taxi travel demand according to the present invention;
图2为本发明的ConvLSTM模型架构图;FIG2 is a ConvLSTM model architecture diagram of the present invention;
图3为本发明的基于ConvLSTM的出租车出行需求预测模型流程图;FIG3 is a flow chart of a taxi travel demand prediction model based on ConvLSTM of the present invention;
图4为本发明的实施例中的准确率-迭代次数折线图。FIG. 4 is a line graph of accuracy-iteration number in an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发 明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述, 显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于 本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
本实施例提供了一种基于ConvLSTM的出租车出行需求预测方法,如图1 所示,包括如下步骤:This embodiment provides a taxi travel demand prediction method based on ConvLSTM, as shown in FIG1 , comprising the following steps:
S1:建立基于ConvLSTM的出租车出行需求预测模型:S1: Establish a taxi travel demand prediction model based on ConvLSTM:
具体的,本实施例中的出租车出行需求预测模型的公式如下:Specifically, the formula of the taxi travel demand prediction model in this embodiment is as follows:
式中,Wx为ConvLSTM网络输入门的权重参数;Wh为ConvLSTM网络 输出门的权重参数;Wc为ConvLSTM网络遗忘门的权重参数;bi为ConvLSTM 网络输入门的偏差参数;bf为ConvLSTM网络输出门的偏差参数;bo为 ConvLSTM网络遗忘门的偏差参数;xt当前时刻的输入;it为当前时间步输入 门的值;ct为当前时间步遗忘门的值;ct-1为上一时间步遗忘门的值;ft为当 前时间步记忆细胞的值;ot为当前时间步输出门的值;Ht-1为上一时间步的隐 藏状态;σ为sigmoid激活函数;tanh为三角正切函数;*表示卷积,区别于一般的LSTM;表示对应元素相乘;In the formula, Wx is the weight parameter of the input gate of the ConvLSTM network; Wh is the weight parameter of the output gate of the ConvLSTM network; Wc is the weight parameter of the forget gate of the ConvLSTM network; bi is the bias parameter of the input gate of the ConvLSTM network; bf is the bias parameter of the output gate of the ConvLSTM network; bo is the bias parameter of the forget gate of the ConvLSTM network; xt is the input at the current moment; it is the value of the input gate at the current time step; ct is the value of the forget gate at the current time step; ct -1 is the value of the forget gate at the previous time step; ft is the value of the memory cell at the current time step; ot is the value of the output gate at the current time step; Ht -1 is the hidden state at the previous time step; σ is the sigmoid activation function; tanh is the trigonometric tangent function; * indicates convolution, which is different from the general LSTM; Indicates the multiplication of corresponding elements;
具体的,ConvLSTM即卷积长短期记忆网络(CNN-LSTM网络),是 一种基于卷积神经网络和长短期记忆网络系统的混合网络模型,其中卷积神 经网络(Convolutional NeuralNetworks,CNN)是一类包含卷积计算且具有深度结构的前馈神经网络,主要实现的就是特征提取;长短期记忆网络 (LSTM,Long Short-Term Memory)是一种时间循环神经网络,是为了解 决一般的RNN(循环神经网络)存在的长期依赖问题而专门设计出来的,所有的RNN都具有一种重复神经网络模块的链式形式,主要实现的是时间 序列的预测。ConvLSTM模型中卷积神经网络部分的输入为出租车的历史交 通量数据,卷积神经网络部分的输出为通过卷积层提取的特征图,长短期记 忆网络部分的输入为卷积神经网络部分输出的特征图,长短期记忆网络部分 的输出为出租车未来出行需求的预测值。选用RNN来进行本实施例中的出租车需求预测方法,能够很好的解决由于历史及现有的出租车数量的变化而 导致的预测准确率不高的问题。Specifically, ConvLSTM, or Convolutional Long Short-Term Memory Network (CNN-LSTM Network), is a hybrid network model based on Convolutional Neural Network and Long Short-Term Memory Network system, where Convolutional Neural Network (CNN) is a type of feedforward neural network with deep structure that includes convolution calculation, and mainly realizes feature extraction; Long Short-Term Memory Network (LSTM) is a time recurrent neural network, which is specially designed to solve the long-term dependency problem existing in general RNN (recurrent neural network). All RNNs have a chain form of repeated neural network modules, and mainly realize the prediction of time series. In the ConvLSTM model, the input of the convolutional neural network part is the historical traffic data of taxis, the output of the convolutional neural network part is the feature map extracted by the convolution layer, the input of the Long Short-Term Memory Network part is the feature map output by the convolutional neural network part, and the output of the Long Short-Term Memory Network part is the predicted value of the future travel demand of taxis. The use of RNN to carry out the taxi demand forecasting method in this embodiment can effectively solve the problem of low forecasting accuracy caused by changes in the number of historical and existing taxis.
ConvLSTM的核心概念在于细胞状态以及“门”结构。细胞状态相当于 信息传输的路径,让信息能够在序列中传递下去,可以将其看作网络的“记 忆”。理论上来讲,细胞状态能够将序列处理过程中的相关信息一直传递下 去。因此,即使是较早时间步长的信息也能够携带到较后时间步长的细胞中来,这克服了短时记忆的影响,信息的添加和删除通过“门”结构来实现, “门”结构在训练过程中会去学习应该保存或遗忘哪些信息,ConvLSTM模型细胞结构如图2所示:门1为遗忘门,用来确定前一个步长中哪些相关的信息需要被保留,门2为输入门,用来确定当前输入中哪些信息是重要的, 是需要被添加的,门3是输出门,用来确定下一个隐藏状态应该是什么。The core concepts of ConvLSTM are cell states and "gate" structures. Cell states are equivalent to the path of information transmission, allowing information to be passed down in the sequence, and can be regarded as the "memory" of the network. In theory, cell states can pass on relevant information in the sequence processing process. Therefore, even information from earlier time steps can be carried to cells in later time steps, which overcomes the influence of short-term memory. The addition and deletion of information is achieved through the "gate" structure. The "gate" structure will learn which information should be saved or forgotten during the training process. The cell structure of the ConvLSTM model is shown in Figure 2:
S2、获取历史时间范围阈值的待预测区域的历史交通量数据,并对所述 历史交通量数据进行预处理,获取标准历史交通量数据;所述历史交通量数 据包括出租车车牌号、载客状态、载客时间、出租车所在位置的经度、出租 车所在位置的纬度、每小时公里速度;S2. Obtain historical traffic volume data of the area to be predicted within the historical time range threshold, and pre-process the historical traffic volume data to obtain standard historical traffic volume data; the historical traffic volume data includes the taxi license plate number, passenger status, passenger time, longitude of the taxi location, latitude of the taxi location, and speed in kilometers per hour;
具体的,本实施例中,待预测区域为大连市,通过安装在出租车上的 GPS收集整个大连市在历史时间范围阈值内的出租车的历史交通量数据,对 出租车的原始历史交通量数据进行数据预处理,预处理即是对缺失值、异常值和重复值进行清洗,以使得历史交通量数据能够匹配出租车出行需求预测 模型的需求以适应所述出租车出行需求预测模型,具体的预处理的方法包括 坐标筛选、数据清洗和去重复操作,进而统计出待预测区域的出租车的标准 历史交通量数据,作为后续模型的输入。Specifically, in this embodiment, the area to be predicted is Dalian City. The historical traffic volume data of taxis in the entire Dalian City within the historical time range threshold are collected by GPS installed on taxis, and the original historical traffic volume data of taxis are preprocessed. The preprocessing is to clean the missing values, abnormal values and duplicate values so that the historical traffic volume data can match the requirements of the taxi travel demand prediction model to adapt to the taxi travel demand prediction model. The specific preprocessing method includes coordinate screening, data cleaning and de-duplication operations, and then the standard historical traffic volume data of taxis in the area to be predicted are counted as the input of the subsequent model.
S3、将所述待预测区域按照经纬度的方向进行划分,获得若干单元区 间,并根据所述标准历史交通量数据获取每个单元区间在所述历史时间范围 阈值内的单元历史交通量数据;其中,对所述待预测区域按照经纬度方向进 行划分时,所选取的经纬度的单位按照所选取的待预测区域当地的地形状况由人工进行具体的确定。S3. Divide the area to be predicted according to the directions of longitude and latitude to obtain a plurality of unit intervals, and obtain the unit historical traffic volume data of each unit interval within the threshold value of the historical time range according to the standard historical traffic volume data; wherein, when the area to be predicted is divided according to the directions of longitude and latitude, the selected units of longitude and latitude are specifically determined manually according to the local terrain conditions of the selected area to be predicted.
具体的,本实施例中,使用groupby函数统计每个单元区间的单元历史 交通量数据;能够在设定的历史时间范围阈值内,对该单元区间内的单元历 史交通数据经过归一化处理后,对应在该历史时间范围阈值内的某一个时刻 的250*250矩阵中的元素,其中历史时间范围阈值为设定的过去的一个时间 段。在充分考虑大连市地形的情况下,将大连市按照经纬度的方向进行划分,将经纬度每0.001个单位的范围作为一个单元区间,以5分钟为一个时 间范围阈值,即以5分钟为一个颗粒度,统计每5分钟内某单元区间(即经 纬度0.001个单位围成的区域)内出租车的单元历史交通量数据,进而统计出整个大连市每个单元区间在每5分钟的出租车的单元历史交通量数据。Specifically, in this embodiment, the groupby function is used to count the unit historical traffic volume data of each unit interval; the unit historical traffic data in the unit interval can be normalized within the set historical time range threshold, and the elements in the 250*250 matrix corresponding to a certain moment within the historical time range threshold can be obtained, wherein the historical time range threshold is a set time period in the past. In full consideration of the terrain of Dalian, Dalian is divided according to the direction of longitude and latitude, and the range of 0.001 units of longitude and latitude is taken as a unit interval, and 5 minutes is taken as a time range threshold, that is, 5 minutes is taken as a granularity, and the unit historical traffic volume data of taxis in a unit interval (i.e., the area surrounded by 0.001 units of longitude and latitude) within every 5 minutes is counted, and then the unit historical traffic volume data of taxis in each unit interval of the entire Dalian city in every 5 minutes is counted.
S4、对所述单元历史交通量数据进行归一化处理,获取归一化后的单元 历史交通量数据;以提高出租车出行需求预测模型的预测精度。S4. Normalize the unit historical traffic volume data to obtain the normalized unit historical traffic volume data, so as to improve the prediction accuracy of the taxi travel demand prediction model.
具体的,由于每个单元历史交通量数据具有不同的量纲和数量级,为了 避免不同单元历史交通量数据间量数据差别较大从而影响分析结果的可靠 性,因此对其进行归一化处理,将所述单元历史交通量数据按比例进行缩 放,使其落入一个小的特定区间,从而保证分析结果的可靠性;本实施例的 归一化处理采用离差标准化方法,即集中每个元素值减去数据集中最小值,然后除以数据集中最大值和最小值之差,使其落在[0,1]区间范围内,如下面 的公式所示:Specifically, since each unit historical traffic volume data has different dimensions and magnitudes, in order to avoid large differences in volume data between different units of historical traffic volume data, thereby affecting the reliability of the analysis results, normalization processing is performed on the historical traffic volume data, and the unit historical traffic volume data is scaled in proportion to fall into a small specific interval, thereby ensuring the reliability of the analysis results; the normalization processing of this embodiment adopts a deviation standardization method, that is, the minimum value in the data set is subtracted from each element value, and then divided by the difference between the maximum and minimum values in the data set, so that it falls within the interval [0,1], as shown in the following formula:
式中,yk为第k个单元区间的归一化后的单元历史交通量数据,tk为第k个单元区间的单元历史交通量数据(待转化数据集中的元素值), max(t)为单元历史交通量数据的最大值(即待转化数据集中的最大值), min(t)为单元历史交通量数据的最小值(即待转化数据集中的最小值);k 为单元区间的编号;Wherein, yk is the normalized unit historical traffic volume data of the kth unit interval, tk is the unit historical traffic volume data of the kth unit interval (the element value in the data set to be converted), max(t) is the maximum value of the unit historical traffic volume data (i.e. the maximum value in the data set to be converted), min(t) is the minimum value of the unit historical traffic volume data (i.e. the minimum value in the data set to be converted); k is the number of the unit interval;
S5:将所述待预测区域划分为n*n元组的空间横纵分析矩阵,以使得所 述归一化后的单元历史交通量数据与每个元组进行对应,作为出租车出行需 求预测模型的输入集合。所述空间横纵分析矩阵的行代表待预测区域所在位 置的经度,所述空间横纵分析矩阵的列代表待预测区域所在位置的纬度,所 述空间横纵分析矩阵中的元素为对应的单元区间的单元历史交通数据;S5: Divide the area to be predicted into a spatial horizontal and vertical analysis matrix of n*n tuples, so that the normalized unit historical traffic volume data corresponds to each tuple, as an input set of the taxi travel demand prediction model. The rows of the spatial horizontal and vertical analysis matrix represent the longitude of the location of the area to be predicted, the columns of the spatial horizontal and vertical analysis matrix represent the latitude of the location of the area to be predicted, and the elements in the spatial horizontal and vertical analysis matrix are the unit historical traffic data of the corresponding unit interval;
具体的,本实施例中所构建的空间纵横分析矩阵,将每个所述单元区间 划分为250*250的矩阵tuple(元组)形式,将上述所述归一化后的历史交 通量数据落位到tuple(元组)的对应位置作为出租车出行需求预测模型的输入集合。其中,空间纵横分析矩阵表示该单元区间所处时间段中,该微区 间所表示的位置的出租车的数量,但是总共有4032个矩阵,矩阵中行列分 别表示经纬度,矩阵中的数据,能够表示所述经纬度的出租车的数量,即根 据空间纵横分析矩阵中的某个元素,即能够知晓在何时(时间)何地(经纬 度)下的出租车的数量;Specifically, the spatial vertical and horizontal analysis matrix constructed in this embodiment divides each unit interval into a 250*250 matrix tuple form, and places the above-mentioned normalized historical traffic volume data in the corresponding position of the tuple as the input set of the taxi travel demand prediction model. Among them, the spatial vertical and horizontal analysis matrix represents the number of taxis at the location represented by the micro interval in the time period of the unit interval, but there are a total of 4032 matrices, and the rows and columns in the matrix represent the longitude and latitude respectively. The data in the matrix can represent the number of taxis at the longitude and latitude, that is, according to a certain element in the spatial vertical and horizontal analysis matrix, the number of taxis at what time (time) and where (longitude and latitude) can be known;
具体的,本实施例中将通过安装在出租车上的GPS收集整个大连市在 历史时间范围阈值内的4032组数据出租车的历史交通量数据进行预处理并 归一化处理后所得到的归一化后的历史交通数据,通过np.zeros函数压缩为100*100的数据矩阵,并采用滑窗的方法,使用循环函数每次前进一个单 位,从而实现滑窗操作,使得训练数据集中相邻两组数据集中有且仅有一个 数据的滑动,此外测试数据集与训练数据集也有一个数据的滑动,这有利于 挖掘轨迹序列中的相关性,进而提高了准确率。依据时间顺序将每12组数 据分类,其中随机选取全部数据集的80%为训练集(train_data)数据集,另 外的20%作为测试集(test_data)数据集并输出为npy格式;且通过对数据 集的维度进行适当压缩,压缩为100*100的数据矩阵,在不影响准确率的前提下提高了模型预测速度。Specifically, in this embodiment, the historical traffic data of 4032 groups of taxis in Dalian within the historical time range threshold are collected by GPS installed on taxis. The normalized historical traffic data obtained after preprocessing and normalization are compressed into a 100*100 data matrix by np.zeros function, and the sliding window method is adopted. The loop function advances one unit each time to realize the sliding window operation, so that there is only one data sliding in the two adjacent data sets in the training data set. In addition, there is also one data sliding between the test data set and the training data set, which is conducive to mining the correlation in the trajectory sequence, thereby improving the accuracy. According to the time sequence, each 12 groups of data are classified, and 80% of the total data set are randomly selected as the training set (train_data) data set, and the other 20% are used as the test set (test_data) data set and output in npy format; and by appropriately compressing the dimension of the data set, it is compressed into a 100*100 data matrix, which improves the model prediction speed without affecting the accuracy.
在本实施例中,输入门为归一化之后的横纵分析矩阵经np.zeros函数进 行压缩,压缩后的100*100的矩阵tuple,该矩阵tuple包含经纬度、时间、归 一化后的历史交通量数据信息;遗忘门为决定了上一时刻预测的单元状态 ct-1有多少保留到当前时刻ct,为模型自适应;输出门为控制单元状态输出当 前预测值,本例中即为最后输出的预测交通量数据。In this embodiment, the input gate is a 100*100 matrix tuple after the normalization of the horizontal and vertical analysis matrix compressed by the np.zeros function. The matrix tuple contains the latitude and longitude, time, and normalized historical traffic volume data information; the forget gate determines how much of the unit state ct -1 predicted at the previous moment is retained to the current moment ct , which is model adaptation; the output gate controls the unit state to output the current prediction value, which is the predicted traffic volume data output at the last moment in this example.
S6、根据所述归一化后的单元历史交通数据,获取测试集和训练集;S6. Obtaining a test set and a training set according to the normalized unit historical traffic data;
S7:根据所述训练集,将所述空间横纵分析矩阵输入所述基于ConvLSTM 的出租车出行需求预测模型,获取训练后的基于ConvLSTM的出租车出行需 求预测模型,对所述归一化后的历史交通量数据进行训练,获取未来时间阈 值范围的预测交通量数据,和训练后的基于ConvLSTM的出租车出行需求预测模型;S7: According to the training set, the spatial horizontal and vertical analysis matrix is input into the taxi travel demand prediction model based on ConvLSTM to obtain the trained taxi travel demand prediction model based on ConvLSTM, the normalized historical traffic volume data is trained to obtain the predicted traffic volume data within the future time threshold range and the trained taxi travel demand prediction model based on ConvLSTM;
优选地,根据所述训练集对归一化后的历史交通量数据进行训练的方法 如下:Preferably, the method for training the normalized historical traffic volume data according to the training set is as follows:
S71:设i=1,x=0;其中,i为所述空间纵横分析矩阵的行数的编号;S71: Let i=1, x=0; wherein i is the row number of the spatial vertical and horizontal analysis matrix;
S72:将经过基于ConvLSTM的出租车出行需求预测模型 的卷积神经网络的输入层,其中Si为空间纵横分析矩阵S中的第i行;为空间纵横分析矩阵S中的第i行中的第n个数据;输入至所述卷积神经网 络的循环层,将所述循环层输出结果Ht-1与xt分别卷积后,获得X=[y,x]T, 其中y为Ht-1经卷积后的数据,x为xt经卷积后的数据;将其作为基于ConvLSTM 的出租车出行需求预测模型的输入,经过所述基于ConvLSTM的出租车出行需 求预测模型的卷积神经网络的LSTM后,获得预测交通量数据;其中,基于ConvLSTM的出租车出行需求预测模型的计算过程如公式(1);S72: After the input layer of the convolutional neural network based on the ConvLSTM taxi travel demand prediction model, where S i is the i-th row in the spatial vertical and horizontal analysis matrix S; is the nth data in the i-th row of the spatial vertical and horizontal analysis matrix S; input to the recurrent layer of the convolutional neural network, convolve the recurrent layer output result H t-1 with x t respectively, and obtain X = [y, x] T , wherein y is the data after convolution of H t-1 , and x is the data after convolution of x t ; use it as the input of the taxi travel demand prediction model based on ConvLSTM, and obtain the predicted traffic volume data after passing through the LSTM of the convolutional neural network of the taxi travel demand prediction model based on ConvLSTM; wherein, the calculation process of the taxi travel demand prediction model based on ConvLSTM is as shown in formula (1);
S8:将所述测试集输入至所述训练后的基于ConvLSTM的出租车出行需求 预测模型,获取测试预测交通量数据;以获取所述测试预测交通量数据与真 实交通量数据之间的损失函数,当损失函数的值小于损失函数阈值时,执行 S9,此时的所述训练后的基于ConvLSTM的出租车出行需求预测模型为最优基 于ConvLSTM的出租车出行需求预测模型;否则重复执行S7;S8: input the test set into the trained ConvLSTM-based taxi travel demand prediction model to obtain test predicted traffic volume data; obtain the loss function between the test predicted traffic volume data and the real traffic volume data, and when the value of the loss function is less than the loss function threshold, execute S9, at which time the trained ConvLSTM-based taxi travel demand prediction model is the optimal ConvLSTM-based taxi travel demand prediction model; otherwise, repeat S7;
S9:获取所述测试预测交通量数据与真实交通量数据之间的准确率;并 根据所述最优基于ConvLSTM的出租车出行需求预测模型获取未来时间阈值 范围内的预测交通量数据。S9: Obtain the accuracy between the test predicted traffic volume data and the actual traffic volume data; and obtain the predicted traffic volume data within the future time threshold range according to the optimal ConvLSTM-based taxi travel demand prediction model.
具体的,本实施例根据所述基于ConvLSTM的出租车出行需求预测模型, 并利用训练数据集对归一化后的历史交通量数据进行训练,获取未来时间阈 值范围的训练预测交通量数据,将所述测试集导入所述基于ConvLSTM的出租车出行需求预测模型,测试所述基于ConvLSTM的出租车出行需求预测模型的 精度,以对未来时间阈值范围的出租车交通量数据进行预测;Specifically, this embodiment uses the ConvLSTM-based taxi travel demand prediction model and uses the training data set to train the normalized historical traffic volume data to obtain the training predicted traffic volume data within the future time threshold range, imports the test set into the ConvLSTM-based taxi travel demand prediction model, tests the accuracy of the ConvLSTM-based taxi travel demand prediction model, and predicts the taxi traffic volume data within the future time threshold range;
具体的,如图3所示,根据基于ConvLSTM的出租车出行需求预测模型, 所述ConvLSTM神经网络的最后一层的输出门作为整个网络的预测结果。本 发明通过对大连市历史出租车交通量数据进行学习,对城市级别的出租车交 通量进行预测,极大地提升了预测结果的准确性。Specifically, as shown in Figure 3, according to the taxi travel demand prediction model based on ConvLSTM, the output gate of the last layer of the ConvLSTM neural network is used as the prediction result of the entire network. The present invention predicts the taxi traffic volume at the city level by learning the historical taxi traffic volume data of Dalian, which greatly improves the accuracy of the prediction result.
优选地,所述S8中的测试预测交通量数据与真实交通量数据之间的损失 函数为:建立损失函数,以获取基于ConvLSTM的出租车出行需求预测模型获 取的预测交通量数据与真实交通量数据之间的差值,对所述基于ConvLSTM的 出租车出行需求预测模型进行评估;Preferably, the loss function between the test predicted traffic volume data and the actual traffic volume data in S8 is: establishing a loss function to obtain the difference between the predicted traffic volume data obtained by the taxi travel demand prediction model based on ConvLSTM and the actual traffic volume data, and evaluating the taxi travel demand prediction model based on ConvLSTM;
根据预测值与真实值计算损失函数loss,Calculate the loss function loss based on the predicted value and the true value.
式中,Loss为损失函数值;yi为待预测区域的单元历史交通量数据(即 数据集)经过归一化处理之后的第i个元素值;为基于ConvLSTM的出租车 出行需求预测模型的第i个预测值,output size为基于ConvLSTM的出租车出 行需求预测模型的参数个数,主要用来衡量基于ConvLSTM的出租车出行需求 预测模型所作出的预测离真实值之间的偏离程度,用以评估基于ConvLSTM的 出租车出行需求预测模型的预测结果的好坏。Where Loss is the loss function value; yi is the i-th element value of the unit historical traffic volume data (i.e., data set) of the area to be predicted after normalization; is the i-th predicted value of the taxi travel demand forecasting model based on ConvLSTM, and output size is the number of parameters of the taxi travel demand forecasting model based on ConvLSTM. It is mainly used to measure the deviation degree between the prediction made by the taxi travel demand forecasting model based on ConvLSTM and the true value, so as to evaluate the prediction result of the taxi travel demand forecasting model based on ConvLSTM.
具体的,本实施例中的损失函数选用binary_crossentropy(即二元交叉熵), 准确率选用acc函数,用以衡量基于ConvLSTM的出租车出行需求预测模型所 作出的预测交通量数据与真实交通量数据之间的偏离程度,评估模型模型预 测的好坏,其中,学习率为ɑ=0.005,采用正态分布(μ=0.485,σ=0.224)初始化权重参数和偏差参数,单次训练过程的数据批量为12。若损失率大于设定的误差值,则重新训练模型,否则该模型满足要求,进而将测试数据集输 入到训练好的ConvLSTM神经网络,预测未来大连市出租车出行需求密度。Specifically, the loss function in this embodiment uses binary_crossentropy (i.e., binary cross entropy), and the accuracy uses the acc function to measure the degree of deviation between the predicted traffic volume data and the actual traffic volume data made by the taxi travel demand prediction model based on ConvLSTM, and evaluate the quality of the model prediction, wherein the learning rate is ɑ=0.005, and the weight parameter and the bias parameter are initialized using the normal distribution (μ=0.485, σ=0.224), and the data batch of a single training process is 12. If the loss rate is greater than the set error value, the model is retrained, otherwise the model meets the requirements, and then the test data set is input into the trained ConvLSTM neural network to predict the future taxi travel demand density in Dalian.
优选地:所述S9中的测试预测交通量数据与真实交通量数据之间的准确 率计算如下:根据预测值与真实值计算准确率Acc,Preferably: the accuracy between the test predicted traffic volume data and the actual traffic volume data in S9 is calculated as follows: the accuracy Acc is calculated based on the predicted value and the actual value,
式中,yi为待预测区域的单元历史交通量数据(即数据集)经过归一化处 理之后的第i个元素值;为基于ConvLSTM的出租车出行需求预测模型的第 i个预测值更新参数重新计算预测值,ABS(·)表示取绝对值运算。In the formula, yi is the i-th element value of the unit historical traffic volume data (i.e., data set) of the area to be predicted after normalization; The parameters of the i-th prediction value of the taxi travel demand prediction model based on ConvLSTM are updated to recalculate the prediction value. ABS(·) represents the absolute value operation.
S9:根据所述最优基于ConvLSTM的出租车出行需求预测模型,获取未来 时间阈值范围内的预测交通量数据。S9: According to the optimal ConvLSTM-based taxi travel demand prediction model, the predicted traffic volume data within the future time threshold range is obtained.
具体的,本实施例在经过多轮训练之后,其准确率如图4所示,此时该 准确率已经满足Acc<=0.01,至此模型训练结束并满足预测要求,此时的模型 为最优基于ConvLSTM的出租车出行需求预测模型,最后通过最优基于 ConvLSTM的出租车出行需求预测模型对整个大连市的出租车交通量进行预测, 输入大连市往期出租车交内的预测交通量数据为未来的某一个时间段。Specifically, after multiple rounds of training, the accuracy of this embodiment is shown in Figure 4. At this time, the accuracy has satisfied Acc<=0.01, so the model training is completed and meets the prediction requirements. The model at this time is the optimal ConvLSTM-based taxi travel demand prediction model. Finally, the taxi traffic volume in the entire Dalian city is predicted by the optimal ConvLSTM-based taxi travel demand prediction model, and the predicted traffic volume data of Dalian’s past taxi traffic is input as a certain time period in the future.
本发明充分挖掘出租车轨迹序列中的时空关联性,通过对出租车历史交 通量数据的学习来预测出租车未来的交通量数据,从而提升交通量预测的准 确性。交通量预测是指采用出租车的历史交通量数据,主要是GPS定位数 据,基于大量的历史交通量数据建立预测模型,以已知的交通量分布作为预测模型的输入,通过模型的推演运算,得出出租车的下一时刻所在道路。出 租车的交通量预测可以改善城市交通安全,属于智能交通的一部分。对于交 管部门来说可以有效提高对于出租车这一公共交通资源的控制与利用,同时有助于缓解城市的拥堵状况,提高城市道路的利用状况并为广大市民带来切 实利益。然而出租车GPS历史交通量数据具有数据量大,维度高,数据混乱,覆盖面广等特点,它包含了出租车车牌号,载客状态,时间,经度,纬 度,每小时公里速度等信息。此外,出租车在时空交通网络中分布不均匀, 出租车交通量之间的相关性较为隐秘且受外部影响因素较大,这给出租车出 行需求预测带来极大地困难,如果采用传统预测方法的话这势必会产生极大地困难,而且准确率也很低,因此采用基于深度学习的预测方法是唯一的可 行方法。The present invention fully exploits the spatiotemporal correlation in the taxi trajectory sequence, and predicts the future traffic volume data of the taxi by learning the historical traffic volume data of the taxi, thereby improving the accuracy of traffic volume prediction. Traffic volume prediction refers to using the historical traffic volume data of the taxi, mainly GPS positioning data, to establish a prediction model based on a large amount of historical traffic volume data, using the known traffic volume distribution as the input of the prediction model, and obtaining the road where the taxi will be at the next moment through the deduction calculation of the model. Taxi traffic volume prediction can improve urban traffic safety and is part of intelligent transportation. For the traffic management department, it can effectively improve the control and utilization of taxis as a public transportation resource, and at the same time help to alleviate the congestion in the city, improve the utilization of urban roads and bring tangible benefits to the general public. However, the historical traffic volume data of taxi GPS has the characteristics of large data volume, high dimension, chaotic data, wide coverage, etc. It contains information such as taxi license plate number, passenger status, time, longitude, latitude, and speed in kilometers per hour. In addition, taxis are unevenly distributed in the spatiotemporal traffic network, and the correlation between taxi traffic volumes is relatively hidden and greatly affected by external factors, which makes it extremely difficult to predict taxi travel demand. If traditional prediction methods are used, this will inevitably cause great difficulties and the accuracy is also very low. Therefore, the prediction method based on deep learning is the only feasible method.
基于在此本发明公开了一种ConvLSTM的出租车出行需求预测方法, 解决了在复杂外部影响因素下,出租车轨迹数据相关性的挖掘的问题,并且 在海量的出租车轨迹数据下,提高预测模型准确率。所建立的模型不仅简明 扼要可操作性强,而且其准确率也较高。Based on this, the present invention discloses a ConvLSTM taxi travel demand prediction method, which solves the problem of mining the correlation of taxi trajectory data under complex external influencing factors, and improves the accuracy of the prediction model under massive taxi trajectory data. The established model is not only concise and highly operable, but also has a high accuracy rate.
本发明的训练数据集中采用滑窗法,使得相邻两组数据集中有一个数据 的移动,这不仅增加了数据集的数量,而且更容易挖掘轨迹序列中的相关 性,从而提高了准确率。且本发明使用的ConvLSTM神经网络不仅可以向LSTM一样建立时序关系,而且可以像CNN一样刻画局部空间特征,极大地 提高了出租车轨迹预测的准确率。The sliding window method is used in the training data set of the present invention, so that one data in two adjacent data sets moves, which not only increases the number of data sets, but also makes it easier to mine the correlation in the trajectory sequence, thereby improving the accuracy. And the ConvLSTM neural network used in the present invention can not only establish a temporal relationship like LSTM, but also can characterize local spatial features like CNN, greatly improving the accuracy of taxi trajectory prediction.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对 其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210908815.4A CN116029407A (en) | 2022-07-29 | 2022-07-29 | Taxi travel demand prediction method based on ConvLSTM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210908815.4A CN116029407A (en) | 2022-07-29 | 2022-07-29 | Taxi travel demand prediction method based on ConvLSTM |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116029407A true CN116029407A (en) | 2023-04-28 |
Family
ID=86080169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210908815.4A Pending CN116029407A (en) | 2022-07-29 | 2022-07-29 | Taxi travel demand prediction method based on ConvLSTM |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116029407A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108985475A (en) * | 2018-06-13 | 2018-12-11 | 厦门大学 | Net based on deep neural network about vehicle car service needing forecasting method |
CN110210644A (en) * | 2019-04-17 | 2019-09-06 | 浙江大学 | The traffic flow forecasting method integrated based on deep neural network |
CN110599767A (en) * | 2019-09-04 | 2019-12-20 | 广东工业大学 | Long-term and short-term prediction method based on network taxi appointment travel demands |
CN111507762A (en) * | 2020-04-15 | 2020-08-07 | 中国科学院自动化研究所 | Urban taxi demand prediction method based on multi-task co-prediction neural network |
CN113487219A (en) * | 2021-07-23 | 2021-10-08 | 重庆交通大学 | Urban taxi demand prediction method and device and computer equipment |
-
2022
- 2022-07-29 CN CN202210908815.4A patent/CN116029407A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108985475A (en) * | 2018-06-13 | 2018-12-11 | 厦门大学 | Net based on deep neural network about vehicle car service needing forecasting method |
CN110210644A (en) * | 2019-04-17 | 2019-09-06 | 浙江大学 | The traffic flow forecasting method integrated based on deep neural network |
CN110599767A (en) * | 2019-09-04 | 2019-12-20 | 广东工业大学 | Long-term and short-term prediction method based on network taxi appointment travel demands |
CN111507762A (en) * | 2020-04-15 | 2020-08-07 | 中国科学院自动化研究所 | Urban taxi demand prediction method based on multi-task co-prediction neural network |
CN113487219A (en) * | 2021-07-23 | 2021-10-08 | 重庆交通大学 | Urban taxi demand prediction method and device and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111915059B (en) | Attention mechanism-based Seq2Seq berth occupancy prediction method | |
CN108510741B (en) | A Traffic Flow Prediction Method Based on Conv1D-LSTM Neural Network Structure | |
CN109658695B (en) | Multi-factor short-term traffic flow prediction method | |
CN115440032B (en) | Long-short-period public traffic flow prediction method | |
CN111612281B (en) | A method, device and computer equipment for predicting the peak flow of people in a subway station | |
CN110021165A (en) | A kind of traffic flow forecasting method based on Autoencoder-LSTM Fusion Model | |
CN113591380B (en) | Traffic flow prediction method, medium and equipment based on graph Gaussian process | |
CN111275962B (en) | Vehicle track data aggregation effect prediction method and device | |
CN111931978A (en) | Urban rail transit passenger flow state prediction method based on space-time characteristics | |
CN113051811B (en) | A Multimodal Short-Term Traffic Congestion Prediction Method Based on GRU Network | |
CN113808396B (en) | Traffic speed prediction method and system based on traffic flow data fusion | |
CN112766597B (en) | Bus passenger flow prediction method and system | |
CN113344254A (en) | Method for predicting traffic flow of expressway service area based on LSTM-LightGBM-KNN | |
CN114118507A (en) | A risk assessment and early warning method and device based on multi-dimensional information fusion | |
Yang et al. | Short-term prediction of airway congestion index using machine learning methods | |
CN114117903A (en) | A short-term passenger flow prediction method for rail transit based on bp neural network | |
CN116307275B (en) | A Bicycle Flow Prediction Method Based on Airspace Causal Transfer | |
CN118536661A (en) | Short-time passenger flow prediction method for urban rail transit station during large-scale activities | |
CN117037493A (en) | Short-time traffic flow prediction method based on space-time convolution network | |
CN111222666A (en) | Data calculation method and device | |
CN116029407A (en) | Taxi travel demand prediction method based on ConvLSTM | |
CN116227738B (en) | Method and system for predicting traffic interval of power grid customer service | |
CN115333957B (en) | Business flow prediction method and system based on user behavior and enterprise business characteristics | |
CN114566048B (en) | A traffic control method based on multi-view adaptive spatio-temporal graph network | |
Li et al. | Comparison of short-term traffic demand prediction methods for transport services |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20230428 |