Documentation of 'jhpro.nnet.Pattern' Java class
Pattern
jhpro.nnet

Class Pattern

  • All Implemented Interfaces:
    java.io.Serializable


    public class Pattern
    extends java.lang.Object
    implements java.io.Serializable
    The pattern file of a Backpropagation Net contains the input and target patterns for the net. The patterns should contain ASCII characters that are defined in the net's conversion file. The number of patterns can be changed freely. The length of an input pattern must be the same as the number of neurons in the net's input neuron layer. The length of a target pattern must be the same as the number of neurons in the net's output neuron layer. The general structure of a pattern file is as follows:

    In the first line: Number of patterns

    In the second line: Length of input patterns (same as number of neurons in input layer)

    In the third line: Length of target patterns (same as number of neurons in output layer)

    Each following line: The input pattern [whitespace] the target pattern

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      Pattern(java.lang.String s, java.lang.String[][] as) 
    • Constructor Detail

      • Pattern

        public Pattern(java.lang.String s,
                       java.lang.String[][] as)
    • Method Detail

      • getPatternString

        public java.lang.String getPatternString()
      • getValue

        public float getValue(int i)
      • size

        public int size()
      • checkValues

        public boolean checkValues()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.