Hello -
I wish to bring to your kind notice a bug in Python.
Given any matrix X. While trying to compute the CoVariance matrix of that
matrix X, Python does NOT compute the CoVarianceof the given matrix X.
Instead, Python comptes the CoVariance of the Transpose of the given matrix
X.
This appears to be a bug in Python.
Please refer to the below website for a given matrix and what the result
should be after the computation of it's CoVariance. And I have provided a
screenshot of what Python …
[View More]is returning.
https://www.itl.nist.gov/div898/handbook/pmc/section5/pmc541.htm
Please let me know if you have any questions.
Regards,
Prakash
[View Less]
In python 3.10.1 documentation(The Python Tutorial -> An Informal introduction to Python -> Lists)
[cid:image003.png@01D803C1.44B36A90]
Maybe it should be replaced by “deep copy” ?
Here is my try:
[cid:image005.png@01D803C1.44B36A90]
Hello, I was going through the python tutorial section 15. Floating Point
Arithmetic <https://docs.python.org/3/tutorial/floatingpoint.html>. The
second code box on the page shows 0.001, but it seems like that doesn't
belong there. Thank you,
Gregory
[image: image.png]