This week is about the mysterious Neural Networks. The courses in this week just explain the basics about Neural Networks.
What is Neural Networks
It’s a technique to train our data based on how human brains works. A simple Neural Network has:
We use Neural NetWorks to make classification and regression. We use sigmoid function the map data from input layer to hidden layer then the output layer, the function is called activation function.
In Neural Network, we add bias unit, x0, a1 to do calculate. With Neural Network, we build more complex hypothesis function.
To play with neural network, you can try google’s open source tensorflow
Handwritten Digital Classification
This week’s assignment is to do multi classification on handwritten recognize.
Do multi classification with one-vs-all logistic regression For handwritens in 10 lables: 0~9, we do 10 regression regression to calculate 10 group of theta. And then make 10 predications base on these 10 group of theta, choose the lable with max hypothesis value（probaility value）
1. Cost function
function[J, grad] = lrCostFunction(theta, X, y, lambda)