Skip to content

Latest commit

 

History

History

intermediate_files

Here, we release all the intermediate data files (mostly in pkl). We wish these intermediate data files would be useful.

Link: BaiduPan Access Code: qnwu

codes

  • around_traffic_mv_avg_15min_1km_completion.py: complete the missed traffic data;
  • release_traffic_speed_subdataset.py: the release code of the traffic speed subdataset, which may help to understand the format of the traffic speed data files (event_traffic_beijing_1km_mv_avg_15min_completion.pkl);
  • get_link_info_feature_beijing.py: for each link, extract link info feature;
  • time_feature_extraction_15min.py: time feature extraction;
  • get_query_info_beijing.py: get all the query information;
  • release_query_subdataset_beijing.py: the release code of the query subdataset. The input of this code is the same as the input of the get_query_info_beijing.py, which may help to understand the format of the query;
  • get_query_distribution_feature_beijing_1km_seq.py: get query distribution feature (algorithm 1);
  • query_distribution_filtfilt.py: smooth the query distribution features;
  • mercator_convertor.py: interconversion between mercator and gps;

data files

  • beijing_bound.txt: bound of the 6th ring in Beijing;
  • event_link_set_all_beijing_1km_filtered: set of links which are within 1km from the events. (link_id, mercator_x, mercator_y);
  • neighbours_1km.txt: 1st col: link_id, 2-11 cols: picked neighbours with PageRank in the local graph of the link_id;
  • event_link_set_all_beijing_1km_link_info_feature.pkl: link info feature generated by get_link_info_feature_beijing.py;
  • time_feature_15min.pkl: time feature generated by time_feature_extraction_15min.py;
  • event_traffic_beijing_1km_mv_avg_15min_completion.pkl: traffic files generated by around_traffic_mv_avg_15min_1km_completion.py;
  • event_beijing_extended_filtered.txt: discovered events; (start_time, end_time, grid_x, grid_y)
  • query_beijing_0201_all_information.txt: query inforamtion generated by get_query_info_beijing.py; ([start_time, end_time, row_grid_id_destination, col_grid_id_destination, row_coord_destination, col_coord_destination, row_coord_start, col_coord_start])
  • event_link_set_beijing_event_time_1km.pkl: The file stores event periods of each road. More specifically, each road corresponds with a list events which happened close to the road within a distance of 1km. The data stored in this file is a dict with {key: value} where the key can be a road id and the value is list of tuples like (starttime_event, endtime_event).