Neural Networks Overview
Logistic Regression
Two steps computation given three samples (X), and parameters and :


2 layer neural network

- Square blacket refers to layer 1, 2
Neural Network Representation

The hidden layer can be written as
(4,1) matrix
Computing a Neural Network’s Output

First node in the layer

Second node in the layer

Vectorization

z and a computation of the hidden layer
,
,
,
,
Stacking w vectors to form a matrix
=
(4,3) matrix. It needs to be multuplied by (3,1) matrix
Similary, activation can be represented as a vector where
