C# Class xpidea.neuro.net.NeuroObject

Is the abstract base class for all neural network classes.
Afficher le fichier Open project: AlexCherkasov/Neuro.NET

Méthodes publiques

Méthode Description
Epoch ( int epoch ) : void

Method used on epoch training of neural network. Must be executed every time after each itteration through the pattern set. This method calculates average delta.

Load ( BinaryReader binaryReader ) : void

Restores object data from a binary stream.

LoadFromFile ( string fileName ) : void

Loads object data from a file.

Random ( double min, double max ) : double

Returns random value between min and max (inclusive).

RoundToNextInt ( double value ) : int

Rounds given value to a nearest integer. For example: RoundToNextInt(0.2) is 1 RoundToNextInt(-0.9) is -1 RoundToNextInt(-9) is -9

Save ( BinaryWriter binaryWriter ) : void

Stores the object in a binary stream.

SaveToFile ( string fileName ) : void

Saves object to a file in a binary format.

Private Methods

Méthode Description
NeuroObject ( ) : System

Constructor.

Method Details

Epoch() public méthode

Method used on epoch training of neural network. Must be executed every time after each itteration through the pattern set. This method calculates average delta.
public Epoch ( int epoch ) : void
epoch int Number of patterns that was presentend during this learning cycle.
Résultat void

Load() public méthode

Restores object data from a binary stream.
public Load ( BinaryReader binaryReader ) : void
binaryReader System.IO.BinaryReader Binary stream reader.
Résultat void

LoadFromFile() public méthode

Loads object data from a file.
public LoadFromFile ( string fileName ) : void
fileName string File name.
Résultat void

Random() public static méthode

Returns random value between min and max (inclusive).
public static Random ( double min, double max ) : double
min double First value.
max double Second value.
Résultat double

RoundToNextInt() public static méthode

Rounds given value to a nearest integer. For example: RoundToNextInt(0.2) is 1 RoundToNextInt(-0.9) is -1 RoundToNextInt(-9) is -9
public static RoundToNextInt ( double value ) : int
value double is a value to be rounded.
Résultat int

Save() public méthode

Stores the object in a binary stream.
public Save ( BinaryWriter binaryWriter ) : void
binaryWriter System.IO.BinaryWriter Binary stream writer.
Résultat void

SaveToFile() public méthode

Saves object to a file in a binary format.
public SaveToFile ( string fileName ) : void
fileName string File name.
Résultat void