This repository holds the code used for Amazon's MLU-Explain educational articles on machine learning. MLU-Explain exists to illustrate core machine learning concepts using visual essays in a fun, informative, and accessible manner.
This material exists as supplementary educational material for Machine Learning University (MLU), which provides anybody, anywhere, at any time access to the same machine learning courses used to train Amazon’s own developers on machine learning.
Currently, there are 5 articles published:
Title: Random Forest
Summary: Learn how the majority vote and well-placed randomness can extend the decision tree model to one of machine learning's most widely-used algorithms, the Random Forest.
Code: /code/random-forest/
Authors: Jenny Yeon, Jared Wilber
Title: Decision Trees
Summary: Explore one of machine learning's most popular supervised algorithms: the Decision Tree. Learn how the tree makes its splits, the concepts of Entropy and Information Gain, and why going too deep is problematic.
Code: /code/decision-tree/
Authors: Jared Wilber, Lucía Santamaría
Title: The Bias Variance Tradeoff
Summary: Understand the tradeoff between under- and over-fitting models, how it relates to bias and variance, and explore interactive examples related to LASSO and KNN.
Code: /code/bias-variance/
Authors: Jared Wilber, Brent Werness
Title: Double Descent
Summary: Meet the double descent phenomenon in modern machine learning: what it is, how it relates to the bias-variance tradeoff, the importance of the interpolation regime, and a theory of what lies behind.
Code: /code/double-descent/
Authors: Jared Wilber, Brent Werness
Title: Double Descent 2
Summary: Deepen your understanding of the double descent phenomenon. The article builds on the cubic spline example introduced in Double Descent 1, describing in mathematical detail what is happening.
Code: /code/double-descent2/
Authors: Brent Werness, Jared Wilber
This article holds code for each articles, as well as the generated builds from the code (e.g. the static assets comprising the articles).
First, clone this repo.
git clone https://github.com/aws-samples/aws-mlu-explain.git
Next, cd into the article of interest and install the required libraries.
# e.g. bias variance tradeoff article
cd bias-variance
# install libraries
npm install
Now, to run the development version:
npm start
To build and view the static assests:
# build assets
npm run build
# view generated article
cd dist/
# run local server
python3 -m http.server # or just `live-server`
This open source articles are made available under the Creative Commons Attribution-ShareAlike 4.0 International License. See LICENSE file.
The sample and reference code within this open source book is made available under a modified MIT license. See the LICENSE-SAMPLECODE file.