TaihuaLi / mlrefined

Python and MATLAB code examples and demos from the textbook "Machine Learning Refined" (Cambridge University Press)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Machine Learning Refined IPython notebooks, Python and MATLAB files

Click here to launch a LIVE instance of the IPython notebooks in this repo.

You can pull and run a Docker image of this entire repo (with all necessary libraries pre-installed) via the terminal command:

docker run -d -u 0 -it -p 8888:8888 jermwatt/mlrefined


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.

Jupyter notebook Youtube video walkthroughts:

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.

An introduction to the mlrefined repo and the Jupyter notebook walkthrough series

Jupyter notebook walkthroughs - neural net space warping

Jupyter notebook walkthrough - on basic optimization principles

Jupyter notebook walkthrough - linear regression and optimization

Jupyter notebook walkthroughs - regression and kernels / neural nets / trees

Video tutorial on regression and L2 regularization

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.

Demo Doccou alpha

About

Python and MATLAB code examples and demos from the textbook "Machine Learning Refined" (Cambridge University Press)


Languages

Language:Jupyter Notebook 63.0%Language:HTML 36.9%Language:Python 0.1%Language:MATLAB 0.0%Language:CSS 0.0%Language:OpenEdge ABL 0.0%