Package functions

Class Threshold

java.lang.Object
functions.Threshold

public class Threshold
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    Threshold()  
  • Method Summary

    Modifier and Type Method Description
    double activation​(double x)
    Activation threshold.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Threshold

      public Threshold()
  • Method Details

    • activation

      public double activation​(double x)
      Activation threshold. Return 0 for x<1 otherwise return 1.