JMSLTM Numerical Library 7.2.0
com.imsl.datamining.neural

Class Perceptron

    • Method Detail

      • getActivation

        public Activation getActivation()
        Returns the activation function.
        Returns:
        An Activation object indicating the activation function.
      • getBias

        public double getBias()
        Returns the bias for this Perceptron.
        Returns:
        A double representing the bias for this Perceptron.
      • setActivation

        public void setActivation(Activation activation)
        Sets the activation function.
        Parameters:
        activation - An Activation object which represents the activation g to be used by this Perceptron.
      • setBias

        public void setBias(double bias)
        Sets the bias for this Perceptron.
        Parameters:
        bias - A double scalar value to which the bias is to be set. The bias has a default value of 0.
JMSLTM Numerical Library 7.2.0

Copyright © 1970-2015 Rogue Wave Software
Built October 13 2015.