Gradient Descent, Machine Learning.
have to consider −yᵢ xᵢ [1−p(yᵢ|xᵢ)] as a whole. For example, the contribution from the second sample towards the gradient is positive, which means that there is an inclination to make w smaller (or more negative). Look at the equation and tell yourself why this should be so — does decreasing w