Skip to content

erinbugbee/aws-mlu-explain

 
 

Repository files navigation

MLU-Explain Logo & Title

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.

Articles

Currently, there are 8 articles published:

Logistic Regression

Logistic Regression Article Image

Title: Logistic Regression

Summary: Learn about how logistic regression can be used for binary classification through an interactive example.

Code: /code/logistic-regression/

Authors: Erin Bugbee, Jared Wilber

Train, Test, And Validation Sets

Train, Test, And Validation Sets Article Image

Title: Train, Test, and Validation Sets

Summary: Learn why it is best practice to split your data into training, testing, and validation sets, and explore the utility of each with a live machine learning model.

Code: /code/train-test-validation/

Authors: Jared Wilber, Brent Werness

Precision & Recall

Precision & Recall Article Preview

Title: Precision & Recall

Summary: When it comes to evaluating classification models, accuracy is often a poor metric. This article covers two common alternatives, Precision and Recall, as well as the F1-score and Confusion Matrices.

Code: /code/precision-recall/

Authors: Jared Wilber

Decision Trees

Decision Trees Article Image

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

Bias Variance Tradeoff

Bias Variance Tradeoff Article Image

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

Double Descent: A Visual Introduction

Double Descent Article Image

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

Double Descent 2: A Mathematical Explanation

Double Descent 2 Article Image

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

Running Locally

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`

License Summary

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.

About

Visual, Interactive Articles About Machine Learning: https://mlu-explain.github.io/

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.9%
  • Svelte 15.0%
  • HTML 8.8%
  • CSS 8.6%
  • SCSS 4.6%
  • Python 0.1%