/ml5-library

Friendly machine learning for the web! πŸ€–

Primary LanguageJavaScriptMIT LicenseMIT

ml5

All Contributors All Contributors

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

There are several ways you can use the ml5.js library:

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

v0.3.1

<script src="https://unpkg.com/ml5@0.3.1/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.

v0.3.0

<script src="https://unpkg.com/ml5@0.3.0/dist/ml5.min.js" type="text/javascript"></script>

v0.2.3

<script src="https://unpkg.com/ml5@0.2.3/dist/ml5.min.js" type="text/javascript"></script>

v0.1.3

<script src="https://unpkg.com/ml5@0.1.3/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>
  • Finally, you can download the minified and include the file:
<script src="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.

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 user.

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

πŸ–‹ 🎨 πŸ““

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