Class Dynamic

java.lang.Object
engine.neural.activations.Dynamic
All Implemented Interfaces:
Activation, Reconstructible

public class Dynamic extends Object implements Activation
  • Field Details

    • layer

      private Activation[] layer
    • layerNum

      private int layerNum
  • Constructor Details

  • Method Details

    • next

      public void next()
    • function

      public float function(float x)
      Specified by:
      function in interface Activation
    • derivative

      public float derivative(float x)
      Specified by:
      derivative in interface Activation
    • getClassInfo

      public String getClassInfo()
      Description copied from interface: Reconstructible
      This interface is used to save objects as strings and to reconstruct them later
      Specified by:
      getClassInfo in interface Reconstructible
      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;"