Comments (3)
1)你理解是正确的。这个每条道路“周围”的POI的实现是我们选取了每条道路0.002经纬度以内的POI,也就是大约222m,然后统计20类POI的数量。论文里也有详细的描述。
2)划分多个grid是因为在提取各个道路的流速特征时,由于出租车的数据量太大,所以为每个道路遍历一次所有的出租车数据是不可行的。因此,我们是将研究区域划分成了0.002经度*0.002纬度的网格,然后遍历一遍出租车数据,将每个出租车数据放置到其所在的网格中,再计算每个网格的平均速度。之后把每个道路所在的网格速度直接作为道路的流速特征。所以,划分grid只是在计算流速特征的时候用到了,我们的模型还是处理的是graph形式的路网结构,并使用图卷积考虑空间影响。
from dstgcn.
您好,
由于POI数据是公司提供的,所以不便将关于POI的空间特征相关的处理代码公开。我在这里描述下提取spatial_features的流程:
1)对于路网结构信息,我们提供的预处理代码process_beijing_road_net.py可以生成beijing_roadnet.gpickle,该文件中的节点为每条道路,边为道路之间的连接关系,同时也包含了道路的2维属性信息(道路长度、道路包含的点数量);
2)对于POI信息,我们提取了每条道路周围的各类型POI的数量(在使用的数据中,一共有20类POI);
3)将这20个POi特征和道路的2维属性信息进行拼接,便可得到每个道路22维度的spatial_features了,这便是edges_data.h5这个文件所包含的内容。
from dstgcn.
您好, 由于POI数据是公司提供的,所以不便将关于POI的空间特征相关的处理代码公开。我在这里描述下提取spatial_features的流程: 1)对于路网结构信息,我们提供的预处理代码process_beijing_road_net.py可以生成beijing_roadnet.gpickle,该文件中的节点为每条道路,边为道路之间的连接关系,同时也包含了道路的2维属性信息(道路长度、道路包含的点数量); 2)对于POI信息,我们提取了每条道路周围的各类型POI的数量(在使用的数据中,一共有20类POI); 3)将这20个POi特征和道路的2维属性信息进行拼接,便可得到每个道路22维度的spatial_features了,这便是edges_data.h5这个文件所包含的内容。
您好,十分感谢您的回复,我还有如下两个问题想要询问一下:
- 根据您的回复我能否作出以下的理解:spatial_features中有关poi的部分,是你们根据每条道路的POI情况进行了统计,计算了这20类POI的数量作为20维度的一个特征,然后和道路长度和包含的点数量构建了spatial_features。
- 你们在处理数据时,对地区分割成了多个grid,想问一下此处分割的依据和意义是什么?
谢谢!
from dstgcn.
Related Issues (8)
- 文章 HOT 1
- 数据集 HOT 3
- PyTorch Geometric Temporal
- 作者能分享数据集吗 HOT 1
- DSTGCN中子图的特征提取是怎么做的? HOT 1
- 数据集
- 数据集 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dstgcn.