If you want to predict a particular piece of data individually, i.e., traffic flow / speed / occupancy, you need to modify the PEMSD4 or PEMSD8/config.json under the dataset, note the part highlighted below, and modify it to look like this:
There is a large difference in the magnitude of these three types of data, and in past articles where traffic flow predictions have typically been made, wanting to select a particular type of data in isolation requires the modifications below.
Most articles need to be set to traffic_flow if you wish to reproduce the results of past articles.
If you want to predict a particular piece of data individually, i.e., traffic flow / speed / occupancy, you need to modify the PEMSD4 or PEMSD8/config.json under the dataset, note the part highlighted below, and modify it to look like this:
There is a large difference in the magnitude of these three types of data, and in past articles where traffic flow predictions have typically been made, wanting to select a particular type of data in isolation requires the modifications below.
Most articles need to be set to traffic_flow if you wish to reproduce the results of past articles.
traffic_flow only: "info": { "data_col": [ "traffic_flow" ], "weight_col": "cost", "data_files": [ "PEMSD4" ], "geo_file": "PEMSD4", "rel_file": "PEMSD4", "output_dim": 1, "time_intervals": 300, "init_weight_inf_or_zero": "zero", "set_weight_link_or_dist": "link", "calculate_weight_adj": false, "weight_adj_epsilon": 0.1 }
traffic speed only: "info": { "data_col": [ "traffic_speed" ], "weight_col": "cost", "data_files": [ "PEMSD4" ], "geo_file": "PEMSD4", "rel_file": "PEMSD4", "output_dim": 1, "time_intervals": 300, "init_weight_inf_or_zero": "zero", "set_weight_link_or_dist": "link", "calculate_weight_adj": false, "weight_adj_epsilon": 0.1 }
traffic occupancy only: "info": { "data_col": [ "traffic_occupancy" ], "weight_col": "cost", "data_files": [ "PEMSD4" ], "geo_file": "PEMSD4", "rel_file": "PEMSD4", "output_dim": 1, "time_intervals": 300, "init_weight_inf_or_zero": "zero", "set_weight_link_or_dist": "link", "calculate_weight_adj": false, "weight_adj_epsilon": 0.1 }