Thanks for the implementation, and the great reference page. I appreciate that this issue relates to an older package, but hoping a description will be of help to others.
In the reference, the best grouping for the test data is always k=4, and is always at a Laplace value of 39477 (run 6 times):

For my own microbiome count data, there is a huge variability in optimal $k$ (and group membership), and the Laplace value changes across a range of values.

I've tried to counter this by setting seed before each call to mclapply, and I've tried setting the mc.set.seed param in mclapply to FALSE as per the manpage for mclapply - this does seem to temper the variability, but I still see more varaibility than in the tutorial.

Is this simply a reflection of the complexity in my own data? How deterministic is the dmn() implementation?
As an aside, I'm also seeing an additional, second level of variability in outcome if the order of rows is shuffled. I might end up permuting the rows and polling for solution from this randomised start.
Thanks for the implementation, and the great reference page. I appreciate that this issue relates to an older package, but hoping a description will be of help to others.
In the reference, the best grouping for the test data is always

k=4, and is always at a Laplace value of39477(run 6 times):For my own microbiome count data, there is a huge variability in optimal$k$ (and group membership), and the Laplace value changes across a range of values.

I've tried to counter this by setting seed before each call to

mclapply, and I've tried setting themc.set.seedparam inmclapplytoFALSEas per the manpage formclapply- this does seem to temper the variability, but I still see more varaibility than in the tutorial.Is this simply a reflection of the complexity in my own data? How deterministic is the
dmn()implementation?As an aside, I'm also seeing an additional, second level of variability in outcome if the order of rows is shuffled. I might end up permuting the rows and polling for solution from this randomised start.