From 07d53e90d6a32f210c4a493b666b37f5c6122385 Mon Sep 17 00:00:00 2001 From: MUSKAAN CHOPRA <61360636+muskaan712@users.noreply.github.com> Date: Mon, 14 Feb 2022 01:01:25 +0530 Subject: [PATCH] Update andrewng-p-1-neural-network-deep-learning.md Added description of variables in Getting your Matrix Dimensions Right. --- andrewng-p-1-neural-network-deep-learning.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/andrewng-p-1-neural-network-deep-learning.md b/andrewng-p-1-neural-network-deep-learning.md index 88a6a0b..c0998b3 100644 --- a/andrewng-p-1-neural-network-deep-learning.md +++ b/andrewng-p-1-neural-network-deep-learning.md @@ -612,8 +612,9 @@ Here are the course summary as its given on the course [link](https://www.course ### Getting your matrix dimensions right - The best way to debug your matrices dimensions is by a pencil and paper. -- Dimension of `W` is `(n[l],n[l-1])` . Can be thought by right to left. -- Dimension of `b` is `(n[l],1)` +- Dimension of `W[l]` is `(n[l],n[l-1])` . Can be thought by right to left. +- Dimension of `b[l]` is `(n[l],1)` +- l=layer, n= number of nodes in a layer 'l' - `dw` has the same shape as `W`, while `db` is the same shape as `b` - Dimension of `Z[l],` `A[l]`, `dZ[l]`, and `dA[l]` is `(n[l],m)`