NumPy
Posts with this tag
Posts
-
Backpropagation by Hand: A Two-Layer MLP in NumPy with a Gradient Check
Deriving every gradient of a small multilayer perceptron, implementing it in NumPy, and proving the implementation right with a finite-difference check before training it.
-
Policy Gradients from First Principles: REINFORCE, Variance and Baselines
Deriving the REINFORCE estimator step by step, seeing where its variance comes from, and checking the baseline argument numerically on a tiny NumPy environment.