NeuralNetOptions class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- NeuralNetOptions([num chanceToAddLink = 0.07, num chanceToAddNode = 0.03, num chanceToAddLoop = 0.05, num compatibilityThreshold = 0.26, int sizeOfGeneration = 20, num crossOverPercent = 0.20])
-
NeuralNetOptions.fromJson(Map<
String, dynamic> json) -
factory
Properties
- chanceToAddLink ↔ num
-
getter/setter pair
- chanceToAddLoop ↔ num
-
getter/setter pair
- chanceToAddNode ↔ num
-
getter/setter pair
- compatibilityThreshold ↔ num
-
getter/setter pair
- crossOverPercent ↔ num
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeOfGeneration ↔ int
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited