Machine Learning Fundamentals · 免费预览
梯度下降与小批量
大多数模型都是通过迭代地沿损失函数梯度的反方向更新参数来训练的,而用于估计该梯度的批大小则是在统计精度与速度之间进行权衡。
1. The algorithm that trains everything
The algorithm that trains everything
2. The gradient of the linear model
The gradient of the linear model
3. Full batch, single example, or something between
Full batch, single example, or something between
4. Hyperparameters
Hyperparameters
5. What the residual does to the gradient
In linear regression, the gradient contribution of example is . For an example whose prediction exactly equals its label, what happens on the next update?
6. The learning rate direction
The update rule is . With and a gradient component of along one coordinate, that coordinate changes by ____ on the step.