Live data from Hacker News

Matrix Calculus (For Machine Learning and Beyond)

arxiv.org

1–10 of 31 posts

Re: Matrix Calculus (For Machine Learning and Beyond)

#8
If you want to get handy with matrix calculus, the real prerequisite is being comfortable with Taylor expansions and linear algebra.

In a graduate numerical optimization class I took over a decade ago, the professor spent 10 minutes on the first day deriving some matrix calculus identity by working out the expressions for partial derivatives using simple calculus rules and a lot of manual labor. Then, as the class was winding up, he joked and said "just kidding, don't do that... here's how we can do this with a Taylor expansion", and proceeded to derive the same identity in what felt like 30 seconds.

Also, don't forget the Jacobian and gradient aren't the same thing!

Re: Matrix Calculus (For Machine Learning and Beyond)

#10
post #8

If you want to get handy with matrix calculus, the real prerequisite is being comfortable with Taylor expansions and linear algebra. In a graduate numerical optimization class I took over a decade ago, the professor spent 10 minutes on the first day deriving some matrix calculus identity by working out the expressions for partial derivatives using simple calculus rules and a lot of manual labor. Then, as the class wa…

Can you give an example?
Post reply on HN