Friendly machine learning for the web! 🤖
Clone or download
shiffman and cvalenzuela Additional arguments option for SketchRNN (#237)
* Fixing up SketchRNN

* arguments fix for SketchRNN interactive

* adding build

* update version
Latest commit 0762f18 Nov 8, 2018


BrowserStack StatusVersion Twitter Follow

This project is currently in development.

Friendly machine learning for the web!

ml5.js aims to make machine learning approachable for a broad audience of artists, creative coders, and students. The library provides access to machine learning algorithms and models in the browser, building on top of TensorFlow.js with no other external dependencies.

The library is supported by code examples, tutorials, and sample data sets with an emphasis on ethical computing. Bias in data, stereotypical harms, and responsible crowdsourcing are part of the documentation around data collection and usage.

ml5.js is heavily inspired by Processing and p5.js.


Download the minified or use the online version and add it to the head section of your HTML document:

<script src="ml5.min.js" type="text/javascript"></script>


<script src="" type="text/javascript"></script>


Standalone Examples

You can find a collection of standalone examples in this repository:

These examples are meant to serve as an introduction to the library and machine learning concepts.



Thanks BrowserStack for providing testing support.