How to Code a Math Formula

Опубликовано: 15 Март 2026
на канале: Deep Learning with Yacine
12,542
292

👨‍💻 to get started with AI engineering, check out this Scrimba course: https://scrimba.com/the-ai-engineer-p...

Going from a mathematical formula to a piece of code that execute it isn't straightforward. In this video I show you how to take a math formula and iteratively implement it with the right level of abstraction.

Credit

Pytorch doc for code image and take a look over here for the nice blogpost about sgd based optimizers: https://ruder.io/optimizing-gradient-...

Code

https://github.com/yacineMahdid/artif...

Table of Content

Introduction: 0:00
Adam Optimization Formula: 0:25
Python Implementation: 3:25
Conclusion: 43:45

Reference

Adam: https://ruder.io/optimizing-gradient-...


----
Join the Discord for general discussion:   / discord  

----
Follow Me Online Here:

Twitter:   / codethiscodeth1  
GitHub: https://github.com/yacineMahdid
LinkedIn:   / yacine-mahdid-809425163  
Instagram:   / yacine_mahdid  
___

Have a great week! 👋