jhpro.nnet
Class Pattern
- java.lang.Object
-
- jhpro.nnet.Pattern
-
- All Implemented Interfaces:
- java.io.Serializable
public class Pattern extends java.lang.Object implements java.io.SerializableThe 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleancheckValues()java.lang.StringgetPatternString()floatgetValue(int i)intsize()
-
DMelt 3.0 © DataMelt by jWork.ORG