templateK40 | R Documentation |
A cluster template with 40 clusters created with
make_clustering_template
. This template was created from handwriting
samples from the CSAFE Handwriting Database, the CVL Handwriting Database,
and the IAM Handwriting Database.
templateK40
A list containing the contents of the cluster template.
A vector of cluster assignments for each graph used to create the cluster template. The clusters are numbered sequentially 1, 2,...,K.
The final cluster centers produced by the K-Means algorithm.
The number of clusters in the template.
The number of training graphs to used to create the template.
The maximum number of iterations for the K-means algorithm.
The within cluster
distances on the final 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. The output of make_clustering_template
stores
the within cluster distances on each iteration, but the previous iterations were removed here to reduce the file size.
'handwriter' splits handwriting samples into component shapes called graphs. The graphs are sorted into 40 clusters with a K-Means algorithm.
# view number of clusters
templateK40$K
# view number of iterations
templateK40$iters
# view cluster centers
plot_cluster_centers(templateK40)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.