I am trying to follow this you this video LDA example : LDA video example from Youtube
On 7th minute if video formula to calculate co-variance matrix is given , and direct output of co-variance matrix is given as without explaining the mathematical steps:
[[1/3 1/6],[1/6 1/3]]
I tried to solve the maths manually and my problem is if i calculate
(x- means(x)) * (x- means(x))transpose
i don't get the result. But instead if i use
(x- means(x))transpose * (x- means(x))
I get accurate result.
Please explain what is right formula because everywhere it is written as
(x- means(x)) * (x- means(x))transpose
But Matrix multiplication is NOT commutative .i.e. It is NOT true that AB=BA
`