Documentation of 'org.encog.neural.pattern.CPNPattern' Java class
CPNPattern
org.encog.neural.pattern

Class CPNPattern

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String TAG_INSTAR
      The tag for the INSTAR layer.
      static java.lang.String TAG_OUTSTAR
      The tag for the OUTSTAR layer.
    • Constructor Summary

      Constructors 
      Constructor and Description
      CPNPattern() 
    • Field Detail

      • TAG_INSTAR

        public static final java.lang.String TAG_INSTAR
        The tag for the INSTAR layer.
        See Also:
        Constant Field Values
      • TAG_OUTSTAR

        public static final java.lang.String TAG_OUTSTAR
        The tag for the OUTSTAR layer.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CPNPattern

        public CPNPattern()
    • Method Detail

      • addHiddenLayer

        public void addHiddenLayer(int count)
        Not used, will throw an error. CPN networks already have a predefined hidden layer called the instar layer.
        Specified by:
        addHiddenLayer in interface NeuralNetworkPattern
        Parameters:
        count - NOT USED
      • setInputNeurons

        public void setInputNeurons(int count)
        Set the number of input neurons.
        Specified by:
        setInputNeurons in interface NeuralNetworkPattern
        Parameters:
        count - The input neuron count.
      • setInstarCount

        public void setInstarCount(int instarCount)
        Set the number of neurons in the instar layer. This level is essentially a hidden layer.
        Parameters:
        instarCount - The instar count.
      • setOutputNeurons

        public void setOutputNeurons(int count)
        Set the number of output neurons. Calling this method maps to setting the number of neurons in the outstar layer.
        Specified by:
        setOutputNeurons in interface NeuralNetworkPattern
        Parameters:
        count - The count.
      • setOutstarCount

        public void setOutstarCount(int outstarCount)
        Set the number of neurons in the outstar level, this level is mapped to the "output" level.
        Parameters:
        outstarCount - The outstar count.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.