Documentation of 'jhpro.nnet.jknnl.NeuronModel' Java class
NeuronModel
jhpro.nnet.jknnl

Interface NeuronModel

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      double getValue(double[] inputVector)
      Return value of the neuron after activation.
      double[] getWeight()
      Returns array contains valu of the weights
      void setWeight(double[] weight)
      Set weigths from array as parameter
    • Method Detail

      • getWeight

        double[] getWeight()
        Returns array contains valu of the weights
        Returns:
        array of the weights
      • setWeight

        void setWeight(double[] weight)
        Set weigths from array as parameter
        Parameters:
        weight - array of the weights
      • getValue

        double getValue(double[] inputVector)
        Return value of the neuron after activation. if activation function is not set, function return sum of the multiplication of vector v_i and weight w_i for each i (numbers of weigth and lenght of the input vector)
        Parameters:
        inputVector - input vector for neuron
        Returns:
        return

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.