Professor,Why we haven't used from numpy import allclose for this case of allclose at 6:37 like we used earlier in last lecture of Basic Matrix operations ?
https://drive.google.com/file/d/1u3HPpFYs45v4TnSD8JFaeccn6cgdlUt-/view?usp=drive_linkPlease resolve this problem professor
Explain the uses of U and V_conjugate functions in svd.
Could you please explain what is U and how it is calculated?
To practice i had created another matrix find its inverse and check whether its multiplication with it's inverse is giving an identity matrix or not. as you had said that multiplication with it's inverse gives an identity matrix so the result of allclose function has to be True but I am getting False. I am sharing the code please tell me where the mistake is?#calculating determinant of a matrixfrom numpy.linalg import detm=asmatrix(arange(1,10).reshape(3,3))print(m)print(det(m))[[1 2 3] [4 5 6] [7 8 9]] 6.66133814775094e-16from numpy.linalg import inv print(m) im=inv(m) print(im)[[1 2 3] [4 5 6] [7 8 9]] [[-4.50359963e+15 9.00719925e+15 -4.50359963e+15] [ 9.00719925e+15 -1.80143985e+16 9.00719925e+15] [-4.50359963e+15 9.00719925e+15 -4.50359963e+15]]#to check whether multiplication of a matrix with it's inverse matrix gives identity matrix or not from numpy import eye,allclose print(asmatrix(eye(3))) rs=im*m rs.shape print(rs) allclose(rs,asmatrix(eye(3)))[[1. 0. 0.] [0. 1. 0.] [0. 0. 1.]] [[ 12. 8. 8.] [-16. -8. 0.] [ 4. 0. 0.]] Out[118]: False
Can you explain how to find frobenius?
674 visits
Outline:flatten() फंक्शन multidimensional मैट्रिक्स के सिंगल में बदलने के लिए उदाहरण dimension मैट्रिक्स मैट्रिक्स का Frobenius norm मैट्रिक्स के Frobenius norm प्रदर्शन मैट्रिक्स का इन्वर्स मैट्रिक्स का Infinity norm norm डॉक्यूमेंटेशन Singular वेल्यू डिकम्पोजिशन svd() फंक्शन smat फंक्शन
flatten() फंक्शन multidimensional मैट्रिक्स के सिंगल में बदलने के लिए उदाहरण dimension मैट्रिक्स मैट्रिक्स का Frobenius norm मैट्रिक्स के Frobenius norm प्रदर्शन मैट्रिक्स का इन्वर्स मैट्रिक्स का Infinity norm norm डॉक्यूमेंटेशन Singular वेल्यू डिकम्पोजिशन svd() फंक्शन smat फंक्शन
Show video info
Pre-requisite