Skip to content

Commit 3569208

Browse files
committed
additional doc changes
1 parent e708daa commit 3569208

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simple-time-space-clustering.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"distance metric and the formatof the input CSV. In order to work correctly, this function \n",
7070
"requires that the input data is sorted byincreasing timestamp values.\n",
7171
"\n",
72-
"infile - path to input CSV file\n",
72+
"infile - path to input CSV file. The data in this file should be sorted by timestamp.\n",
7373
"outfile - path where the output CSV file will be saved\n",
7474
"time_threshold - only record distances where the time difference is smaller than this timedelta\n",
7575
"space_threshold - only record distances if the space distance is smaller than this number\n",
@@ -139,7 +139,7 @@
139139
"# Set the input and output locations\n",
140140
"\n",
141141
"working_directory = \"/path/to/data\"\n",
142-
"infile = os.path.join(working_directory, \"summer-travel-gps-full.csv\")\n",
142+
"infile = os.path.join(working_directory, \"input_data_sorted_by_timestamp.csv\")\n",
143143
"outfile = os.path.join(working_directory, \"sparse_distance_matrix.csv\")\n",
144144
"\n",
145145
"# Set the threshold parameters for the distance calculation\n",

0 commit comments

Comments
 (0)