Class Linear

    • Constructor Summary

      Constructors 
      Constructor Description
      Linear()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double activate​(double x)
      Applies the activation function onto x and returns y
      java.lang.String getIdentifier()
      Future for resolving activations via functions
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Linear

        public Linear()
    • Method Detail

      • activate

        public double activate​(double x)
        Applies the activation function onto x and returns y
        Specified by:
        activate in interface ActivationFunction
        Parameters:
        x - x
        Returns:
        y
      • getIdentifier

        public java.lang.String getIdentifier()
        Future for resolving activations via functions
        Specified by:
        getIdentifier in interface ActivationFunction
        Returns:
        the activation identifier