Almost every machine-learning task, at its core, reduces to the same mathematical problem: given a set of input variables, predict the value of the output variables.
Machine Learning FundamentalsIn traditional programming a human writes the rules; in machine learning you feed the machine examples and it works out the rules for itself.
Machine Learning FundamentalsA machine-learning system learns by adjusting its weights to make the loss — the number that measures the total prediction error — as small as possible, using an optimization algorithm, typically gradient descent.
Machine Learning FundamentalsA model that fits its training data perfectly can still be useless: the goal isn't zero error but generalization — predicting unseen cases as well as possible — which means resisting the temptation to overfit.
Machine Learning FundamentalsMachine learning can be traced back to three broad families — supervised, unsupervised, and reinforcement learning — set apart by what the training data looks like: labeled, unlabeled, or replaced by rewards.
A neural network is a model made of elementary nodes arranged in layers and joined by weighted connections: data enters through the input layer, passes through one or more hidden layers, and exits through the output layer — and the connection weights are exactly the parameters that training has to find.
Neural NetworksAn artificial neuron computes a weighted sum of its inputs, adds a bias, and passes the result through an activation function: it is the non-linearity of that function that makes depth meaningful, because without it an entire network would collapse into a single linear operation.
Neural Networks