Gradient Descent Gradient Descent for Machine Learning, Explained In typical machine learning problems, there is always an input and a desired output. However, the machine doesn’t really know that.