This project is currently in development.
ml5.js aims to make machine learning accessible to 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 full, 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>
or
<script src="https://unpkg.com/ml5" type="text/javascript"></script>
You can find a collection of standalone examples in this repository: github.com/ml5js/ml5-examples
These examples are meant to serve as an introduction to the library and machine learning concepts.
See CONTRIBUTING