[go: up one dir, main page]

CN117649007A - Lightweight urban space-time data prediction method and device - Google Patents

Lightweight urban space-time data prediction method and device Download PDF

Info

Publication number
CN117649007A
CN117649007A CN202311316366.5A CN202311316366A CN117649007A CN 117649007 A CN117649007 A CN 117649007A CN 202311316366 A CN202311316366 A CN 202311316366A CN 117649007 A CN117649007 A CN 117649007A
Authority
CN
China
Prior art keywords
urban
graph
expansion
causal
spatiotemporal
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
Application number
CN202311316366.5A
Other languages
Chinese (zh)
Inventor
王培晓
张恒才
程诗奋
陆锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Geographic Sciences and Natural Resources of CAS
Original Assignee
Institute of Geographic Sciences and Natural Resources of CAS
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Institute of Geographic Sciences and Natural Resources of CAS filed Critical Institute of Geographic Sciences and Natural Resources of CAS
Priority to CN202311316366.5A priority Critical patent/CN117649007A/en
Publication of CN117649007A publication Critical patent/CN117649007A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/067Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A30/00Adapting or protecting infrastructure or their operation
    • Y02A30/60Planning or developing urban green infrastructure

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请公开了一种轻量级的城市时空数据预测方法、装置、电子设备及存储介质,属于城市数据预测技术领域,该方法包括:构建因果膨胀卷积模块,因果膨胀卷积模块用于挖掘城市时空数据的时间相关关系;构建图膨胀卷积模块,图膨胀卷积模块用于挖掘城市时空数据的空间相关关系;基于因果膨胀卷积模块和图膨胀卷积模块构建时空图膨胀模型;将历史城市时空数据带入时空图膨胀模型得到城市时空数据的预测结果。该方法通过挖掘城市时空数据的时间相关关系和空间相关关系提高了城市时空数据的预测精度,同时,通过引入膨胀运算减小了参数规模,提高了运算速度,进而能够同时提高该预测方法的预测精度和易用性。

This application discloses a lightweight urban spatiotemporal data prediction method, device, electronic equipment and storage medium, which belongs to the field of urban data prediction technology. The method includes: constructing a causal expansion convolution module, and the causal expansion convolution module is used for mining The temporal correlation of urban spatio-temporal data; construct a graph expansion convolution module, which is used to mine the spatial correlation of urban spatio-temporal data; build a spatio-temporal graph expansion model based on the causal expansion convolution module and the graph expansion convolution module; Historical urban spatiotemporal data is brought into the spatiotemporal graph expansion model to obtain the prediction results of urban spatiotemporal data. This method improves the prediction accuracy of urban spatio-temporal data by mining the time correlation and spatial correlation of urban spatio-temporal data. At the same time, it reduces the parameter scale and improves the calculation speed by introducing expansion operations, which can simultaneously improve the prediction of this prediction method. Precision and ease of use.

Description

一种轻量级的城市时空数据预测方法、装置A lightweight urban spatiotemporal data prediction method and device

技术领域Technical field

本申请属于轻量级的城市时空数据预测技术领域,具体涉及一种轻量级的城市时空数据预测方法、装置、电子设备及存储介质。This application belongs to the technical field of lightweight urban spatiotemporal data prediction, and specifically relates to a lightweight urban spatiotemporal data prediction method, device, electronic equipment and storage medium.

背景技术Background technique

时空预测是城市计算领域的一个热门研究课题,对城市规划和智能交通具有重要意义。目前,利用各种深度学习模型对未知系统的时空状态进行预测的尝试很多。然而,现有的预测模型大多倾向于提高预测精度,而忽视了在实际应用中的易用性,如时间效率低、参数规模大等。Spatiotemporal prediction is a popular research topic in the field of urban computing and is of great significance to urban planning and intelligent transportation. Currently, there are many attempts to use various deep learning models to predict the spatiotemporal state of unknown systems. However, most of the existing prediction models tend to improve the prediction accuracy while ignoring the ease of use in practical applications, such as low time efficiency and large parameter scale.

尽管目前时空预测模型已经在时空预测任务中取得了较优的预测精度,但仍存在不足。具体而言,存在的大多数时空预测模型专注于提升模型的预测精度,却忽略了模型的易用性。模型预测精度的提高往往伴随着模型复杂度的增加,这不仅加大了模型的实现难度,也使得模型的计算效率低下、参数规模庞大。在实际场景中,模型的易用性一直是很多学者关注的重点,在不显著增加模型计算时间/模型参数规模的情况下提高模型预测精度是城市计算的重中之重。然而,存在的大多数时空预测模型依然难以兼顾模型预测精度和易用性之间的均衡。Although the current spatiotemporal prediction model has achieved excellent prediction accuracy in spatiotemporal prediction tasks, there are still shortcomings. Specifically, most existing spatiotemporal prediction models focus on improving the prediction accuracy of the model, but ignore the ease of use of the model. The improvement of model prediction accuracy is often accompanied by an increase in model complexity, which not only increases the difficulty of model implementation, but also makes the calculation efficiency of the model low and the parameter scale large. In actual scenarios, the ease of use of models has always been the focus of many scholars. Improving model prediction accuracy without significantly increasing model calculation time/model parameter scale is a top priority in urban computing. However, most existing spatiotemporal prediction models still struggle to strike a balance between model prediction accuracy and ease of use.

发明内容Contents of the invention

本申请的目的是提供一种轻量级的城市时空数据预测方法、轻量级的城市时空数据预测装置、电子设备及存储介质以解决现有的轻量级的城市时空数据预测难以兼顾预测精度和模型易用性的问题。The purpose of this application is to provide a lightweight urban spatiotemporal data prediction method, a lightweight urban spatiotemporal data prediction device, electronic equipment and storage media to solve the problem of existing lightweight urban spatiotemporal data prediction that is difficult to take into account the prediction accuracy. and model usability issues.

根据本申请实施例的第一方面,提供了一种轻量级的城市时空数据预测方法,该方法可以包括:According to the first aspect of the embodiments of this application, a lightweight urban spatiotemporal data prediction method is provided. The method may include:

构建因果膨胀卷积模块,所述因果膨胀卷积模块用于挖掘城市时空数据的时间相关关系;Construct a causal dilated convolution module, which is used to mine the time correlation of urban spatiotemporal data;

构建图膨胀卷积模块,所述图膨胀卷积模块用于挖掘所述城市时空数据的空间相关关系;Construct a graph dilation convolution module, which is used to mine the spatial correlation of the city's spatiotemporal data;

基于所述因果膨胀卷积模块和所述图膨胀卷积模块构建时空图膨胀模型;Construct a space-time graph expansion model based on the causal expansion convolution module and the graph expansion convolution module;

将历史城市时空数据带入所述时空图膨胀模型得到城市时空数据的预测结果。The historical urban spatiotemporal data is brought into the spatiotemporal graph expansion model to obtain the prediction results of the urban spatiotemporal data.

在本申请的一些可选实施例中,构建因果膨胀卷积模块,包括:In some optional embodiments of the present application, building a causal dilated convolution module includes:

构建因果膨胀卷积算子;Construct causal dilation convolution operator;

在所述因果膨胀卷积算子中加入残差链接和正则化模块得到所述因果膨胀卷积模块。The causal dilation convolution module is obtained by adding a residual link and a regularization module to the causal dilation convolution operator.

在本申请的一些可选实施例中,所述因果膨胀卷积算子的前向传播公式如下:In some optional embodiments of this application, the forward propagation formula of the causal dilated convolution operator is as follows:

其中,为对城市时空数据的时间序列/>中的做膨胀因子为d的因果膨胀运算;/>为城市传感器节点vi在时间窗口τ观测到的城市时空数据;/>为卷积核;K为卷积核的大小。in, For the time series of urban spatiotemporal data/> middle Perform causal expansion operation with expansion factor d;/> is the urban spatio-temporal data observed by urban sensor node v i in the time window τ;/> is the convolution kernel; K is the size of the convolution kernel.

在本申请的一些可选实施例中,所述因果膨胀卷积模块的前向传播公式如下:In some optional embodiments of this application, the forward propagation formula of the causal dilated convolution module is as follows:

其中,为对城市时空数据的时间序列做因果膨胀卷积模块的前向传播运算;/>为城市传感器节点vi在因果膨胀卷积模块中的中间变量;Hi为城市传感器节点vi在因果膨胀卷积模块中的输出变量;eh为卷积核的个数;为对城市时空数据的时间序列/>做因果卷积运算;Norm为参数正则化函数;Relu为激活函数。in, To perform the forward propagation operation of the causal expansion convolution module on the time series of urban spatiotemporal data;/> is the intermediate variable of city sensor node v i in the causal dilation convolution module; H i is the output variable of city sensor node v i in the causal dilation convolution module; e h is the number of convolution kernels; For the time series of urban spatiotemporal data/> Perform causal convolution operation; Norm is the parameter regularization function; Relu is the activation function.

在本申请的一些可选实施例中,构建图膨胀卷积模块,包括:In some optional embodiments of this application, building a graph dilation convolution module includes:

构建城市传感器节点的膨胀邻接关系矩阵;Construct an expanded adjacency matrix of urban sensor nodes;

基于所述膨胀邻接关系矩阵构建图膨胀卷积算子;Construct a graph dilated convolution operator based on the dilated adjacency matrix;

基于所述图膨胀卷积算子构建图膨胀卷积模块。A graph dilation convolution module is constructed based on the graph dilation convolution operator.

在本申请的一些可选实施例中,所述膨胀邻接关系矩阵的计算公式如下:In some optional embodiments of this application, the calculation formula of the expanded adjacency matrix is as follows:

其中,Adilation=d为膨胀邻接关系矩阵;为城市传感器节点vi与vj的膨胀邻接关系;d为膨胀因子;Ad为1阶拓扑邻接矩阵的d次方。Among them, A dilation=d is the expanded adjacency matrix; is the expansion adjacency relationship between urban sensor nodes v i and v j ; d is the expansion factor; A d is the dth power of the first-order topological adjacency matrix.

在本申请的一些可选实施例中,所述图膨胀卷积算子的计算公式如下:In some optional embodiments of this application, the calculation formula of the graph dilation convolution operator is as follows:

其中,为对城市传感器节点vi做膨胀因子为d的图膨胀卷积操作;γji为传感器节点vj对传感器节点vi的影响权重;Hi为城市传感器节点vi在因果膨胀卷积模块中的输出变量;/>为膨胀因子为d的膨胀邻接关系矩阵;Wq、Wv为可学习的参数;Relu为激活函数;exp为指数函数;[·||·]为矩阵连接函数。in, is the graph expansion convolution operation with the expansion factor d for the city sensor node v i ; γ ji is the influence weight of the sensor node v j on the sensor node vi ; H i is the city sensor node v i in the causal expansion convolution module The output variable;/> is the expansion adjacency matrix with expansion factor d; W q and W v are learnable parameters; Relu is the activation function; exp is the exponential function; [·||·] is the matrix connection function.

在本申请的一些可选实施例中,图膨胀卷积模块的前向传播公式如下:In some optional embodiments of this application, the forward propagation formula of the graph dilation convolution module is as follows:

其中,为一个时空张量,其为因果膨胀卷积模块的输出。in, is a space-time tensor, which is the output of the causal dilated convolution module.

在本申请的一些可选实施例中,基于所述因果膨胀卷积模块和所述图膨胀卷积模块构建时空图膨胀模型,包括:In some optional embodiments of the present application, building a spatiotemporal graph expansion model based on the causal expansion convolution module and the graph expansion convolution module includes:

构建时空图膨胀卷积块,所述时空图膨胀卷积块包括串联的所述因果膨胀卷积模块和所述图膨胀卷积模块;Construct a spatiotemporal graph dilation convolution block, which includes the causal dilation convolution module and the graph dilation convolution module in series;

将N个所述时空图膨胀卷积块串联得到所述时空图膨胀模型;Concatenate N of the spatio-temporal graph dilation convolution blocks to obtain the spatio-temporal graph dilation model;

其中,N为大于1的自然数。Among them, N is a natural number greater than 1.

在本申请的一些可选实施例中,时空图膨胀模型的计算公式如下:In some optional embodiments of this application, the calculation formula of the space-time graph expansion model is as follows:

其中,为历史城市时空数据,/> 为第N个时空图膨胀卷积块的输出;/>为城市时空数据的预测结果;q为模型的预测步长;/>为对时空张量/>做卷积运算。in, For historical city spatiotemporal data,/> is the output of the Nth space-time graph dilation convolution block;/> is the prediction result of urban spatiotemporal data; q is the prediction step length of the model;/> is the space-time tensor/> Do the convolution operation.

根据本申请实施例的第二方面,提供了一种轻量级的城市时空数据预测装置,该装置可以包括:According to the second aspect of the embodiment of the present application, a lightweight urban spatiotemporal data prediction device is provided. The device may include:

第一数据处理模块,用于构建因果膨胀卷积模块,所述因果膨胀卷积模块用于挖掘城市时空数据的时间相关关系;The first data processing module is used to construct a causal dilated convolution module, which is used to mine the time correlation of urban spatiotemporal data;

第二数据处理模块,用于构建图膨胀卷积模块,所述图膨胀卷积模块用于挖掘所述城市时空数据的空间相关关系;The second data processing module is used to construct a graph expansion convolution module. The graph expansion convolution module is used to mine the spatial correlation of the city's spatiotemporal data;

第三数据处理模块,用于基于所述因果膨胀卷积模块和所述图膨胀卷积模块构建时空图膨胀模型;A third data processing module, configured to construct a spatiotemporal graph expansion model based on the causal expansion convolution module and the graph expansion convolution module;

预测模块,用于将历史城市时空数据带入所述时空图膨胀模型得到城市时空数据的预测结果。A prediction module is used to bring historical urban spatiotemporal data into the spatiotemporal graph expansion model to obtain prediction results of urban spatiotemporal data.

根据本申请实施例的第三方面,提供一种电子设备,该电子设备可以包括:According to a third aspect of the embodiment of the present application, an electronic device is provided, and the electronic device may include:

处理器;processor;

用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;

其中,处理器被配置为执行指令,以实现如第一方面的任一项实施例中所述的轻量级的城市时空数据预测方法。Wherein, the processor is configured to execute instructions to implement the lightweight urban spatiotemporal data prediction method as described in any embodiment of the first aspect.

根据本申请实施例的第四方面,提供一种存储介质,当存储介质中的指令由信息处理装置或者服务器的处理器执行时,以使信息处理装置或者服务器实现如第一方面的任一项实施例中所述的轻量级的城市时空数据预测方法。According to a fourth aspect of the embodiments of the present application, a storage medium is provided. When instructions in the storage medium are executed by a processor of an information processing device or a server, the information processing device or the server implements any of the first aspects. The lightweight urban spatiotemporal data prediction method described in the embodiment.

本申请的上述技术方案具有如下有益的技术效果:The above technical solution of the present application has the following beneficial technical effects:

本申请实施例提供的一种轻量级的城市时空数据预测方法通过挖掘城市时空数据的时间相关关系和空间相关关系提高了城市时空数据的预测精度,同时,通过引入膨胀运算减小了参数规模,提高了运算速度,进而能够同时提高该预测方法的预测精度和易用性。The lightweight urban spatiotemporal data prediction method provided by the embodiments of this application improves the prediction accuracy of urban spatiotemporal data by mining the time correlation and spatial correlation of urban spatiotemporal data. At the same time, the parameter scale is reduced by introducing expansion operations. , which improves the calculation speed and can simultaneously improve the prediction accuracy and ease of use of the prediction method.

附图说明Description of drawings

图1是本申请一示例性实施例中时空图膨胀模型的构建流程示意图;Figure 1 is a schematic flowchart of the construction process of the space-time graph expansion model in an exemplary embodiment of the present application;

图2是本申请一示例性实施例提供的一种轻量级的城市时空数据预测方法的流程示意图;Figure 2 is a schematic flow chart of a lightweight urban spatiotemporal data prediction method provided by an exemplary embodiment of the present application;

图3是本申请一示例性实施例中时空图膨胀模型的结构示意图;Figure 3 is a schematic structural diagram of the space-time graph expansion model in an exemplary embodiment of the present application;

图4是本申请一示例性实施例中因果卷积与因果膨胀卷积的对比示意图;Figure 4 is a schematic diagram comparing causal convolution and causal dilation convolution in an exemplary embodiment of the present application;

图5是本申请一示例性实施例中目标图节点的膨胀邻接关系示意图;Figure 5 is a schematic diagram of the expanded adjacency relationship of the target graph node in an exemplary embodiment of the present application;

图6是本申请一示例性实施例中膨胀邻接关系矩阵的构造过程示意图;Figure 6 is a schematic diagram of the construction process of the expanded adjacency matrix in an exemplary embodiment of the present application;

图7是本申请一示例性实施例中一种轻量级的城市时空数据预测装置结构示意图;Figure 7 is a schematic structural diagram of a lightweight urban spatiotemporal data prediction device in an exemplary embodiment of the present application;

图8是本申请一示例性实施例中电子设备结构示意图;Figure 8 is a schematic structural diagram of an electronic device in an exemplary embodiment of the present application;

图9是本申请一示例性实施例中电子设备的硬件结构示意图。Figure 9 is a schematic diagram of the hardware structure of an electronic device in an exemplary embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚明了,下面结合具体实施方式并参照附图,对本申请进一步详细说明。应该理解,这些描述只是示例性的,而并非要限制本申请的范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本申请的概念。In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the specific embodiments and the accompanying drawings. It should be understood that these descriptions are exemplary only and are not intended to limit the scope of the application. Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily confusing the concepts of the present application.

在附图中示出了根据本申请实施例的层结构示意图。这些图并非是按比例绘制的,其中为了清楚的目的,放大了某些细节,并且可能省略了某些细节。图中所示出的各种区域、层的形状以及它们之间的相对大小、位置关系仅是示例性的,实际中可能由于制造公差或技术限制而有所偏差,并且本领域技术人员根据实际所需可以另外设计具有不同形状、大小、相对位置的区域/层。A schematic diagram of a layer structure according to an embodiment of the present application is shown in the accompanying drawings. The drawings are not drawn to scale, with certain details exaggerated for clarity and may have been omitted. The shapes of the various regions and layers shown in the figures, as well as the relative sizes and positional relationships between them are only exemplary. In practice, there may be deviations due to manufacturing tolerances or technical limitations, and those skilled in the art will base their judgment on actual situations. Additional regions/layers with different shapes, sizes, and relative positions can be designed as needed.

显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.

在本申请的描述中,需要说明的是,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present application, it should be noted that the terms "first", "second" and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

此外,下面所描述的本申请不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In addition, the technical features involved in different embodiments of the present application described below can be combined with each other as long as they do not conflict with each other.

经研究发现,现有的时空预测模型虽然在时空预测任务中取得了较优的预测精度,但仍存在不足,例如模型的高复杂性。模型的高复杂性不仅加大了模型的实现难度,也使得模型的计算效率低下、参数规模庞大。在实际场景中,模型的易用性一直是很多学者关注的重点,然而,现有的大多数时空预测模型依然难以兼顾模型预测精度和易用性之间的均衡。Research has found that although existing spatiotemporal prediction models have achieved better prediction accuracy in spatiotemporal prediction tasks, they still have shortcomings, such as the high complexity of the model. The high complexity of the model not only increases the difficulty of model implementation, but also makes the model's calculation efficiency low and its parameter scale large. In actual scenarios, the ease of use of models has always been the focus of many scholars. However, most existing spatiotemporal prediction models are still difficult to balance between model prediction accuracy and ease of use.

鉴于此,本申请提出一种新颖的兼顾模型预测精度和易用性的轻量级时空预测模型,即时空图膨胀模型(Spatiotemporal Graph Dilated Convolutional Network,STGDN),用于城市时空数据的预测任务。STGDN模型旨在不显著增加模型计算时间/模型参数规模的情况下,提升轻量级的城市时空数据预测任务的预测精度。基于时空图膨胀模型,本申请提出了一种轻量级的城市时空数据预测方法、轻量级的城市时空数据预测装置、电子设备及存储介质。In view of this, this application proposes a novel lightweight spatiotemporal prediction model that takes into account model prediction accuracy and ease of use, namely the Spatiotemporal Graph Dilated Convolutional Network (STGDN), for prediction tasks of urban spatiotemporal data. The STGDN model aims to improve the prediction accuracy of lightweight urban spatiotemporal data prediction tasks without significantly increasing the model calculation time/model parameter scale. Based on the spatiotemporal graph expansion model, this application proposes a lightweight urban spatiotemporal data prediction method, a lightweight urban spatiotemporal data prediction device, electronic equipment and storage media.

本申请中的定义包括:Definitions in this application include:

图G(Graph):如图1中的(a)和(b)所示,城市时空数据的研究区域可抽象为一个图结构G=<V,E,A>,其中表示图G中的n个城市传感器,即n个图节点;E表示城市传感器之间的关联关系,为简单起见,城市传感器之间的连接关系可用矩阵/>表示,其中Aij表示节点vi和节点vj之间的拓扑连接关系。Graph G (Graph): As shown in (a) and (b) in Figure 1, the research area of urban spatiotemporal data can be abstracted into a graph structure G=<V,E,A>, where Represents n city sensors in graph G, that is, n graph nodes; E represents the correlation between city sensors. For simplicity, the connection relationship between city sensors can be matrix/> represents, where A ij represents the topological connection relationship between node vi and node v j .

时空状态矩阵(Spatiotemporal State Matrix):图G中所有城市传感器监测到的城市时空数据可表示为一个时空状态矩阵其中城市时空数据/>表示单个城市传感器vi在时间窗口t内监测到的城市时空数据数值(单位时间内的交通流量、空气质量),表示所有城市传感器在时间窗口t内监测到的空间序列。Spatiotemporal State Matrix: The urban spatiotemporal data monitored by all urban sensors in Figure G can be expressed as a spatiotemporal state matrix. Among them, urban spatiotemporal data/> Represents the urban spatiotemporal data value (traffic flow and air quality per unit time) monitored by a single city sensor v i within the time window t, Represents the spatial sequence monitored by all city sensors within the time window t.

如图1中的(c)所示,本申请旨在建立一个函数模型该模型可以依托图结构G,从时空状态矩阵X中挖掘城市传感器数据中的时空模式,从而准确的预测将来的城市时空数据。给定一个时空状态矩阵X,其建模过程如公式(1)所示。As shown in (c) in Figure 1, this application aims to establish a function model This model can rely on the graph structure G to mine the spatiotemporal patterns in urban sensor data from the spatiotemporal state matrix X, thereby accurately predicting future urban spatiotemporal data. Given a space-time state matrix X, its modeling process is shown in formula (1).

式中:表示本申请提出STGDN模型;/>表示STGDN模型需要输入的历史时空数据,其中p表示时间依赖步长;/>表示将来(预测)的时空数据,q表示预测步长,q=1表示单步预测,q>1表示多步预测;W表示STGDN模型中可学习的参数。In the formula: Indicates that this application proposes the STGDN model;/> Represents the historical spatiotemporal data that the STGDN model needs to input, where p represents the time-dependent step;/> Represents future (prediction) spatio-temporal data, q represents the prediction step, q=1 represents single-step prediction, q>1 represents multi-step prediction; W represents the learnable parameters in the STGDN model.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的轻量级的城市时空数据预测方法、轻量级的城市时空数据预测装置、电子设备及存储介质进行详细地说明。The lightweight urban spatiotemporal data prediction method, lightweight urban spatiotemporal data prediction device, electronic equipment and storage medium provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.

如图2所示,在本申请实施例的第一方面,提供了一种轻量级的城市时空数据预测方法,该方法可以包括:As shown in Figure 2, in the first aspect of the embodiment of this application, a lightweight urban spatiotemporal data prediction method is provided. The method may include:

步骤S101:构建因果膨胀卷积模块,因果膨胀卷积模块用于挖掘城市时空数据的时间相关关系;Step S101: Construct a causal dilated convolution module, which is used to mine the time correlation of urban spatiotemporal data;

步骤S102:构建图膨胀卷积模块,图膨胀卷积模块用于挖掘城市时空数据的空间相关关系;Step S102: Construct a graph dilation convolution module, which is used to mine the spatial correlation of urban spatiotemporal data;

步骤S103:基于因果膨胀卷积模块和图膨胀卷积模块构建时空图膨胀模型;Step S103: Construct a space-time graph expansion model based on the causal expansion convolution module and the graph expansion convolution module;

步骤S104:将历史城市时空数据带入时空图膨胀模型得到城市时空数据的预测结果。Step S104: Bring historical urban spatiotemporal data into the spatiotemporal graph expansion model to obtain prediction results of urban spatiotemporal data.

本实施例中,城市时空数据可以为以下任意一种:交通数据,PM2.5数据和温度数据。本实施例提供的一种轻量级的城市时空数据预测方法通过挖掘城市时空数据的时间相关关系和空间相关关系提高了城市时空数据的预测精度,同时,通过引入膨胀运算减小了参数规模,提高了运算速度,进而能够同时提高该预测方法的预测精度和易用性。In this embodiment, the urban spatio-temporal data can be any of the following: traffic data, PM2.5 data and temperature data. The lightweight urban spatiotemporal data prediction method provided by this embodiment improves the prediction accuracy of urban spatiotemporal data by mining the time correlation and spatial correlation of urban spatiotemporal data. At the same time, the parameter scale is reduced by introducing expansion operations. The calculation speed is improved, which can simultaneously improve the prediction accuracy and ease of use of the prediction method.

具体地,如图3所示,STGDN模型主要由多个串联的时空图膨胀卷积块(STGDNCell)组成。具体而言,每个STGDNCell包含因果膨胀卷积模块(Causal Dilated ConvolutionModule,CDC)和图膨胀卷积模块(Graph Dilated Convolution Module,GDC),其中因果膨胀卷积模块用于挖掘城市时空数据中的时间相关关系,图膨胀卷积模块用于挖掘城市传感器数据中的空间相关关系。STGDN模型主要由多个STGDNCell组成。具体而言,每个STGDNCell包含串联的因果膨胀卷积模块和图膨胀卷积模块。Specifically, as shown in Figure 3, the STGDN model mainly consists of multiple serial spatio-temporal graph dilated convolution blocks (STGDNCell). Specifically, each STGDNCell contains a causal dilated convolution module (Causal Dilated ConvolutionModule, CDC) and a graph dilated convolution module (Graph Dilated Convolution Module, GDC), where the causal dilated convolution module is used to mine time in urban spatiotemporal data. Correlation,The graph dilated convolution module is used to mine,spatial correlations in urban sensor data. The STGDN model is mainly composed of multiple STGDNCells. Specifically, each STGDNCell contains a causal dilated convolution module and a graph dilated convolution module in series.

现有的时间相关关系挖掘模型可分为迭代模型和非迭代模型,两类模型互有优略,例如,RNN等迭代模型的模型参数量较低但运算效率较慢,卷积神经网络等非迭代模型的模型运算效率较快但模型参数量较多。为了同时降低模型的时间复杂度(提升模型运算效率)和空间复杂度(降低模型参数量),本申请采用一种新颖的轻量级因果膨胀卷积网络挖掘数据中的时间相关关系,即STGDN中的因果膨胀卷积模块。Existing time-correlation relationship mining models can be divided into iterative models and non-iterative models. The two types of models have advantages and disadvantages. For example, iterative models such as RNN have lower model parameters but slower computing efficiency, and non-iterative models such as convolutional neural networks have The model calculation efficiency of the iterative model is faster but the number of model parameters is larger. In order to simultaneously reduce the time complexity of the model (to improve the model's computing efficiency) and the space complexity (to reduce the number of model parameters), this application uses a novel lightweight causal dilated convolutional network to mine the time correlation in the data, namely STGDN. The causal dilated convolution module in .

因果膨胀卷积模块的核心在于因果膨胀卷积算子,相较于因果卷积算子,因果膨胀卷积算子可以大幅度减少模型的深度,进而缩小模型的参数量。以包含9个时间戳的时间序列为例,图4进一步说明了因果卷积与因果膨胀卷积的差异。图4中的(a)用于表征因果卷积,图4中的(b)用于表征因果膨胀卷积。若使用卷积核对时间序列/>做因果卷积运算,则需要5层的因果卷积神经网络。若使用卷积核/>对时间序列/>做膨胀因子为d的因果膨胀卷积运算,则仅需要3层的因果膨胀卷积神经网络。因此,因果膨胀卷积算子通过减少神经网络的深度减少模型的参数量。以时间序列/>为例,公式(2)进一步展示了因果膨胀卷积算子的前向传播过程。The core of the causal dilation convolution module lies in the causal dilation convolution operator. Compared with the causal dilation convolution operator, the causal dilation convolution operator can greatly reduce the depth of the model, thereby reducing the number of parameters of the model. Take a time series containing 9 timestamps As an example, Figure 4 further illustrates the difference between causal convolution and causal dilated convolution. (a) in Figure 4 is used to characterize causal convolution, and (b) in Figure 4 is used to characterize causal dilation convolution. If using convolution kernel For time series/> To perform causal convolution operations, a 5-layer causal convolutional neural network is required. If using convolution kernel/> For time series/> To perform a causal dilated convolution operation with an expansion factor of d, only three layers of causal dilated convolutional neural networks are needed. Therefore, the causal dilated convolution operator reduces the number of parameters of the model by reducing the depth of the neural network. In time series/> For example, formula (2) further demonstrates the forward propagation process of the causal expansion convolution operator.

式中:表示对时间序列/>中的/>做膨胀因子为d的因果膨胀运算;/>表示图节点vi在时间窗口τ观测到的时空数据;/>表示卷积核;K表示卷积核的大小。In the formula: Represents the time series/> in/> Perform causal expansion operation with expansion factor d;/> Represents the spatio-temporal data observed by graph node v i in the time window τ;/> Represents the convolution kernel; K represents the size of the convolution kernel.

在定义因果膨胀卷积算子的基础上,本申请进一步定义了因果膨胀卷积模块的前向传播过程。在因果膨胀卷积模块中,利用残差链接和参数正则化去提高模型的预测精度。以时间序列为例,因果膨胀卷积模块的前向传播过程如公式(3)所示。On the basis of defining the causal dilated convolution operator, this application further defines the forward propagation process of the causal dilated convolution module. In the causal dilated convolution module, residual linkage and parameter regularization are used to improve the prediction accuracy of the model. in time series For example, the forward propagation process of the causal dilated convolution module is shown in formula (3).

式中:表示对时间序列做因果膨胀卷积模块的前向传播运算;/>表示图节点vi在因果膨胀卷积模块中的中间变量;Hi表示图节点vi在因果膨胀卷积模块中的输出变量;eh表示卷积核的个数;/>的含义与公式(2)一致;/>表示对时间序列/>做因果卷积运算,主要用于残差链接;Norm表示参数正则化函数;Relu表示激活函数。In the formula: Represents the forward propagation operation of the causal dilation convolution module on the time series;/> represents the intermediate variable of graph node v i in the causal dilation convolution module; H i represents the output variable of graph node v i in the causal dilation convolution module; e h represents the number of convolution kernels;/> The meaning is consistent with formula (2);/> Represents the time series/> Perform causal convolution operation, mainly used for residual link; Norm represents parameter regularization function; Relu represents activation function.

所有图节点经过因果膨胀卷积模块后,可获得一个时空张量 为了挖掘时空张量中的空间相关关系,本申请提出了一种新颖的轻量级图膨胀卷积网络,即STGDN中的图膨胀卷积模块。图膨胀卷积模块的核心在于图膨胀卷积算子,类似于因果膨胀卷积算子,图膨胀卷积算子也可以通过减少模型的深度,大幅度缩小模型的参数量。图膨胀卷积算子随着膨胀因子d的增加,可以使用较少的神经网络层数建模远程(long-range)的空间依赖关系。After all graph nodes pass through the causal expansion convolution module, a space-time tensor can be obtained In order to mine the spatial correlation relationships in spatiotemporal tensors, this application proposes a novel lightweight graph dilation convolution network, namely the graph dilation convolution module in STGDN. The core of the graph dilation convolution module lies in the graph dilation convolution operator. Similar to the causal dilation convolution operator, the graph dilation convolution operator can also significantly reduce the number of parameters of the model by reducing the depth of the model. As the expansion factor d increases, the graph dilation convolution operator can use fewer neural network layers to model long-range spatial dependencies.

图膨胀卷积算子的难点在于高效的发现图节点的膨胀邻接关系。图5展示了目标图节点的膨胀邻接关系。具体而言,当膨胀因子d为1时,目标图节点的膨胀邻接关系等于1阶拓扑邻居节点。当膨胀因子d为2时,目标图节点的膨胀邻接关系等于2阶拓扑邻居节点(目标图节点可以通过1阶拓扑邻居节点到达的图节点)。The difficulty of the graph dilated convolution operator is to efficiently discover the dilated adjacency relationships of graph nodes. Figure 5 shows the expanded adjacency relationship of the target graph nodes. Specifically, when the expansion factor d is 1, the expansion adjacency relationship of the target graph node is equal to the first-order topological neighbor node. When the expansion factor d is 2, the expansion adjacency relationship of the target graph node is equal to the second-order topological neighbor node (the graph node that the target graph node can reach through the first-order topological neighbor node).

为了高效获得图节点的膨胀邻接关系,本申请可以通过1阶拓扑邻接矩阵A的矩阵乘法运算获得膨胀因子为d的膨胀邻接关系矩阵Adilation=d。图6展示了膨胀邻接关系矩阵的构造过程,根据1阶拓扑邻接矩阵A,本申请可以发现图节点v5的一阶拓扑邻居节点为v1,v2,v3。进一步对矩阵A做膨胀因子为d=2的矩阵乘法运算,本申请可以发现,矩阵A2中等于1的值便是图节点v5的2阶拓扑邻接,即节点为v4,v6,v7。同理,矩阵v3中等于1的值便是图节点v5的3阶拓扑邻接,即节点为v8,v9.基于这种矩阵性质,膨胀因子为d的膨胀邻接关系矩阵的计算方法可以由公式(4)定义。In order to efficiently obtain the expanded adjacency relationship of graph nodes, this application can obtain the expanded adjacency matrix A dilation=d with the expansion factor d through matrix multiplication of the first-order topological adjacency matrix A. Figure 6 shows the construction process of the expanded adjacency matrix. According to the first-order topological adjacency matrix A, this application can find that the first-order topological neighbor nodes of graph node v 5 are v 1 , v 2 , and v 3 . By further performing matrix multiplication on matrix A with an expansion factor of d=2, this application can find that the value equal to 1 in matrix A 2 is the second-order topological adjacency of graph node v 5 , that is, the nodes are v 4 and v 6 , v7 . In the same way, the value equal to 1 in the matrix v 3 is the third-order topological adjacency of the graph node v 5 , that is, the nodes are v 8 and v 9. Based on this matrix property, the calculation method of the expanded adjacency matrix with the expansion factor d It can be defined by formula (4).

式中:Adilation=d表示膨胀邻接关系矩阵;表示图节点vi与vj的膨胀邻接关系;d表示膨胀因子,当d=1时,膨胀邻接关系矩阵就是图的1阶拓扑邻接矩阵;Ad表示1阶拓扑邻接矩阵的d次方。In the formula: A dilation=d represents the expanded adjacency matrix; Represents the expanded adjacency relationship between graph nodes v i and v j ; d represents the expansion factor. When d=1, the expanded adjacency matrix is the first-order topological adjacency matrix of the graph; A d represents the dth power of the first-order topological adjacency matrix.

获得膨胀邻接关系矩阵之后,本申请进一步定义了图膨胀卷积算子。图膨胀卷积算子通过加权的方式聚合空间邻居传递的信息。具体而言,图膨胀卷积算子的计算方法如公式(5)所示。After obtaining the dilation adjacency matrix, this application further defines the graph dilation convolution operator. The graph dilation convolution operator aggregates the information conveyed by spatial neighbors in a weighted manner. Specifically, the calculation method of the graph dilation convolution operator is shown in formula (5).

式中:表示对图节点vi做膨胀因子为d的图膨胀卷积操作;γji表示图节点vj对图节点vi的影响权重;Hi的含义与公式(3)相同;/>表示膨胀因子为d的膨胀邻接关系矩阵;Wq、Wv表示可学习的参数;Relu表示激活函数;exp表示指数函数;[·||·]表示矩阵连接函数。In the formula: Represents the graph expansion convolution operation with expansion factor d on graph node v i ; γ ji represents the influence weight of graph node v j on graph node v i ; The meaning of H i is the same as formula (3);/> Represents the expansion adjacency matrix with expansion factor d; W q and W v represent learnable parameters; Relu represents the activation function; exp represents the exponential function; [·||·] represents the matrix connection function.

在图膨胀卷积算子的基础上,本申请进一步定义了图膨胀卷积模块的前向传播过程。由于图膨胀卷积模块仅包含一个图膨胀卷积算子,所以图膨胀卷积算子的前向传播过程便是图膨胀卷积模块的前向传播过程,具体如公式(6)所示。Based on the graph dilation convolution operator, this application further defines the forward propagation process of the graph dilation convolution module. Since the graph dilation convolution module only contains one graph dilation convolution operator, the forward propagation process of the graph dilation convolution operator is the forward propagation process of the graph dilation convolution module, as shown in formula (6).

式中:表示一个时空张量,其为因果膨胀卷积模块的输出。In the formula: Represents a space-time tensor that is the output of the causal dilated convolution module.

输入时空数据经因果膨胀卷积模块、图膨胀卷积模块将会获得单个STGDNCell的输出,即/>最后一个STGDNCell的输出即可通过卷积操作获得模型的最终预测结果。假设为最后一个STGDNCell的输出结果,最终的预测结果如公式(7)所示。Enter spatiotemporal data After the causal expansion convolution module and the graph expansion convolution module, the output of a single STGDNCell will be obtained, that is/> The output of the last STGDNCell can be used to obtain the final prediction result of the model through the convolution operation. hypothesis is the output result of the last STGDNCell, and the final prediction result is shown in formula (7).

式中:表示模型最终的预测结果;q表示模型的预测步长;/>表示对时空张量/>做卷积运算。In the formula: represents the final prediction result of the model; q represents the prediction step size of the model;/> Represents a space-time tensor/> Do the convolution operation.

STGDN模型通过前p个时间窗口的时空数据 预测将来的q个时间窗口的时空数据/>在模型优化过程中,本申请采用均方误差优化预测值/>与真值/>之间的损失。具体而言,STGDN模型的损失函数如公式(8)所示。The STGDN model passes the spatiotemporal data of the first p time windows Predict the spatiotemporal data of q time windows in the future/> In the process of model optimization, this application uses the mean square error to optimize the predicted value/> and true value/> between losses. Specifically, the loss function of the STGDN model is shown in formula (8).

式中:表示第t+j个时间窗口的时空状态真值(ground truth);表示第t+j个时间窗口的时空状态预测值。In the formula: Represents the space-time state truth value (ground truth) of the t+jth time window; Represents the spatio-temporal state prediction value of the t+jth time window.

本实施例提供的一种轻量级的城市时空数据预测方法提出的STGDN模型是一种轻量级的时空预测模型而非时间序列预测模型。提出的STGDN模型不仅继承了因果膨胀卷积预测精度高,运算速度快,参数规模小的优点,还可以直接服务于城市传感器数据的时空预测任务。本申请定义了一个新颖的图膨胀卷积(Graph Dilated Convolutional Operator)算子。图膨胀卷积算子在不显著增加模型计算时间/模型参数规模的情况下可以有效快速的捕捉城市传感器数据中的空间依赖关系。本申请采用三种真实的时空数据集(交通数据集、PM2.5数据集、气温数据集)评估了STGDN模型的性能,如预测精度、运行效率及模型参数量。The STGDN model proposed in the lightweight urban spatiotemporal data prediction method provided in this embodiment is a lightweight spatiotemporal prediction model rather than a time series prediction model. The proposed STGDN model not only inherits the advantages of high prediction accuracy, fast operation speed, and small parameter scale of causal dilation convolution, but can also directly serve the spatiotemporal prediction task of urban sensor data. This application defines a novel graph dilated convolution (Graph Dilated Convolutional Operator) operator. The graph dilation convolution operator can effectively and quickly capture the spatial dependencies in urban sensor data without significantly increasing the model calculation time/model parameter scale. This application uses three real spatio-temporal data sets (traffic data set, PM2.5 data set, temperature data set) to evaluate the performance of the STGDN model, such as prediction accuracy, operating efficiency and model parameter quantity.

由于知识驱动时空预测模型的预测性能往往低于数据驱动模型的预测性能,本申请主要将STGDN模型与流行的数据驱动方法进行了对比。本申请采用的基线方法共9种,大致可以分为两类,第一类为机器学习模型,包括ST-KNN模型、BTMF模型。第二类为深度学习模型,包括T-GCN模型、BiSTGN模型、STGODE模型、STA-ODE模型、GDGCN模型、ASTGCN模型和DSTAGNN模型。STGDN模型和基准方法的预测精度如下表所示。Since the prediction performance of knowledge-driven spatiotemporal prediction models is often lower than that of data-driven models, this application mainly compares the STGDN model with popular data-driven methods. There are 9 baseline methods used in this application, which can be roughly divided into two categories. The first category is machine learning models, including ST-KNN model and BTMF model. The second category is deep learning models, including T-GCN model, BiSTGN model, STGODE model, STA-ODE model, GDGCN model, ASTGCN model and DSTAGNN model. The prediction accuracy of the STGDN model and the baseline method is shown in the table below.

结果表明在三种数据集上,第二类模型的预测精度略高于第一类模型的预测精度,即深度学习模型的预测性能略高于浅层机器学习的预测性能。具体来看,在交通数据集和PM2.5数据集上,STGDN模型的预测精度越高于ST-KNN、BTMF、T-GCN、BiSTGN、STGODE和ASTGCN模型的预测精度,接近STA-ODE、DSTAGNN、GDGCN模型的预测精度。在气温数据上,STGDN模型的预测精度高于ST-KNN、BTMF、T-GCN、BiSTGN、STGODE、ASTGCN和DSTAGNN模型的预测精度,接近STA-ODE、GDGCN模型的预测精度。The results show that on the three data sets, the prediction accuracy of the second type of model is slightly higher than that of the first type of model, that is, the prediction performance of the deep learning model is slightly higher than the prediction performance of shallow machine learning. Specifically, on the traffic data set and PM2.5 data set, the prediction accuracy of the STGDN model is higher than the prediction accuracy of the ST-KNN, BTMF, T-GCN, BiSTGN, STGODE and ASTGCN models, and is close to STA-ODE and DSTAGNN. , the prediction accuracy of the GDGCN model. In terms of temperature data, the prediction accuracy of the STGDN model is higher than that of the ST-KNN, BTMF, T-GCN, BiSTGN, STGODE, ASTGCN and DSTAGNN models, and is close to the prediction accuracy of the STA-ODE and GDGCN models.

如图7所示,在本申请实施例的第二方面,提供了一种轻量级的城市时空数据预测装置,该发送装置可以包括:As shown in Figure 7, in the second aspect of the embodiment of the present application, a lightweight urban spatiotemporal data prediction device is provided. The sending device may include:

第一数据处理模块11,用于构建因果膨胀卷积模块,因果膨胀卷积模块用于挖掘城市时空数据的时间相关关系;The first data processing module 11 is used to construct a causal dilated convolution module. The causal dilated convolution module is used to mine the time correlation of urban spatiotemporal data;

第二数据处理模块12,用于构建图膨胀卷积模块,图膨胀卷积模块用于挖掘城市时空数据的空间相关关系;The second data processing module 12 is used to construct a graph expansion convolution module. The graph expansion convolution module is used to mine the spatial correlation of urban spatiotemporal data;

第三数据处理模块13,用于基于因果膨胀卷积模块和图膨胀卷积模块构建时空图膨胀模型;The third data processing module 13 is used to construct a space-time graph expansion model based on the causal expansion convolution module and the graph expansion convolution module;

预测模块14,用于将历史城市时空数据带入时空图膨胀模型得到城市时空数据的预测结果。The prediction module 14 is used to bring historical urban spatiotemporal data into the spatiotemporal graph expansion model to obtain prediction results of urban spatiotemporal data.

本申请实施例中的轻量级的城市时空数据预测装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The lightweight urban spatiotemporal data prediction device in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., and the non-mobile electronic device can be a server, Network Attached Storage (NAS), personal computer (PC), television (television, TV), teller machine or self-service machine, etc., this application The examples are not specifically limited.

本申请实施例提供的轻量级的城市时空数据预测装置能够实现上述实施例提供的一种轻量级的城市时空数据预测方法,为避免重复,这里不再赘述。The lightweight urban spatiotemporal data prediction device provided by the embodiments of the present application can implement the lightweight urban spatiotemporal data prediction method provided by the above embodiments. To avoid duplication, the details will not be described here.

可选地,如图8所示,本申请实施例还提供一种电子设备1100,包括处理器1101,存储器1102,存储在存储器1102上并可在所述处理器1101上运行的程序或指令,该程序或指令被处理器1101执行时实现上述轻量级的城市时空数据预测方法或数据处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 8, this embodiment of the present application also provides an electronic device 1100, including a processor 1101, a memory 1102, and programs or instructions stored on the memory 1102 and executable on the processor 1101. When this program or instruction is executed by the processor 1101, each process of the above lightweight urban spatiotemporal data prediction method or data processing method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, it will not be described again here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

图9为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备1200包括但不限于:射频单元1201、网络模块1202、音频输出单元1203、输入单元1204、传感器1205、显示单元1206、用户输入单元1207、接口单元1208、存储器1209、以及处理器1210等部件。The electronic device 1200 includes but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processor 1210, etc. part.

本领域技术人员可以理解,电子设备1200还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1200 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 1210 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in Figure 9 does not constitute a limitation on the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .

应理解的是,本申请实施例中,输入单元1204可以包括图形处理器(GraphicsProcessing Unit,GPU)12041和麦克风12042,图形处理器12041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1206可包括显示面板12061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板12061。用户输入单元1207包括触控面板12071以及其他输入设备12072。触控面板12071,也称为触摸屏。触控面板12071可包括触摸检测装置和触摸控制器两个部分。其他输入设备12072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1209可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1210中。It should be understood that in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042. The graphics processor 12041 is responsible for the image capture device (such as Process the image data of still pictures or videos obtained by the camera). The display unit 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. Touch panel 12071, also known as touch screen. The touch panel 12071 may include two parts: a touch detection device and a touch controller. Other input devices 12072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here. Memory 1209 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1210 can integrate an application processor and a modem processor. The application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor 1210.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述轻量级的城市时空数据预测方法,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, the above lightweight urban spatiotemporal data prediction method is implemented and can achieve The same technical effects will not be repeated here to avoid repetition.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述轻量级的城市时空数据预测方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to realize the above-mentioned lightweight urban space-time. Each process of the embodiment of the data prediction method can achieve the same technical effect. To avoid duplication, it will not be described again here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-a-chip.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or device that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (13)

1.一种轻量级的城市时空数据预测方法,其特征在于,包括:1. A lightweight urban spatiotemporal data prediction method, which is characterized by: 构建因果膨胀卷积模块,所述因果膨胀卷积模块用于挖掘城市时空数据的时间相关关系;Construct a causal dilated convolution module, which is used to mine the time correlation of urban spatiotemporal data; 构建图膨胀卷积模块,所述图膨胀卷积模块用于挖掘所述城市时空数据的空间相关关系;Construct a graph dilation convolution module, which is used to mine the spatial correlation of the city's spatiotemporal data; 基于所述因果膨胀卷积模块和所述图膨胀卷积模块构建时空图膨胀模型;Construct a space-time graph expansion model based on the causal expansion convolution module and the graph expansion convolution module; 将历史城市时空数据带入所述时空图膨胀模型得到城市时空数据的预测结果。The historical urban spatiotemporal data is brought into the spatiotemporal graph expansion model to obtain the prediction results of the urban spatiotemporal data. 2.根据权利要求1所述的一种轻量级的城市时空数据预测方法,其特征在于,构建因果膨胀卷积模块,包括:2. A lightweight urban spatiotemporal data prediction method according to claim 1, characterized in that constructing a causal dilated convolution module includes: 构建因果膨胀卷积算子;Construct causal dilation convolution operator; 在所述因果膨胀卷积算子中加入残差链接和正则化模块得到所述因果膨胀卷积模块。The causal dilation convolution module is obtained by adding a residual link and a regularization module to the causal dilation convolution operator. 3.根据权利要求2所述的一种轻量级的城市时空数据预测方法,其特征在于,所述因果膨胀卷积算子的前向传播公式如下:3. A lightweight urban spatiotemporal data prediction method according to claim 2, characterized in that the forward propagation formula of the causal expansion convolution operator is as follows: 其中,为对城市时空数据的时间序列/>中的/>做膨胀因子为d的因果膨胀运算;/>为城市传感器节点vi在时间窗口τ观测到的城市时空数据;/>为卷积核;K为卷积核的大小。in, For the time series of urban spatiotemporal data/> in/> Perform causal expansion operation with expansion factor d;/> is the urban spatio-temporal data observed by urban sensor node v i in the time window τ;/> is the convolution kernel; K is the size of the convolution kernel. 4.根据权利要求3所述的一种轻量级的城市时空数据预测方法,其特征在于,所述因果膨胀卷积模块的前向传播公式如下:4. A lightweight urban spatiotemporal data prediction method according to claim 3, characterized in that the forward propagation formula of the causal dilated convolution module is as follows: 其中,为对城市时空数据的时间序列做因果膨胀卷积模块的前向传播运算;H′i、/>为城市传感器节点vi在因果膨胀卷积模块中的中间变量;Hi为城市传感器节点vi在因果膨胀卷积模块中的输出变量;eh为卷积核的个数;为对城市时空数据的时间序列/>做因果卷积运算;Norm为参数正则化函数;Relu为激活函数。in, To perform the forward propagation operation of the causal dilated convolution module on the time series of urban spatiotemporal data; H′ i , /> is the intermediate variable of city sensor node v i in the causal dilation convolution module; H i is the output variable of city sensor node v i in the causal dilation convolution module; e h is the number of convolution kernels; For the time series of urban spatiotemporal data/> Perform causal convolution operation; Norm is the parameter regularization function; Relu is the activation function. 5.根据权利要求1所述的一种轻量级的城市时空数据预测方法,其特征在于,构建图膨胀卷积模块,包括:5. A lightweight urban spatiotemporal data prediction method according to claim 1, characterized in that constructing a graph dilation convolution module includes: 构建城市传感器节点的膨胀邻接关系矩阵;Construct an expanded adjacency matrix of urban sensor nodes; 基于所述膨胀邻接关系矩阵构建图膨胀卷积算子;Construct a graph dilated convolution operator based on the dilated adjacency matrix; 基于所述图膨胀卷积算子构建图膨胀卷积模块。A graph dilation convolution module is constructed based on the graph dilation convolution operator. 6.根据权利要求5所述的一种轻量级的城市时空数据预测方法,其特征在于,所述膨胀邻接关系矩阵的计算公式如下:6. A lightweight urban spatiotemporal data prediction method according to claim 5, characterized in that the calculation formula of the expanded adjacency matrix is as follows: 其中,Adilation=d为膨胀邻接关系矩阵;为城市传感器节点vi与vj的膨胀邻接关系;d为膨胀因子;Ad为1阶拓扑邻接矩阵的d次方。Among them, A dilation=d is the expanded adjacency matrix; is the expansion adjacency relationship between urban sensor nodes v i and v j ; d is the expansion factor; A d is the dth power of the first-order topological adjacency matrix. 7.根据权利要求6所述的一种轻量级的城市时空数据预测方法,其特征在于,所述图膨胀卷积算子的计算公式如下:7. A lightweight urban spatiotemporal data prediction method according to claim 6, characterized in that the calculation formula of the graph dilation convolution operator is as follows: 其中,为对城市传感器节点vi做膨胀因子为d的图膨胀卷积操作;γji为传感器节点vj对传感器节点vi的影响权重;Hi为城市传感器节点vi在因果膨胀卷积模块中的输出变量;/>为膨胀因子为d的膨胀邻接关系矩阵;Wq、Wv为可学习的参数;Relu为激活函数;exp为指数函数;[·||·]为矩阵连接函数。in, is the graph expansion convolution operation with the expansion factor d for the city sensor node v i ; γ ji is the influence weight of the sensor node v j on the sensor node vi ; H i is the city sensor node v i in the causal expansion convolution module The output variable;/> is the expansion adjacency matrix with expansion factor d; W q and W v are learnable parameters; Relu is the activation function; exp is the exponential function; [·||·] is the matrix connection function. 8.根据权利要求7所述的一种轻量级的城市时空数据预测方法,其特征在于,图膨胀卷积模块的前向传播公式如下:8. A lightweight urban spatiotemporal data prediction method according to claim 7, characterized in that the forward propagation formula of the graph dilation convolution module is as follows: 其中,为一个时空张量,其为因果膨胀卷积模块的输出。in, is a space-time tensor, which is the output of the causal dilated convolution module. 9.根据权利要求1-8任一项所述的一种轻量级的城市时空数据预测方法,其特征在于,基于所述因果膨胀卷积模块和所述图膨胀卷积模块构建时空图膨胀模型,包括:9. A lightweight urban spatiotemporal data prediction method according to any one of claims 1 to 8, characterized in that a spatiotemporal graph expansion is constructed based on the causal expansion convolution module and the graph expansion convolution module. Models, including: 构建时空图膨胀卷积块,所述时空图膨胀卷积块包括串联的所述因果膨胀卷积模块和所述图膨胀卷积模块;Construct a spatiotemporal graph dilation convolution block, which includes the causal dilation convolution module and the graph dilation convolution module in series; 将N个所述时空图膨胀卷积块串联得到所述时空图膨胀模型;Concatenate N of the spatio-temporal graph dilation convolution blocks to obtain the spatio-temporal graph dilation model; 其中,N为大于1的自然数。Among them, N is a natural number greater than 1. 10.根据权利要求9所述的一种轻量级的城市时空数据预测方法,其特征在于,时空图膨胀模型的计算公式如下:10. A lightweight urban spatiotemporal data prediction method according to claim 9, characterized in that the calculation formula of the spatiotemporal graph expansion model is as follows: 其中,为历史城市时空数据,/> 为第N个时空图膨胀卷积块的输出;/>为城市时空数据的预测结果;q为模型的预测步长;/>为对时空张量/>做卷积运算。in, For historical city spatiotemporal data,/> is the output of the Nth space-time graph dilation convolution block;/> is the prediction result of urban spatiotemporal data; q is the prediction step length of the model;/> is the space-time tensor/> Do the convolution operation. 11.一种轻量级的城市时空数据预测装置,其特征在于,包括:11. A lightweight urban spatiotemporal data prediction device, which is characterized by including: 第一数据处理模块,用于构建因果膨胀卷积模块,所述因果膨胀卷积模块用于挖掘城市时空数据的时间相关关系;The first data processing module is used to construct a causal dilated convolution module, which is used to mine the time correlation of urban spatiotemporal data; 第二数据处理模块,用于构建图膨胀卷积模块,所述图膨胀卷积模块用于挖掘所述城市时空数据的空间相关关系;The second data processing module is used to construct a graph expansion convolution module. The graph expansion convolution module is used to mine the spatial correlation of the city's spatiotemporal data; 第三数据处理模块,用于基于所述因果膨胀卷积模块和所述图膨胀卷积模块构建时空图膨胀模型;A third data processing module, configured to construct a spatiotemporal graph expansion model based on the causal expansion convolution module and the graph expansion convolution module; 预测模块,用于将历史城市时空数据带入所述时空图膨胀模型得到城市时空数据的预测结果。A prediction module is used to bring historical urban spatiotemporal data into the spatiotemporal graph expansion model to obtain prediction results of urban spatiotemporal data. 12.一种电子设备,其特征在于,包括:处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-10任一项所述的轻量级的城市时空数据预测方法。12. An electronic device, characterized in that it includes: a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor Implement the lightweight urban spatiotemporal data prediction method as described in any one of claims 1-10. 13.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-10任一项所述的轻量级的城市时空数据预测方法。13. A readable storage medium, characterized in that the readable storage medium stores programs or instructions, and when the programs or instructions are executed by a processor, the lightweight process as claimed in any one of claims 1 to 10 is achieved. Level urban spatiotemporal data prediction method.
CN202311316366.5A 2023-10-11 2023-10-11 Lightweight urban space-time data prediction method and device Pending CN117649007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311316366.5A CN117649007A (en) 2023-10-11 2023-10-11 Lightweight urban space-time data prediction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311316366.5A CN117649007A (en) 2023-10-11 2023-10-11 Lightweight urban space-time data prediction method and device

Publications (1)

Publication Number Publication Date
CN117649007A true CN117649007A (en) 2024-03-05

Family

ID=90048358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311316366.5A Pending CN117649007A (en) 2023-10-11 2023-10-11 Lightweight urban space-time data prediction method and device

Country Status (1)

Country Link
CN (1) CN117649007A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119691538A (en) * 2024-10-14 2025-03-25 南京北斗创新应用科技研究院有限公司 Air quality rapid prediction method and device for large-scale sparse sampling scene

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119691538A (en) * 2024-10-14 2025-03-25 南京北斗创新应用科技研究院有限公司 Air quality rapid prediction method and device for large-scale sparse sampling scene
CN119691538B (en) * 2024-10-14 2025-11-11 南京北斗创新应用科技研究院有限公司 Air quality rapid prediction method and device for large-scale sparse sampling scene

Similar Documents

Publication Publication Date Title
CN110633797B (en) Network model structure searching method and device and electronic equipment
CN112000893B (en) Resident area prediction method, device, equipment and storage medium
CN111210656B (en) Method and device for predicting free parking space of parking lot, electronic equipment and storage medium
CN111310987B (en) Method and device for predicting free parking space of parking lot, electronic equipment and storage medium
JP2021166098A (en) Retrieval word recommendation method and apparatus, target model training method and apparatus, electronic device, storage medium, and program
WO2019062413A1 (en) Method and apparatus for managing and controlling application program, storage medium, and electronic device
CN111325382B (en) Method and device for predicting free parking space of parking lot, electronic equipment and storage medium
CN107944610A (en) Predicted events measure of popularity, server and computer-readable recording medium
CN111340219A (en) Neural network model searching method and device, image processing method and processor
CN111553279B (en) Representation learning, recognition method, device, equipment and storage medium of points of interest
CN112907255B (en) User analysis method and related device
WO2022088677A1 (en) Method and apparatus for establishing regional heat prediction model and predicting regional heat
KR20220113919A (en) Deep learning network determination method, apparatus, electronic device and storage medium
CN114912354B (en) A method, device and medium for predicting the risk of mosquito-borne infectious diseases
Wang et al. A lightweight spatiotemporal graph dilated convolutional network for urban sensor state prediction
CN117649007A (en) Lightweight urban space-time data prediction method and device
CN113010769A (en) Knowledge graph-based article recommendation method and device, electronic equipment and medium
CN108681480A (en) Background application program control method and device, storage medium and electronic equipment
WO2019062411A1 (en) Method for managing and controlling background application program, storage medium, and electronic device
CN117520468A (en) A missing-resistant urban spatiotemporal data prediction method and device
CN109240885A (en) A kind of method for monitoring performance, system and electronic equipment and storage medium
CN114722258A (en) A network crawler scheduling method, device, device and readable storage medium
CN116432868B (en) Subway passenger flow prediction method, device and storage medium based on node query set
CN110417594A (en) Network construction method, device, storage medium and electronic equipment
CN116205308A (en) Prediction model training and predicting method and device, electronic equipment and storage medium

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