View source: R/clustering_evaluations.R
get_mismatches | R Documentation |
Gets the number of mismatches for a single iteration of the simulation
get_mismatches(cluster_assignments, data_params)
cluster_assignments |
A vector where each entry is the cluster assignment for the corresponging curve |
K |
The number of clusters in the data |
curves_per_cluster |
The number of curves per cluster |
The number of mismatches
get_mismatches(cluster_assignments, K, curves_per_cluster)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.