Outline
Credits. This material was created by Fabian Pedregosa for an invied lecture at McGill University. Source code can be found here. The template and the visualizations are modified from the distill article How momentum really works. Some parts of the knowing your problem section are based on the scipy lecture notes.