NeurApp 1.1
NeurApp - software for exploring approximation by artificial neural networks on functions of one or two variables.

IG::Neural::NeuralApproximatorBaseExt Class Reference

Base class for neural network approximators. More...

Inheritance diagram for IG::Neural::NeuralApproximatorBaseExt:
Collaboration diagram for IG::Neural::NeuralApproximatorBaseExt:

List of all members.

Public Member Functions

 NeuralApproximatorBaseExt ()
new void SaveTrainingDataJson_To_delete (string filePath)
 Saves network's training data to the specified JSON file. File is owerwritten if it exists.
new void LoadTrainingDataJson_To_Delete (string filePath)
 Restores training data from the specified file in JSON format.

Static Public Member Functions

static new void SaveJson (INeuralApproximator approximator, string filePath)
 Saves a neural network approximator to a file. If the neural netwoek is trained then internal state is also saved to a file.
static new void SaveJson (INeuralApproximator approximator, string filePath, bool saveInternalState)
 Saves a neural network approximator to a file.
static new void LoadJson (string filePath, ref INeuralApproximator approximatorRestored)
 Loads network from a file.

Detailed Description

Base class for neural network approximators.

IMPORTANT:

This type is defined because of the SaveJson and LoadJson methods, because the basic type NeuralApproximatorBase does not see the NeuralApproximatorNeuron type. With this extended class, saving and loading JSON files also works with this class.

$A Igor Mar11 Jan12;


Constructor & Destructor Documentation

IG::Neural::NeuralApproximatorBaseExt::NeuralApproximatorBaseExt ( ) [inline]

Member Function Documentation

static new void IG::Neural::NeuralApproximatorBaseExt::SaveJson ( INeuralApproximator  approximator,
string  filePath 
) [inline, static]

Saves a neural network approximator to a file. If the neural netwoek is trained then internal state is also saved to a file.

Parameters:
approximatorNeural network approximator to be saved.
filePathPath to the file where approximator is saved.

Reimplemented from IG::Neural::NeuralApproximatorBase.

static new void IG::Neural::NeuralApproximatorBaseExt::SaveJson ( INeuralApproximator  approximator,
string  filePath,
bool  saveInternalState 
) [inline, static]

Saves a neural network approximator to a file.

Parameters:
approximatorNeural network approximator to be saved.
filePathPath to the file where approximator is saved.
saveInternalStateSpecifies whether internal state should be saved, too (only in the case that network is trained).

Reimplemented from IG::Neural::NeuralApproximatorBase.

static new void IG::Neural::NeuralApproximatorBaseExt::LoadJson ( string  filePath,
ref INeuralApproximator  approximatorRestored 
) [inline, static]

Loads network from a file.

Parameters:
filePathPath to the file.
approximatorRestoredNeural approximator that is produced by deserialization.

Reimplemented from IG::Neural::NeuralApproximatorBase.

new void IG::Neural::NeuralApproximatorBaseExt::SaveTrainingDataJson_To_delete ( string  filePath) [inline]

Saves network's training data to the specified JSON file. File is owerwritten if it exists.

Parameters:
filePathPath to the file where training data is saved.

Reimplemented from IG::Neural::NeuralApproximatorBase.

new void IG::Neural::NeuralApproximatorBaseExt::LoadTrainingDataJson_To_Delete ( string  filePath) [inline]

Restores training data from the specified file in JSON format.

Parameters:
filePathFile from which training data is restored.

Reimplemented from IG::Neural::NeuralApproximatorBase.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties