Skip to content

Instantly share code, notes, and snippets.

@kmaher9
Created September 6, 2018 21:00
Show Gist options
  • Select an option

  • Save kmaher9/2b657bbb60cdc5e94a24bf7a43191400 to your computer and use it in GitHub Desktop.

Select an option

Save kmaher9/2b657bbb60cdc5e94a24bf7a43191400 to your computer and use it in GitHub Desktop.
// console log the output of each iteration
net.train(trainingData, {
log: true
})
// test data - actually virginica
var output = net.run([6.2,3.4,5.1,2.6])
console.log(output)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment