Thank you very much. Your answer thread is very helpful and informative.
1 Like
I don’t know where that code is coming from but it’s the same as
using LinearAlgebra
K = tril(X' * X)
I’m confident that can be directly ported to numpy.
5 Likes