Formula

Feedforward Neural Network Notation

  • LL: number of layers
  • mm: number of training datapoints
  • n[l]n^{[l]}: number of units (neurons) in layer ll
  • A[l]=g[l](Z[l])A^{[l]} = g^{[l]}(Z^{[l]}): activations (outputs) in layer ll
  • Z[l],A[l]Z^{[l]}, A^{[l]} dimensions: (n[l],m)(n^{[l]}, m)
  • X=A[0]X = A^{[0]}
  • Y^=A[L]\hat{Y} = A^{[L]}
  • W[l]W^{[l]}: weights for Z[l]Z^{[l]}
  • W[l]W^{[l]} dimensions: (n[l],n[l1])(n^{[l]}, n^{[l - 1]})
  • b[l]b^{[l]}: biases for Z[l]Z^{[l]}
  • b[l]b^{[l]} dimensions: (n[l],1)(n^{[l]}, 1)

0

1

Updated 2026-05-10

Tags

Data Science