Difficulty
Your best score
N/A
You have at your disposal a dataset whose records contain the geographical positions of public transport vehicles from several European cities, over approximately 3 days. The records include the following fields:
id = unique identifier of the vehicle to which the record referstimestamp = the moment (in GMT timezone) when the record was obtainedvehicle_type = the type of vehicle, in the form of an integer numberlatitude, longitude = GPS coordinates of the vehicle at the moment given by timestampFile dataset.csv: contains the dataset with the fields mentioned above
Determine the number of distinct vehicles and the number of vehicle types present in the dataset.
Perform a grouping by cities of the vehicles whose information is found in the dataset.
Knowing that all vehicles whose type has the value 10 are located in the same city and withdraw to the 3 available depots during the night, determine the approximate coordinates of the depots.
For subtask 1: 10 points for correctly determining both values.
For subtask 2: 30 points for correct city assignment. Partial scores will be weighted with the Adjusted Rand Index metric.
For subtask 3: For each depot, the least precise coordinate determined compared to the expected value is considered and 20 points are awarded if the precision is ≤ 0.003 degrees and 0 points if the precision is ≥ 0.005 degrees, between these values the score being linearly weighted.
The output file is in CSV format, with the following header:
subtaskID,Value1,Value2For subtask 1, a single row, as follows:
1, <number of distinct vehicles>,<number of vehicle types>For subtask 2, one row for each distinct vehicle, as follows:
2,<id>,<city identifier>Each city will be uniquely identified with an integer number.
For subtask 3, one row for each determined depot, as follows:
3,<latitude>,<longitude>The coordinates will be real numbers, with at least 3 decimal places, ordered from south to north (from smaller latitude to larger latitude).