Gradient decent
This algorithm uses differentiation to minimise error terms for models. Suppose we have a model with some parameters
Note the convergence to a local minimum - rather than a global minimum. There are techniques to get around this but it is a hard problem to know you are in some global minimum.
Run time
Run time can be effected by the complexity of the model. Also there are different techniques to change the learning rate