If you know single variable calculus and basic linear algebra, then you can often muddle through by just remembering that the derivative of, (1) f: R^n -> R is a vector (2) f: R -> R^n is a vector (3) f: R^m -> R^n is an n x m matrix (the Jacobian) (*) f(x)=x^tAx is f'(x)=(A + A^t)x (this is an example of (1)) (**) and that the derivative (gradient) of (1) gives you (3) with m=n, and in this case the derivative of (3…
I think that one of the reasons people look for a good exposition is so that they do not _have_ to muddle through. I know I look for a simple example or explanation that makes complicated cases clear. This 'explanation' might be correct, but I found the details that would help someone else follow it are missing. Especially someone with a computer science background who considers a m x 1 matrix different from a 1 x m…
The matrix calculus you need for deep learning (2018)
21–30 of 43 posts
Re: The matrix calculus you need for deep learning (2018)
#22Earlier quoted context omitted.
To begin, try to get a really high level explanation for differential and integral calculus. Look at videos, illustrations, etc. Then, once you have a mental image of what you will be doing, get into the math from the ground up.
When I was like 14 years old one one my math teachers explained to us what calculus was using zero equations. He made everything look really easy. At college, it was the complete opposite. My professor started with limits and convergence, didn't even bother to explain why we were studying the subject. Kudos for people who actually explain things.
Re: The matrix calculus you need for deep learning (2018)
#23> We assume no math knowledge beyond what you learned in calculus 1 Anyone got recommendations for self-studying and testing Calculus 1?
"What One Fool Can Do, Another Can. (Ancient Simian Proverb.)"
Re: The matrix calculus you need for deep learning (2018)
#24is there an online course for maths? like undergrad maths?
Re: The matrix calculus you need for deep learning (2018)
#25If you know single variable calculus and basic linear algebra, then you can often muddle through by just remembering that the derivative of, (1) f: R^n -> R is a vector (2) f: R -> R^n is a vector (3) f: R^m -> R^n is an n x m matrix (the Jacobian) (*) f(x)=x^tAx is f'(x)=(A + A^t)x (this is an example of (1)) (**) and that the derivative (gradient) of (1) gives you (3) with m=n, and in this case the derivative of (3…
Any tips there?
Re: The matrix calculus you need for deep learning (2018)
#26By vectorised implementation of gradient descent, I mean one where gradient descent looks at more that one training samplenat a time when updating weights
Re: The matrix calculus you need for deep learning (2018)
#27Re: The matrix calculus you need for deep learning (2018)
#28> We assume no math knowledge beyond what you learned in calculus 1 Anyone got recommendations for self-studying and testing Calculus 1?
I have a reasonable handle on Calculus-1 but those articles really helped me connect the dots. After reading them I realized that all I knew was “how” without having a clue about “what”
Re: The matrix calculus you need for deep learning (2018)
#29Re: The matrix calculus you need for deep learning (2018)
#30> We assume no math knowledge beyond what you learned in calculus 1 Anyone got recommendations for self-studying and testing Calculus 1?