Computing covariance matrix

In the given first code, you have not considered the division of dot product by the number of examples while calculating the covariance matrix by a trick.
I am deeply confused right now. Please help

Hey @bhavyajain206,

Please share a code snippet in which you are having a problem.

Thanks