MultilayerPerceptron class

Constructors

MultilayerPerceptron({required Layer inputLayer, required Layer outputLayer, int hiddenLayerCount = 1, int hiddenLayerNeuronCount = 2, int epoch = 500, bool useBias = false, double learningRate = 0.01, Function activationFunction = defaultActivationFunction})

Properties

activationFunction Function
final
epoch int
final
hashCode int
The hash code for this object.
no setterinherited
hiddenLayerCount int
final
hiddenLayerNeuronCount int
final
inputLayer Layer
final
learningRate double
final
outputLayer Layer
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useBias bool
final

Methods

connectLayers({required List<Layer> layers}) List<Layer>
createLayers() List<Layer>
createModelFromArff(ARFFModelCreationParameter params) Model
This function creates a model from given ARFF file and class name
getPrediction({required ARFF arff, required Model model, required List<ARFFData> data}) Map<String, double>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

defaultActivationFunction(double x) double