Hi everyone,
While taking part 2 of the Fast.ai course, I was inspired by Jeremy’s examples of how seemingly complicated looking equations (like the Frobenius norm) could be easily implemented in Python. To help other engineers learn how to implement math that they see in papers, I created Math to Code:
It walks you from basic operators like square root and absolute value to summations, matrix multiplication, implementing the Frobenius norm, standard deviation, etc…
I would appreciate any feedback on it. It’s also open source here if you want to see how it’s implemented (it uses the Skulpt library under the hood to execute Python / NumPy client-side in JavaScript, which is pretty fun):
There’s also discussion on Hacker News if you want to check it out — https://news.ycombinator.com/item?id=23513438