Partitioning with KMeans
Here are the points in each location.

Here are the walks going through each location.
Note that in both cased K was set to 1000.
Here are the points in each location.

Here are the walks going through each location.
Note that in both cased K was set to 1000.
Now the question is how main points lie in each discrete location, and perhaps more importantly, how many walks pass through each location?
Here is a plot for the number of points in each location.

For really small training sizes here is what is observed. Note that results are no better that random for all three approaches.
First compute the LCS, ignoring the time spent on each vertex. Note that for walks for and
we will refer to the sequence of locations as
and
and timings as
and
. Suppose the output of LCS for walks
and
is in the form to two functions
and
such that
, for
going from
to
which is the length of the LCS of
and
. Now a measure of the time spent in common on a particular vertex with index
can be computed as follows.
Then we compute a mean of such time spent on the same vertex in common for all indices.
This does not take into consideration what fraction of the walk is common. So even if a very small part is exactly common we will get a complete match score of 1. To address this we multiply by the following.
Clearly,
First compute the LCS, ignoring the time spent on each vertex. Note that for walks for and
we will refer to the sequence of locations as
and
and timings as
and
. Suppose the output of LCS for walks
and
is in the form to two functions
and
such that
, for
going from
to
which is the length of the LCS of
and
. Now a measure of the time spent in common on a particular vertex with index
can be computed as
Here is a pdf, 100-0.01
Here is a pdf. 100-0.05
For larger training sets and smaller number of partitions the results are pretty much the same.
A good reference is A new index of cluster validity. Also look at Performance evaluation of some Clustering Algorithms and Validity Indices and A new cluster validity index for the fuzzy c-mean