Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

ml5

Package Overview
Dependencies
Maintainers
0
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml5

A friendly machine learning library for the web.

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.3K
decreased by-5.68%
Maintainers
0
Weekly downloads
Β 
Created
Source

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

    v1.2.1

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

Keywords

FAQs

Package last updated on 04 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc