Lau and Green posterior loss function

green_loss(object, truth = NULL, tau = 0.5, a = 1, b = 1)

# S3 method for default
green_loss(object, truth = NULL, tau = 0.5, a = 1, b = 1)

Arguments

object

an object with N X N cluster pairwise probability matrix and N X K cluster matrix list entries

truth

True adjacency matrix

tau

loss function tuning parameter

a

misclassification penalty parameter

b

misclassification penalty parameter - see Green and Lau for details

Value

list of three objects (1)loss: the loss corresponding to each clustering configuration, (2) best_loss_ix: The index corresponding to the "best" partition, and (3) mode: the best partition itself

Methods (by class)

  • default: classification loss function