- seed
An integer for the random number generator.
- cluster
A vector of cluster assignments
for each graph used to create the cluster template.
- centers
A list
of graphs used as the starting cluster centers for the K-means algorithm.
- K
The number of clusters to build (10) with the K-means algorithm.
- n
The number of training graphs to use (1000) in the K-means
algorithm.
- docnames
A vector that lists the training document from which each graph originated.
- writers
A vector that lists the writer of each graph.
- iters
The maximum number of iterations for the K-means
algorithm (3).
- changes
A vector of the number of graphs that
changed clusters on each iteration of the K-means algorithm.
- outlierCutoff
A vector of the outlier cutoff values calculated on
each iteration of the K-means algorithm.
- stop_reason
The reason the
K-means algorithm terminated.
- wcd
A matrix of the within cluster
distances on each iteration of the K-means algorithm. More specifically,
the distance between each graph and the center of the cluster to which it
was assigned on each iteration.
- wcss
A vector of the
within-cluster sum of squares on each iteration of the K-means algorithm.