See our blog here for interactive versions of many of the notebooks in this repo.
This repository contains various supplementary Jupyter notebooks, Python and MATLAB files, presentations associated with the textbook Machine Learning Refined (Cambridge University Press). Visit http://www.mlrefined.com for free chapter downloads and tutorials, and our Amazon site here for details regarding a hard copy of the text.
Below are links to a video walkthroughs for several of the Jupyter notebooks in this repository. These briefly discuss the content of each notebook and show off their various interactive demos. Click the gif below each description to link directly to the corresponding walkthrough.
Below is an older video tutorial illustrating how L2 regularization convexifies nonconvex cost functions, thereby making minimization of such functions easier. The code (l2reg_logistic, which you may find here) shows the result of applying L2 regularization to a nonconvex form of logistic regression on a simple dataset, as well as the resulting convexificaation of this cost function due to regularization. Again, some principles from the chapter - which is available for download at www.mlrefined.com - are briefly described before jumping into the code.