Dataset Specifications

  1. Training Dataset
  2. Initially, we provide an accurate dataset describing complete year (from 01/07/2013 to 30/06/2014) of the (busy) trajectories performed by all the 442 taxis running in the city of Porto, in Portugal (i.e.3Gb of data stored in one single CSV file named "Porto_taxi_data_training.csv)". These taxis operate through a taxi dispatch central, using mobile data terminals installed in the vehicles. We categorize each ride into three categories: A) taxi central based, B) stand-based or C) non-taxi central based. For the first, we provide an anonymized id, when such information is available from the telephone call. The last two categories refer to services that were demanded directly to the taxi drivers on a B) taxi stand or on a C) random street.

    Each data sample corresponds to one completed trip. It contains a total of 9 (nine) features, described as follows:

    1. TRIP_ID: (String) It contains a unique identifier for each trip;
    2. CALL_TYPE: (char) It identifies the way used to demand this service. It may contain one of three possible values:
      1. 'A' if this trip was dispatched from the central;
      2. 'B' if this trip was demanded directly to a taxi driver at a specific stand;
      3. 'C' otherwise (i.e. a trip demanded on a random street).
    3. ORIGIN_CALL: (integer) It contains a unique identifier for each phone number which was used to demand, at least, one service. It identifies the trip's customer if CALL_TYPE='A'. Otherwise, it assumes a NULL value;
    4. ORIGIN_STAND: (integer): It contains a unique identifier for the taxi stand. It identifies the starting point of the trip if CALL_TYPE='B'. Otherwise, it assumes a NULL value;
    5. TAXI_ID: (integer): It contains a unique identifier for the taxi driver that performed each trip;
    6. TIMESTAMP: (integer) Unix Timestamp (in seconds). It identifies the trip's start;
    7. DAYTYPE: (char) It identifies the daytype of the trip's start. It assumes one of three possible values:
      1. 'B' if this trip started on a holiday or any other special day (i.e. extending holidays, floating holidays, etc.);
      2. 'C' if the trip started on a day before a type-B day;
      3. 'A' otherwise (i.e. a normal day, workday or weekend).
      IMPORTANT NOTICE: This field has not been correctly calculated. Please see the following links as reliable sources for official holidays in Portugal.
      http://calendar.retira.eu/public-holidays/portugal/2013/
      http://calendar.retira.eu/public-holidays/portugal/2014/
    8. MISSING_DATA: (Boolean) It is FALSE when the GPS data stream is complete and TRUE whenever one (or more) locations are missing;
    9. POLYLINE: (String): It contains a list of GPS coordinates (i.e. WGS84 format) mapped as a string. The beginning and the end of the string are identified with brackets (i.e. [ and ], respectively). Each pair of coordinates is also identified by the same brackets as [LONGITUDE, LATITUDE]. This list contains one pair of coordinates for each 15 seconds of trip. The last list item corresponds to the trip's destination while the first one represents its start;

  3. Testing
  4. Five test sets will be available to evaluate your predictive framework (in one single CSV file named "Porto_taxi_data_test_partial_trajectories.csv"). Each one of These datasets refer to trips occurred between 01/07/2014 and 31/12/2014. Each one of these data sets will provide a snapshot of the current network status on a given timestamp. It will provide partial trajectories for each one of the on-going trips during that specific moment.

    The five snapshots included on the test set refer to the following timestamps:

    1. 14/08/2014 18:00:00
    2. 30/09/2014 08:30:00
    3. 06/10/2014 17:45:00
    4. 01/11/2014 04:00:00
    5. 21/12/2014 14:30:00
  5. Sample Submission Files
  6. A total of two sample submission files are provided. One regards the destination prediction problem (i.e. "Porto_taxi_data_test_destination_coordinates_Sample_Submission.csv") while the second one focuses on the travel time prediction problem (i.e. "Porto_taxi_data_test_travel_times_Sample_Submission.csv"). Both always use the same output value for all samples. For the first problem, it uses the location of Porto's main Avenue, in downtown (i.e. Avenida dos Aliados). For the second one, the averaged travel time of all trips in the training set is used.

  7. Other files
  8. Along with these two files, we also give two additional files. One contains meta data regarding the taxi stands (i.e. "metaData_taxistandsID_name_GPSlocation.csv") including its id and location. The second one includes an evaluation script for both problems developed in the R language (i.e. "evaluation_script.r").