# NOT RUN {
# For examples, use 'nCores=1' per CRAN rules, but in practice omit this.
dlso(iris.clusterings, loss=VI())
probs <- psm(iris.clusterings, nCores=1)
dlso(iris.clusterings, loss=binder(), x=probs)
# Compute loss with all draws, but pick the best among the first 10.
dlso(iris.clusterings[1:10,], loss=VI(), x=iris.clusterings)
# }
Run the code above in your browser using DataLab