Package engine.neural.initializers
Class RandomNormal
java.lang.Object
engine.neural.initializers.RandomNormal
- All Implemented Interfaces:
Initializer,Reconstructible
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis interface is used to save objects as strings and to reconstruct them latervoidinitialize(Matrix weights)
-
Field Details
-
rand
-
mean
private final float mean -
stdDev
private final float stdDev
-
-
Constructor Details
-
RandomNormal
public RandomNormal() -
RandomNormal
public RandomNormal(float mean, float stdDev)
-
-
Method Details
-
initialize
- Specified by:
initializein interfaceInitializer
-
getClassInfo
Description copied from interface:ReconstructibleThis interface is used to save objects as strings and to reconstruct them later- Specified by:
getClassInfoin interfaceReconstructible- Returns:
- a String in the utilizing getClass().getName() and then all following variables should be formatted with a new line before the raw value. Example: "return this.getClass().getName() + "\n" + this.param1 + "\n" + this.param2;"
-