Reference

Welcome to the ml5.js reference page! Here you can browse the various categories of functionality that ml5.js provides. We have categorized the functionality of ml5.js based on the types of input and output that you might be interested to work with.

We currently have 4 categories:

  • Helpers:
    • The ml5 helpers category groups ml5 features that are broadly related to machine learning data, working with data, manipulating data, and training a model with data. Part of our helpers includes the ml5.neuralNetwork which allows you to build and train your own neural network right in the browser. You can also explore the ml5.featureExtractor to do transfer learning.
  • Image
    • The ml5 image category groups ml5 features that are related to applying machine learning to images or video.
  • Sound
    • The ml5 sound category groups ml5 features that are related to applying machine learning to audio.
  • Text
    • The ml5 text category groups ml5 features that are related to applying machine learning to text.
  • Utils
    • The ml5 utils category are handy functions that make your life easier when working with data, images, etc.

See the sidebar for more information.