Lau and Green posterior loss function
# S3 method for bndp green_loss(object, truth = NULL, tau = 0.5, a = 1, b = 1)
object | a bndp object |
---|---|
truth | True adjacency matrix |
tau | loss function tuning parameter |
a | misclassification penalty parameter |
b | misclassification penalty parameter - see Green and Lau for details |
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