Neuron class
The Neuron class represents a single neuron in a neural network,
encapsulating its value, name, input and output edges, error, and old value.
This class is essential for managing the state and connections of neurons in neural networks, particularly in machine learning models and algorithms such as feedforward neural networks and backpropagation.
Properties:
- double? value: The current value of the neuron.
- String? name: The name or identifier of the neuron.
- List
- List
- double? error: The computed error value of the neuron.
- double? oldValue: The previous value of the neuron.
Constructors
Properties
- error ↔ double?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputEdges
↔ List<
Edge> ? -
getter/setter pair
- name ↔ String?
-
getter/setter pair
- oldValue ↔ double?
-
getter/setter pair
-
outputEdges
↔ List<
Edge> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ double?
-
getter/setter pair
Methods
-
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