Machine Learning, Einsum, Python, Gaussian Mixture Model, Bioimaging.
found extremely instructive and helpful: A basic introduction to NumPy’s einsum Einsum summation in NumPy I ended up replacing that first computation, the numerator of the Gaussian probability density function, with this: p = np.einsum('ni,ji,ni->n', X - mu, inv, X - mu) This was absolutely the