ml5

1.2.0 • Public • Published

All Contributors Version Twitter Follow

ml5

Friendly machine learning for the web!

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

This project is currently in development.

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 (1.2.0) by adding it to the head section of your HTML document:

    v1.2.0

    <script src="https://unpkg.com/[email protected]/dist/ml5.js"></script>
  • If you need to use an earlier version for any reason, you can change the version number. The previous versions of ml5.js 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"></script>

    For example:

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

    Note: To access the source code of version 0.12.2 or earlier, please visit the archived repository.

  • You can also reference "latest", but we do not recommend this as your code may break as we update ml5.js.

    <script src="https://unpkg.com/ml5@latest/dist/ml5.min.js"></script>

Resources

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
Daniel Shiffman

💻 💡 📆 👀 ⚠️ 📹
Cristóbal Valenzuela
Cristóbal Valenzuela

💻 💡 👀 🔧 ⚠️
Yining Shi
Yining Shi

💻 💡 👀 🔧 ⚠️ 🐛
Hannah Davis
Hannah Davis

💻 💡
Joey Lee
Joey Lee

💻 💡 👀 🖋 ⚠️
AshleyJaneLewis
AshleyJaneLewis

📝 🎨 📋 🖋
Ellen Nickles
Ellen Nickles

📝 🖋 🤔
Itay Niv
Itay Niv

💻 💡
Nikita Huggins
Nikita Huggins

📝 🖋 🤔
Arnab Chakravarty
Arnab Chakravarty

🖋 📓
Aidan Nelson
Aidan Nelson

💻 💡
WenheLI
WenheLI

💻 💡 🚧 🤔
Darius Kazemi
Darius Kazemi

🤔 💬
Dingsu Wang
Dingsu Wang

💻 💡
garym140
garym140

🖋 📝 🤔 📓
Gene Kogan
Gene Kogan

💻 💡 🤔
Hayley Hwang
Hayley Hwang

💻 💡 🤔
Lisa Jamhoury
Lisa Jamhoury

💡 🤔
Alejandro Matamala Ortiz
Alejandro Matamala Ortiz

🎨 🖋 📝
Maya Man
Maya Man

💻 💡
Mimi Onuoha
Mimi Onuoha

🤔 🖋 👀
Yuuno, Hibiki
Yuuno, Hibiki

💻 💡 🚧
Dan Oved
Dan Oved

💻 💡 💬 🤔
Stephanie Koltun
Stephanie Koltun

💻 💡 🖋 📝 🎨
YG Zhang
YG Zhang

💻 💡 🤔
Wenqi Li
Wenqi Li

💻 💡 🚇
Brent Bailey
Brent Bailey

⚠️ 💻 💡
Jonarod
Jonarod

💻
Jasmine Otto
Jasmine Otto

💻 ⚠️ 💡
Zaid Alyafeai
Zaid Alyafeai

💻 💡 🤔 💬
Jacob Foster
Jacob Foster

💻 💡 ⚠️
Memo Akten
Memo Akten

💻 💡
Mohamed Amine
Mohamed Amine

💻 💡 🤔 ⚠️
Oliver Wright
Oliver Wright

💻 ⚠️
Marshal Hayes
Marshal Hayes

📖
Reiichiro Nakano
Reiichiro Nakano

💻 ⚠️ 💡
Nikhil Thorat
Nikhil Thorat

💻 💡 🤔 🚇
Irene Alvarado
Irene Alvarado

💻 💡 🚧 🤔
Andrew Lee
Andrew Lee

💻 💡 🤔
Jerhone
Jerhone

📖
achimkoh
achimkoh

💻 💡 ⚠️
Jim
Jim

💡 📖 🖋
Junya Ishihara
Junya Ishihara

🚧 💻
Naoto HIÉDA
Naoto HIÉDA

🚧
aarón montoya-moraga
aarón montoya-moraga

🚧 💡
b2renger
b2renger

💻 🚇
Aditya Sharma
Aditya Sharma

🚧
okuna291
okuna291

🤔
Jenna
Jenna

🤔
nicoleflloyd
nicoleflloyd

🖋 🎨 📓
jepster-dk
jepster-dk

💻 🤔
Xander Jake de los Santos
Xander Jake de los Santos

🤔
Cassie Tarakajian
Cassie Tarakajian

🐛 🚇 🤔
Dave Briccetti
Dave Briccetti

🐛
Sblob1
Sblob1

🐛
Jared Wilber
Jared Wilber

💡 🤔 💻
danilo
danilo

💻 🤔
Emma Goodliffe
Emma Goodliffe

🤔 💬 🚧
Yang
Yang

💻 🐛
Lydia Jessup
Lydia Jessup

💻 🤔 💡
CJ R.
CJ R.

📖 🖋
Fabio Corona
Fabio Corona

🐛
Tobias Nickel
Tobias Nickel

🐛 💻
Michael Salaverry
Michael Salaverry

🖋 🐛
Rob
Rob

🐛 💬
Pujaa Rajan
Pujaa Rajan

💡 🐛
Nick McIntyre
Nick McIntyre

⚠️ 🐛
Andy Baio
Andy Baio

🖋 🚧
Wenqi Li
Wenqi Li

🖋 💻 🚇 🚧 🤔
garym140
garym140

🎨
Jim
Jim

🖋 🚧 🤔
Yeswanth
Yeswanth

🚧 🐛
Pettrus Sherlock
Pettrus Sherlock

🐛 🚧
danilo
danilo

🖋
Andreas Refsgaard
Andreas Refsgaard

🖋
Brian Jordan
Brian Jordan

🖋
bradley inniss
bradley inniss

🖋
Kaushlendra Pratap
Kaushlendra Pratap

🖋
maxdevjs
maxdevjs

🖋
josher19
josher19

🖋 🐛
Frederik De Bleser
Frederik De Bleser

🖋
Violet
Violet

🐛
Tirta Wening Rachman
Tirta Wening Rachman

💻 🖋 🤔
Miká Kruschel
Miká Kruschel

💻 🐛
Takanobu Asanuma
Takanobu Asanuma

🖋
Martin L. Jensen
Martin L. Jensen

🖋
Hugo Romano
Hugo Romano

🖋
Darshan Sen
Darshan Sen

🖋
Ludwig Stumpp
Ludwig Stumpp

👀 🐛 💡
Bomani Oseni McClendon
Bomani Oseni McClendon

🖋 💻
Jang Haemin
Jang Haemin

🖋
Anton Filatov
Anton Filatov

🖋
Elijah Lucian
Elijah Lucian

📖
Tam
Tam

🖋
RGV
RGV

💬
hansvana
hansvana

🖋
Ali Karpuzoglu
Ali Karpuzoglu

🐛 🚧
Jacob Wysko
Jacob Wysko

🖋
Dilwoar Hussain
Dilwoar Hussain

📖
Manaswini Das
Manaswini Das

📖
Benjamin Botwin
Benjamin Botwin

👀 💬 🤔
Henrique Mota
Henrique Mota

👀 💬 🤔
CaseyPan
CaseyPan

💻 🤔
Sam Tarakajian
Sam Tarakajian

💻 🐛 🚧 🤔
Michael Bell
Michael Bell

📖 🐛 🚧
machenmusik
machenmusik

💡
Pranav Dudhane
Pranav Dudhane

📖
Tündi Szász
Tündi Szász

🎨 🤔
hellonun
hellonun

🤔 📓
Pierre Grimaud
Pierre Grimaud

📖 🖋
Greg French
Greg French

🐛
Dale Markowitz
Dale Markowitz

💻 🤔
Ragland Asir
Ragland Asir

📖
Tom-Lucas Säger
Tom-Lucas Säger

📖
altruios
altruios

📖
mennosc
mennosc

💻
neta
neta

💻 📖
Koji
Koji

💻 📖
josephrocca
josephrocca

💻 📖
Lauren Lee McCarthy
Lauren Lee McCarthy

💻 📖
Sorin Curescu
Sorin Curescu

💻
mofanke
mofanke

🐛 💻
Ikko Ashimine
Ikko Ashimine

📖
Mudasar-Makandar
Mudasar-Makandar

🐛 💻
Amir Feqhi
Amir Feqhi

💻
DasK
DasK

💻 🤔
Amir
Amir

💻 💡
lindapaiste
lindapaiste

💻 🤔 🐛
Evan Weinberg
Evan Weinberg

📖
Coder Gautam
Coder Gautam

📖
Yong-Yuan Chen
Yong-Yuan Chen

📖
adrianfiedler
adrianfiedler

📖 🐛
Micaelle Lages Lucena
Micaelle Lages Lucena

📝 👥 📋
Vivian Chen
Vivian Chen

💻
ch3926
ch3926

💻
Ziyuan Lin
Ziyuan Lin

💻 📖 💡 🚧 🤔
Ozioma Chukwukeme
Ozioma Chukwukeme

📝 👥 📋
Zhuolin Li
Zhuolin Li

💻 📖 🤔 ⚠️
Apoorva Avadhana
Apoorva Avadhana

️️️️♿️ 🐛 🎨 🤔 🔬
QuinnHe
QuinnHe

💻 🖋 📖
J.H. Moon
J.H. Moon

💻 🖋 🎨 📖 💡 🧑‍🏫
Alan Ren
Alan Ren

🐛 💻 🖋 🎨 📖 🤔
Jack B. Du
Jack B. Du

🐛 💡
OrpheasK
OrpheasK

💻 💡 🚧
Myrah Sarwar
Myrah Sarwar

️️️️♿️ 🖋 📖
Sherab
Sherab

💻 🚧
Michael Weinberg
Michael Weinberg

📝 👥 📃
Gottfried Haider
Gottfried Haider

💻 💡 🚧 👀
douaaz
douaaz

💻 🚧 🔬
Xiaozao Wang
Xiaozao Wang

🖋 🎨
Ricci-Liu
Ricci-Liu

💻 🔬
Lisa-HuangZijin
Lisa-HuangZijin

💻 🔬
chanel1130
chanel1130

💻 🔬
agrshch
agrshch

🐛 💻

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

Readme

Keywords

Package Sidebar

Install

npm i ml5

Weekly Downloads

2,420

Version

1.2.0

License

MIT

Unpacked Size

70.1 MB

Total Files

7

Last publish

Collaborators

  • bomanimc
  • yining
  • shiffman
  • joeyklee
  • ziyuan-linn
  • sharellbryant