libcity / bigscity-libcity-datasets Goto Github PK
View Code? Open in Web Editor NEWTraffic data processing tools in LibCity
License: Apache License 2.0
Traffic data processing tools in LibCity
License: Apache License 2.0
File “/Bigscity-LibCity-master/libcity/model/traffic_speed_prediction/STMGAT.py", line 3, in
from dgl.nn.pytorch.conv import GATConv
ModuleNotFoundError: No module named 'dgl.nn.pytorch'
I have one question regarding the config files of PEMSD4 and PEMSD8:
Bigscity-LibCity-Datasets/pemsd4.py
Lines 94 to 95 in 1921e44
Why the "set_weight_link_or_dist" is "link" and "init_weight_inf_or_zero" is "zero"?
Should they be "dist" and "inf", just like the setting of "PEMSD7(M)"?
Another similar question on Beijing_Subway:
Bigscity-LibCity-Datasets/beijing_subway.py
Lines 280 to 281 in 1921e44
Thank you!
Hi. Thanks for such a amazing repo. I intend to construct a dataset from raw data. For example, constructing grid-based demand dataset for traffic demand prediction task from NYCBike and NYCTaxi data. Unfortunately, I do not find any related script can do such construction. The most related script is nyctaxi_od.py
. It seems does not produce grid-based data?
Would you like to give me some suggestions?
The gridod file is needed when running the STDN (Revisiting Spatial-Temporal Similarity: A Deep Learning Framework for Traffic Prediction), but is missing in the Google Drive.
I created it following your code "nycbike20160708.py". You can now access it via the following link:
https://drive.google.com/file/d/1KOIj8w2Nf9Sd5TDV7IuJwZOUxOz3PJ6_/view?usp=sharing
link: https://www.citibikenyc.com/system-data
BikeNYC数据,202101-citibike-tripdata.csv 及以前的数据字段为:'tripduration, starttime, stoptime, start station id, start station name, start station latitude, start station longitude, end station id, end station name, end station latitude, end station longitude, bikeid, usertype, birth year, gender' 一共15个,而之后的'ride_id, rideable_type, started_at, ended_at, start_station_name, start_station_id, end_station_name, end_station_id, start_lat, start_lng, end_lat, end_lng, member_casual' 只有13个,当前数据预处理脚本nycbike.py 只能处理之前的数据。对于之后的数据无法处理。
Dear Authors,
I want to add one NN layer to DCRNN, STGCN, MTGNN before the final output. Do I just change the file in traffic_speed_predition folder?
I am just not very sure which method should I change. Do I rewrite the forward method in the class in each file?
Hi, thanks for the incredible work. It seems the expected field was missing during the transform process.
The field 'dyna_id' in the result file xx.dyna generated by foursquare.py was None.
ref. code:
Bigscity-LibCity-Datasets/foursquare.py
Line 63 in 145f662
dyna_id should be clarified in dyna['dyna_id'] = dyna.index
or other ways.
output file (sample):
dyna_id,type,time,entity_id,location
,trajectory,2012-04-03T14:00:09Z,0,2388
,trajectory,2012-04-04T14:00:09Z,0,2388
...
Windows-10-10.0.19043-SP0
Python 3.8.12 (default, Oct 12 2021, 03:01:40) [MSC v.1916 64 bit (AMD64)]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.