Package engine.neural.activations
Class Dynamic
java.lang.Object
engine.neural.activations.Dynamic
- All Implemented Interfaces:
Activation,Reconstructible
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatderivative(float x) floatfunction(float x) This interface is used to save objects as strings and to reconstruct them latervoidnext()
-
Field Details
-
layer
-
layerNum
private int layerNum
-
-
Constructor Details
-
Dynamic
-
-
Method Details
-
next
public void next() -
function
public float function(float x) - Specified by:
functionin interfaceActivation
-
derivative
public float derivative(float x) - Specified by:
derivativein interfaceActivation
-
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;"
-