Julia Manual GMM

I can’t answer everything, but this might help a bit: Assuming eye(6) is supposed to return a 6x6 floating point identity matrix, then this will work

using LinearAlgebra: I
W = Matrix{Float64}(I, 6,6)

Also, the first item in the following topic tells you how to quote your code in a Discourse post so that it is formatted nicely.

1 Like