C# Class xpidea.neuro.net.patterns.Pattern

A class representing single training pattern and is used to train a neural network. Contains input data and expected results arrays.
Inheritance: NeuroObject
Show file Open project: AlexCherkasov/Neuro.NET Class Usage Examples

Public Methods

Method Description
Load ( BinaryReader binaryReader ) : void

Overridden.Loads the pattern from a stream.

Pattern ( int inputsCount, int outputsCount ) : System

Constructor. Creates new instance of the pattern.

Save ( BinaryWriter binaryWriter ) : void

Overridden.Saves the pattern to a stream.

Method Details

Load() public method

Overridden.Loads the pattern from a stream.
public Load ( BinaryReader binaryReader ) : void
binaryReader System.IO.BinaryReader A BinaryReader used to read the stream.
return void

Pattern() public method

Constructor. Creates new instance of the pattern.
public Pattern ( int inputsCount, int outputsCount ) : System
inputsCount int Number of input values in a pattern.
outputsCount int Number of output/result values in the pattern.
return System

Save() public method

Overridden.Saves the pattern to a stream.
public Save ( BinaryWriter binaryWriter ) : void
binaryWriter System.IO.BinaryWriter A BinaryWriter used to write a stream.
return void