MultilayerPerceptron constructor

MultilayerPerceptron({
  1. required Layer inputLayer,
  2. required Layer outputLayer,
  3. int hiddenLayerCount = 1,
  4. int hiddenLayerNeuronCount = 2,
  5. int epoch = 500,
  6. bool useBias = false,
  7. double learningRate = 0.01,
  8. Function activationFunction = defaultActivationFunction,
})

Implementation

MultilayerPerceptron({
  required this.inputLayer,
  required this.outputLayer,
  this.hiddenLayerCount = 1,
  this.hiddenLayerNeuronCount = 2,
  this.epoch = 500,
  this.useBias = false,
  this.learningRate = 0.01,
  this.activationFunction = defaultActivationFunction,
});