R/int_estimate_meta_Ir2.R

Defines functions estimate_meta_Ir2

estimate_meta_Ir2 <- function(estimated_table) {

  # Normalize
  estimated_classifier <- estimated_table/sum(estimated_table)

  meta_I <- estimate_meta_I(estimated_classifier) # Meta-I

  a          <- get_accuracy(estimated_classifier) # Accuracy
  H_accuracy <- H2(a)                              # Remaining entropy

  meta_I_r2 <- meta_I / H_accuracy
  meta_I_r2
}

Try the statConfR package in your browser

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

statConfR documentation built on April 3, 2025, 5:35 p.m.