Google News
logo
ml5.js - Interview Questions
What is Minimal Configuration Method in ml5.NeuralNetwork?
Minimal Configuration Method : If you plan to create data in real-time, you can just set the type of task you want to accomplish ('regression' | 'classification') and then create the neuralNetwork. You will have to add data later on, but ml5 will figure the inputs and outputs based on the data your add.
 
const options = {
  task: 'regression' // or 'classification'
}
const nn = ml5.neuralNetwork(options)
Advertisement