nipunbatra / ml-teaching

https://nipunbatra.github.io/ml-teaching/
5 stars 16 forks source link

Create neater computation graph for autograd lecture #20

Open nipunbatra opened 7 months ago

nipunbatra commented 7 months ago

Needs to be done in Python

See: https://rezaborhani.github.io/mlr/blog_posts/Basics_of_Math_functions/Part_3_constructing_functions.html

Our lecture is: https://nipunbatra.github.io/ml2023/lectures/autograd.pdf

Our initial notebook here: https://github.com/nipunbatra/ml-teaching/blob/master/notebooks/autograd.ipynb

What we need to do:

Build something like micrograd: https://www.youtube.com/watch?v=VMj-3S1tku0 and corresponding notebook: https://github.com/karpathy/nn-zero-to-hero/blob/master/lectures/micrograd/micrograd_lecture_first_half_roughly.ipynb