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

Class GaussianNormalInit

    • Constructor Summary

      Constructors 
      Constructor and Description
      GaussianNormalInit(double stndDev)
      Creates a new GuassianNormalInit object for initializing weights
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      GaussianNormalInit clone() 
      double getStndDev() 
      void init(Matrix w, java.util.Random rand)
      Initializes the values of the given weight matrix
      void init(Vec b, int fanIn, java.util.Random rand)
      Performs the initialization of the given vector of bias values
      void setStndDev(double stndDev)
      Sets the standard deviation of the distribution that will be sampled from
      • Methods inherited from class java.lang.Object

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

      • GaussianNormalInit

        public GaussianNormalInit(double stndDev)
        Creates a new GuassianNormalInit object for initializing weights
        Parameters:
        stndDev - the standard deviation of the distribution to sample from
    • Method Detail

      • setStndDev

        public void setStndDev(double stndDev)
        Sets the standard deviation of the distribution that will be sampled from
        Parameters:
        stndDev - the standard deviation to use
      • getStndDev

        public double getStndDev()
        Returns:
        the standard deviation of the Gaussian that is sampled from
      • init

        public void init(Matrix w,
                         java.util.Random rand)
        Description copied from interface: WeightInitializer
        Initializes the values of the given weight matrix
        Specified by:
        init in interface WeightInitializer
        Parameters:
        w - the matrix to initialize
        rand - the source of randomness for the 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.