Machine Learning, Einsum, Python, Gaussian Mixture Model, Bioimaging.
more complicated of the two cases, and as far as I could tell there was no online reference for this specific case. But it was a basic extension of some of the examples from the provided links: given that the operands on the left and right were identical, it stood to reason their indices in einsum