dafriedman97 / mlbook

Repository for the free online book Machine Learning from Scratch (link below!)
https://dafriedman97.github.io/mlbook/content/introduction.html
MIT License
1.08k stars 206 forks source link

[appendix/math] Fix derivative of scalar with respect to matrix #13

Open curioushruti opened 3 years ago

curioushruti commented 3 years ago

This PR aligns on using numerator layout for scalar-by-matrix derivative since numerator layout is used for all other derivatives on this page.

If the goal was to go with a mixed layout, hence denominator layout was used for scalar-by-matrix on purpose, then feel free to disregard this PR.

Also, fixed a tiny typo of missing "belongs to" symbol in vector-by-scalar derivative.