Documentation of 'org.encog.neural.freeform.basic.BasicFreeformLayer' Java class
BasicFreeformLayer
org.encog.neural.freeform.basic

Class BasicFreeformLayer

  • All Implemented Interfaces:
    java.io.Serializable, FreeformLayer


    public class BasicFreeformLayer
    extends java.lang.Object
    implements FreeformLayer, java.io.Serializable
    Implements a basic freeform layer.
    See Also:
    Serialized Form
    • Constructor Detail

      • BasicFreeformLayer

        public BasicFreeformLayer()
    • Method Detail

      • add

        public void add(FreeformNeuron basicFreeformNeuron)
        Add a neuron to this layer.
        Specified by:
        add in interface FreeformLayer
        Parameters:
        basicFreeformNeuron - The neuron to add.
      • hasBias

        public boolean hasBias()
        Specified by:
        hasBias in interface FreeformLayer
        Returns:
        True if this layer has bias.
      • setActivation

        public void setActivation(int i,
                                  double activation)
        Set the activation for the specified index.
        Specified by:
        setActivation in interface FreeformLayer
        Parameters:
        i - The index.
        activation - The data for that index.
      • size

        public int size()
        Specified by:
        size in interface FreeformLayer
        Returns:
        The size of this layer, including bias.
      • sizeNonBias

        public int sizeNonBias()
        Specified by:
        sizeNonBias in interface FreeformLayer
        Returns:
        The size of this layer, no bias counted.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.