In Week 2 Andrew Ng touches upon “feature scaling”. This is important in models such as linear regression when the magnitude of features have the chance of having an outsized impact on the outputs. Two options: 1. feature scaling 2. mean normalization
Here is the V2 version of the notes with handwritten notes turned to text! ✍️ ➡ 👨💻
Notes on Andrew Ng Machine Learning course on #coursera https://t.co/UgP9W7l7HG
Week 5: Backpropagation Algorithm. We use the delta terms we calculated for every hidden layer and multiply them by the activations to get the partial derivative. For many training examples our theta is nudged by the average of these.
Week 5 Backprop, we learn how the ”delta” error terms start with the output layer subtracted by the y labels and then delta is propagated back to all hidden layers
Week 5: Backpropagation Algorithm. We use the delta terms we calculated for every hidden layer and multiply them by the activations to get the partial derivative. For many training examples our theta is nudged by the average of these.
Week 5 Backprop, we learn how the ”delta” error terms start with the output layer subtracted by the y labels and then delta is propagated back to all hidden layers
Week 5: Backpropagation Algorithm. We know how to forward prop, now we update the theta weights to minimize cost with backpropagation. Note the tie fixing 🎀
Week 5 Andrew Ng introduces the Neural Network cost function, a generalized version of the logistic cost function but for multiple outputs and multidimensional theta
In week 4 Andrew Ng explains how to build complex functions such as ”XOR” (exclusive OR) and “XNOR” (the opposite/inverse of XOR) using smaller building blocks like AND, OR, and NOT.
In W4 Multi-class classification we learn that your NN can output to multiple nodes and this vector represents different classes based on a single positive value
Week 4 we note that with logistic regression 📈we are given features. With NN’s 🧠its as if its learning its own features🤯until that last layer that looks just like logistic regression.
In week 4 Andrew Ng shows the vectorized implementation of forward propagation, this is a good shorthand for our notation but a BIG speed up in calculations since computers are SUPER good at matrix math.