Skip to content

Instantly share code, notes, and snippets.

@rocioDEV
Created February 28, 2020 10:40
Show Gist options
  • Save rocioDEV/2d57a9bb89c46245de4a3d55cbffba0b to your computer and use it in GitHub Desktop.
Save rocioDEV/2d57a9bb89c46245de4a3d55cbffba0b to your computer and use it in GitHub Desktop.
ml5-classifier.train
classifier.train(e => {
console.log(e) // "e" will be null once the training has finished
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment