• Stars
    star
    6,324
  • Rank 5,979 (Top 0.2 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 6 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Friendly machine learning for the web! ๐Ÿค–

Read our ml5.js Code of Conduct and software licence here!

ml5

All Contributors BrowserStack Status Version 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.

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.

Please read our Code of Conduct, which establishes our commitment to make ml5.js a friendly and welcoming environment.

Usage

Before getting started with ml5.js, review our Code of Conduct. There are several ways you can use the ml5.js library:

  • You can use the latest version (0.12.2) by adding it to the head section of your HTML document:

v0.12.2

<script src="https://unpkg.com/[email protected]/dist/ml5.min.js" type="text/javascript"></script>

  • If you need to use an earlier version for any reason, you can change the version number. The previous versions of ml5 can be found here. You can use those previous versions by replacing <version> with the ml5 version of interest:
<script src="https://unpkg.com/ml5@<version>/dist/ml5.min.js" type="text/javascript"></script>

For example:

<script src="https://unpkg.com/[email protected]/dist/ml5.min.js" type="text/javascript"></script>
  • You can also reference "latest", but we do not recommend this as your code may break as we update ml5.
<script src="https://unpkg.com/ml5@latest/dist/ml5.min.js" type="text/javascript"></script>

Resources

Standalone Examples

You can find a collection of standalone examples in this repository within the examples/ directory. You can also test working hosted of the examples online on the ml5.js examples index website.

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

Code of Conduct

We believe in a friendly internet and community as much as we do in building friendly machine learning for the web. Please refer to our Code of Conduct for our rules for interacting with ml5 as a developer, contributor, or as a person using the library.

Contributing

Want to be a contributor ๐Ÿ— to the ml5.js library? If yes and you're interested to submit new features, fix bugs, or help develop the ml5.js ecosystem, please go to our CONTRIBUTING documentation to get started.

See CONTRIBUTING ๐Ÿ› 

Acknowledgements

ml5.js is supported by the time and dedication of open source developers from all over the world. Funding and support is generously provided by a Google Education grant at NYU's ITP/IMA program.

Many thanks BrowserStack for providing testing support.

Contributors

Thanks goes to these wonderful people (emoji key):


Daniel Shiffman

๐Ÿ’ป ๐Ÿ’ก ๐Ÿ“† ๐Ÿ‘€ โš ๏ธ ๐Ÿ“น

Cristรณbal Valenzuela

๐Ÿ’ป ๐Ÿ’ก ๐Ÿ‘€ ๐Ÿ”ง โš ๏ธ

Yining Shi

๐Ÿ’ป ๐Ÿ’ก ๐Ÿ‘€ ๐Ÿ”ง โš ๏ธ ๐Ÿ›

Hannah Davis

๐Ÿ’ป ๐Ÿ’ก

Joey Lee

๐Ÿ’ป ๐Ÿ’ก ๐Ÿ‘€ ๐Ÿ–‹ โš ๏ธ

AshleyJaneLewis

๐Ÿ“ ๐ŸŽจ ๐Ÿ“‹ ๐Ÿ–‹

Ellen Nickles

๐Ÿ“ ๐Ÿ–‹ ๐Ÿค” โœ…

Itay Niv

๐Ÿ’ป ๐Ÿ’ก

Nikita Huggins

๐Ÿ“ ๐Ÿ–‹ ๐Ÿค”

Arnab Chakravarty

๐Ÿ–‹ ๐Ÿ““

Aidan Nelson

๐Ÿ’ป ๐Ÿ’ก

WenheLI

๐Ÿ’ป ๐Ÿ’ก ๐Ÿšง ๐Ÿค”

Darius Kazemi

๐Ÿค” ๐Ÿ’ฌ

Dingsu Wang

๐Ÿ’ป ๐Ÿ’ก

garym140

๐Ÿ–‹ ๐Ÿ“ ๐Ÿค” ๐Ÿ““

Gene Kogan

๐Ÿ’ป ๐Ÿ’ก ๐Ÿค”

Hayley Hwang

๐Ÿ’ป ๐Ÿ’ก ๐Ÿค”

Lisa Jamhoury

๐Ÿ’ก ๐Ÿค”

Alejandro Matamala Ortiz

๐ŸŽจ ๐Ÿ–‹ ๐Ÿ“

Maya Man

๐Ÿ’ป ๐Ÿ’ก

Mimi Onuoha

๐Ÿค” ๐Ÿ–‹ ๐Ÿ‘€

Yuuno, Hibiki

๐Ÿ’ป ๐Ÿ’ก ๐Ÿšง

Dan Oved

๐Ÿ’ป ๐Ÿ’ก ๐Ÿ’ฌ ๐Ÿค”

Stephanie Koltun

๐Ÿ’ป ๐Ÿ’ก ๐Ÿ–‹ ๐Ÿ“ ๐ŸŽจ

YG Zhang

๐Ÿ’ป ๐Ÿ’ก ๐Ÿค”

Wenqi Li

๐Ÿ’ป ๐Ÿ’ก ๐Ÿš‡

Brent Bailey

โš ๏ธ ๐Ÿ’ป ๐Ÿ’ก

Jonarod

๐Ÿ’ป

Jasmine Otto

๐Ÿ’ป โš ๏ธ ๐Ÿ’ก

Zaid Alyafeai

๐Ÿ’ป ๐Ÿ’ก ๐Ÿค” ๐Ÿ’ฌ

Jacob Foster

๐Ÿ’ป ๐Ÿ’ก โš ๏ธ

Memo Akten

๐Ÿ’ป ๐Ÿ’ก

Mohamed Amine

๐Ÿ’ป ๐Ÿ’ก ๐Ÿค” โš ๏ธ

Oliver Wright

๐Ÿ’ป โš ๏ธ

Marshal Hayes

๐Ÿ“–

Reiichiro Nakano

๐Ÿ’ป โš ๏ธ ๐Ÿ’ก

Nikhil Thorat

๐Ÿ’ป ๐Ÿ’ก ๐Ÿค” ๐Ÿš‡

Irene Alvarado

๐Ÿ’ป ๐Ÿ’ก ๐Ÿšง ๐Ÿค”

Andrew Lee

๐Ÿ’ป ๐Ÿ’ก ๐Ÿค”

Jerhone

๐Ÿ“–

achimkoh

๐Ÿ’ป ๐Ÿ’ก โš ๏ธ

Jim

๐Ÿ’ก ๐Ÿ“– ๐Ÿ–‹

Junya Ishihara

๐Ÿšง ๐Ÿ’ป

Naoto HIร‰DA

๐Ÿšง

aarรณn montoya-moraga

๐Ÿšง ๐Ÿ’ก

b2renger

๐Ÿ’ป ๐Ÿš‡

Aditya Sharma

๐Ÿšง

okuna291

๐Ÿค”

Jenna

๐Ÿค”

nicoleflloyd

๐Ÿ–‹ ๐ŸŽจ ๐Ÿ““

jepster-dk

๐Ÿ’ป ๐Ÿค”

Xander Jake de los Santos

๐Ÿค”

Cassie Tarakajian

๐Ÿ› ๐Ÿš‡ ๐Ÿค”

Dave Briccetti

๐Ÿ›

Sblob1

๐Ÿ›

Jared Wilber

๐Ÿ’ก ๐Ÿค” ๐Ÿ’ป

danilo

๐Ÿ’ป ๐Ÿค”

Emma Goodliffe

๐Ÿค” ๐Ÿ’ฌ ๐Ÿšง

Yang

๐Ÿ’ป ๐Ÿ›

Lydia Jessup

๐Ÿ’ป ๐Ÿค” ๐Ÿ’ก

CJ R.

๐Ÿ“– ๐Ÿ–‹

Fabio Corona

๐Ÿ›

Tobias Nickel

๐Ÿ› ๐Ÿ’ป

Michael Salaverry

๐Ÿ–‹ ๐Ÿ›

Rob

๐Ÿ› ๐Ÿ’ฌ

Pujaa Rajan

๐Ÿ’ก ๐Ÿ›

Nick McIntyre

โš ๏ธ ๐Ÿ›

Andy Baio

๐Ÿ–‹ ๐Ÿšง

Wenqi Li

๐Ÿ–‹ ๐Ÿ’ป ๐Ÿš‡ ๐Ÿšง ๐Ÿค”

garym140

๐ŸŽจ

Jim

๐Ÿ–‹ ๐Ÿšง ๐Ÿค”

Yeswanth

๐Ÿšง ๐Ÿ›

Pettrus Sherlock

๐Ÿ› ๐Ÿšง

danilo

๐Ÿ–‹

Andreas Refsgaard

๐Ÿ–‹

Brian Jordan

๐Ÿ–‹

bradley inniss

๐Ÿ–‹

Kaushlendra Pratap

๐Ÿ–‹

maxdevjs

๐Ÿ–‹

josher19

๐Ÿ–‹ ๐Ÿ›

Frederik De Bleser

๐Ÿ–‹

Violet

๐Ÿ›

Tirta Wening Rachman

๐Ÿ’ป ๐Ÿ–‹ ๐Ÿค”

Mikรก Kruschel

๐Ÿ’ป ๐Ÿ›

Takanobu Asanuma

๐Ÿ–‹

Martin L. Jensen

๐Ÿ–‹

Hugo Romano

๐Ÿ–‹

Darshan Sen

๐Ÿ–‹

Ludwig Stumpp

๐Ÿ‘€ ๐Ÿ› ๐Ÿ’ก

Bomani Oseni McClendon

๐Ÿ–‹ ๐Ÿ’ป

Jang Haemin

๐Ÿ–‹

Anton Filatov

๐Ÿ–‹

Elijah Lucian

๐Ÿ“–

Tam

๐Ÿ–‹

RGV

๐Ÿ’ฌ

hansvana

๐Ÿ–‹

Ali Karpuzoglu

๐Ÿ› ๐Ÿšง

Jacob Wysko

๐Ÿ–‹

Dilwoar Hussain

๐Ÿ“–

Manaswini Das

๐Ÿ“–

Benjamin Botwin

๐Ÿ‘€ ๐Ÿ’ฌ ๐Ÿค”

Henrique Mota

๐Ÿ‘€ ๐Ÿ’ฌ ๐Ÿค”

CaseyPan

๐Ÿ’ป ๐Ÿค”

Sam Tarakajian

๐Ÿ’ป ๐Ÿ› ๐Ÿšง ๐Ÿค”

Michael Bell

๐Ÿ“– ๐Ÿ› ๐Ÿšง

machenmusik

๐Ÿ’ก

Pranav Dudhane

๐Ÿ“–

Tรผndi Szรกsz

๐ŸŽจ ๐Ÿค”

hellonun

๐Ÿค” ๐Ÿ““

Pierre Grimaud

๐Ÿ“– ๐Ÿ–‹

Greg French

๐Ÿ›

Dale Markowitz

๐Ÿ’ป ๐Ÿค”

Ragland Asir

๐Ÿ“–

Tom-Lucas Sรคger

๐Ÿ“–

altruios

๐Ÿ“–

mennosc

๐Ÿ’ป

neta

๐Ÿ’ป ๐Ÿ“–

Koji

๐Ÿ’ป ๐Ÿ“–

josephrocca

๐Ÿ’ป ๐Ÿ“–

Lauren Lee McCarthy

๐Ÿ’ป ๐Ÿ“–

Sorin Curescu

๐Ÿ’ป

mofanke

๐Ÿ› ๐Ÿ’ป

Ikko Ashimine

๐Ÿ“–

Mudasar-Makandar

๐Ÿ› ๐Ÿ’ป

Amir Feqhi

๐Ÿ’ป

DasK

๐Ÿ’ป ๐Ÿค”

Amir

๐Ÿ’ป ๐Ÿ’ก

lindapaiste

๐Ÿ’ป ๐Ÿค” ๐Ÿ›

Evan Weinberg

๐Ÿ“–

Coder Gautam

๐Ÿ“–

Yong-Yuan Chen

๐Ÿ“–

adrianfiedler

๐Ÿ“– ๐Ÿ›

This project follows the all-contributors specification. Contributions of any kind welcome!

More Repositories

1

ml5-examples

A collection of ml5.js examples
JavaScript
621
star
2

Intro-ML-Arts-IMA-F19

Syllabus for Introduction to Machine Learning for the Arts at IMA / Tisch / NYU.
JavaScript
167
star
3

ml5-data-and-models

Data sets and pre-trained models for ml5.js
123
star
4

training-charRNN

Training charRNN model for ml5js
Python
97
star
5

training-styletransfer

Style Transfer training and using the model in ml5js
Python
72
star
6

Intro-ML-Arts-IMA-F20

Introduction to Machine Learning for the Arts, IMA, Tisch School of the Arts, New York University, Fall 2020
JavaScript
68
star
7

ml5-website-v01

ml5.js website
JavaScript
64
star
8

Intro-ML-Arts-IMA-F21

Introduction to Machine Learning for the Arts, IMA, Tisch School of the Arts, New York University, Fall 2021
JavaScript
58
star
9

training-word2vec

How to train your own word2vec model for use with ml5.js
Python
45
star
10

ml5-website

ml5 website!
JavaScript
45
star
11

ml5-boilerplate

A basic html, css, javascript boilerplate for working building a project with ml5.js
HTML
42
star
12

Code-of-Conduct

The Code of Conduct establishes and communicates the commitment of the ml5.js community to uphold a key set of standards and obligations that aim to make ml5.js a friendly and welcoming environment to be a part of.
30
star
13

awesome-ml5js

Work In Progress - Awesome List for ml5js
28
star
14

ml5-data-and-models-server

A repo to download and serve data and models locally allowing ml5 to run without a web connection
JavaScript
27
star
15

pix2pix_models

A collection of pix2pix models
23
star
16

ml5-next-gen

A work-in-progress repo for the next generation of ml5.js
JavaScript
20
star
17

ml5-friendly-intro-to-ml

A friendly introduction to ml5 for ITP Camp 2019
JavaScript
15
star
18

ml5-friendly-intro-to-ml-2019f

A friendly introduction to machine learning and ml5.js - workshop
14
star
19

Intro-ML-Arts-IMA-F22

About Introduction to Machine Learning for the Arts, IMA, Tisch School of the Arts, New York University, Fall 2022
JavaScript
11
star
20

Intro-ML-Arts-IMA-F23

About Introduction to Machine Learning for the Arts, IMA, Tisch School of the Arts, New York University, Fall 2023
JavaScript
11
star
21

training_CVAE

This is the repo for training CVAE on images and use a model in tfjs or ml5js.
Python
9
star
22

ml5-homepage-demo

Code for ml5js.org drag and drop image classification example (embedded as iframe)
JavaScript
6
star
23

ml5-adjacent

iframe embeds for the ml5 Adjacent article
JavaScript
3
star
24

training-pix2pix

Python
3
star