R/get_cluster_accuracy.R

Defines functions get_cluster_accuracy

get_cluster_accuracy <-
function(theoretical, estimated) 
  return(1-mean(unlist(lapply(unique(estimated), function(x){cal_entropy(theoretical[estimated == x])})), na.rm = TRUE))

Try the yaConsensus package in your browser

Any scripts or data that you put into this service are public.

yaConsensus documentation built on April 3, 2025, 10:12 p.m.