Find Most Representative Setlists using K-means Clustering
Source:R/tourSetlistAlignment.R
find_representative_setlists_kmeans.Rd
This function identifies a specified number of shows that represent the variety of setlists in the dataset, using k-means clustering.
Value
A data frame containing the most representative setlists, with the same structure as the input data frame.
Examples
if (FALSE) { # \dontrun{
# Assuming show_sequences_all is your dataset
representative_shows <- find_representative_setlists_kmeans(show_sequences_all, n_representatives = 30)
print(representative_shows)
} # }