Documentation of 'jsat.classifiers.neuralnetwork.initializers.ConstantInit' Java class
ConstantInit
jsat.classifiers.neuralnetwork.initializers

Class ConstantInit

    • Constructor Summary

      Constructors 
      Constructor and Description
      ConstantInit(double c) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ConstantInit clone() 
      double getConstant() 
      void init(Vec b, int fanIn, java.util.Random rand)
      Performs the initialization of the given vector of bias values
      void setConstant(double c) 
      • Methods inherited from class java.lang.Object

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

      • ConstantInit

        public ConstantInit(double c)
        Parameters:
        c - the constant to set all biases to
    • Method Detail

      • setConstant

        public void setConstant(double c)
        Parameters:
        c - the constant value to use
      • getConstant

        public double getConstant()
        Returns:
        the constant value that will be used for initialization
      • init

        public void init(Vec b,
                         int fanIn,
                         java.util.Random rand)
        Description copied from interface: BiastInitializer
        Performs the initialization of the given vector of bias values
        Specified by:
        init in interface BiastInitializer
        Parameters:
        b - the vector to store the biases in
        fanIn - the number of connections coming into the layer that these biases are for.
        rand - the source of randomness for initialization

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.