/ml5-library

Friendly machine learning for the web! 🤖

Primary LanguageJavaScriptMIT LicenseMIT

ml5

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.

Usage

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@0.1.1/dist/ml5.min.js" type="text/javascript"></script>

Resources

Standalone Examples

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.

Contributing

See CONTRIBUTING

Thanks BrowserStack for providing testing support.