All Articles
Machine Learning - Neural Networks - Representation
Neural Networks
Model Representation
input and output
x
1
, x
2
are input layers which go through a node and then generate an output layer
h
θ
(x) = 1 / (1 + -e
θ
T
x
)
x
0
is usually 1, which is also called a bias unit
sigmoid activation function
g(z) = 1 / (1 + e
-z
)
Neural network is a group of neurons put together
hidden layers are between the input layer and the output layer
weights are also matrix
s
j
units in layer j, s
j+1
units in layer j+1
the dimension will be s
j+1
* (s
j
+ 1)
Intuition
Non-linear classification
if data can be clusterd, try to use a simple representation of a given data set
x
1
XOR x
2
: true if either one is true
x
1
XNOR x
2
: NOT (x
1
XOR x
2
)
x
1
AND x
2
do some calculation and see if the function becomes 1 with x
1
and x
2
are either 0 or 1