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

IG::Neural::NeuralTrainingTable Class Reference

Contains Parameters that define neural network architecture and trainig limits, together with achieved results after training such as various error norms. Not thread safe! More...

Collaboration diagram for IG::Neural::NeuralTrainingTable:

List of all members.

Public Member Functions

void UpdateTrainingTableDimensionns ()
 Updates the list of dimensions of the table of training results (contained in the list TrainingParameters).
int GetIndex (int[] indices)
 Returns the index of the element in the onedimensional list that corresponds to the specified indices of the multidimensional table of elements.
void GetIndices (int oneDimensionalIndex, ref int[] tableIndices)
 Calculates and stores the multidimensional indices of an element of the multidimensional table of training parameters & results.

Static Public Member Functions

static void SaveJson (NeuralTrainingTable trainingResults, string filePath)
 Saves (serializes) the specified training parameters object to the specified JSON file. File is owerwritten if it exists.
static void SaveJson (NeuralTrainingTable trainingResults, string filePath, bool append)
 Saves (serializes) the specified training parameters object to the specified JSON file.
static void LoadJson (string filePath, ref NeuralTrainingTable trainingResultsRestored)
 Restores (deserializes) a training parameters object from the specified file in JSON format.

Public Attributes

NeuralTrainingLimits _trainingLimits = null
List< NeuralTrainingParameters_trainingParameters = null

Properties

object Lock [get]
 This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock.
NeuralTrainingLimits TrainingLimits [get, set]
 Contains Parameters that define neural network architecture limits and trainig parameter limits.
List< NeuralTrainingParametersTrainingParameters [get, set]
 Contains Parameters that define neural network architecture and trainig procedure, together with achieved results after training such as various error norms.
List< int > TrainingTableDimensions [get, set]
 List of dimensions of the table of training results.
NeuralTrainingParameters this [params int[] indices] [get]
 Gets the element of the training table specified by the indices.

Private Attributes

object _mainLock = new object()
List< int > _trainingTableDimensions

Detailed Description

Contains Parameters that define neural network architecture and trainig limits, together with achieved results after training such as various error norms.

Not thread safe!

This class is used for storing parameters and limits of neural networks and restoring them at a later time, in order to repeat training under similar condition or simply to analyse performance of neural networks. $A Tako78 Aug12; Igor Aug12;


Member Function Documentation

void IG::Neural::NeuralTrainingTable::UpdateTrainingTableDimensionns ( ) [inline]

Updates the list of dimensions of the table of training results (contained in the list TrainingParameters).

int IG::Neural::NeuralTrainingTable::GetIndex ( int[]  indices) [inline]

Returns the index of the element in the onedimensional list that corresponds to the specified indices of the multidimensional table of elements.

Parameters:
indicesIndices of the element in the multidimensional table of training results.
Returns:
One dimensional index that corresponds to the specified multidimensional indices of the element of the multidimensional table of training results.
void IG::Neural::NeuralTrainingTable::GetIndices ( int  oneDimensionalIndex,
ref int[]  tableIndices 
) [inline]

Calculates and stores the multidimensional indices of an element of the multidimensional table of training parameters & results.

Parameters:
oneDimensionalIndexOne dimensional index that defines the position of the element in the list of elements.
tableIndicesVariable where multidimensional indices of the element are stored.
static void IG::Neural::NeuralTrainingTable::SaveJson ( NeuralTrainingTable  trainingResults,
string  filePath 
) [inline, static]

Saves (serializes) the specified training parameters object to the specified JSON file. File is owerwritten if it exists.

Parameters:
trainingParametersObject that is saved to a file.
filePathPath to the file into which object is is saved.
static void IG::Neural::NeuralTrainingTable::SaveJson ( NeuralTrainingTable  trainingResults,
string  filePath,
bool  append 
) [inline, static]

Saves (serializes) the specified training parameters object to the specified JSON file.

Parameters:
trainingParametersObject that is saved to a file.
filePathPath to the file into which object is is saved.
appendSpecifies whether serialized data is appended at the end of the file in the case that the file already exists.
static void IG::Neural::NeuralTrainingTable::LoadJson ( string  filePath,
ref NeuralTrainingTable  trainingResultsRestored 
) [inline, static]

Restores (deserializes) a training parameters object from the specified file in JSON format.

Parameters:
filePathFile from which object data is restored.
trainingParametersRestoredObject that is restored by deserialization.

Member Data Documentation

object IG::Neural::NeuralTrainingTable::_mainLock = new object() [private]

Property Documentation

object IG::Neural::NeuralTrainingTable::Lock [get]

This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock.

NeuralTrainingLimits IG::Neural::NeuralTrainingTable::TrainingLimits [get, set]

Contains Parameters that define neural network architecture limits and trainig parameter limits.

List<NeuralTrainingParameters> IG::Neural::NeuralTrainingTable::TrainingParameters [get, set]

Contains Parameters that define neural network architecture and trainig procedure, together with achieved results after training such as various error norms.

List<int> IG::Neural::NeuralTrainingTable::TrainingTableDimensions [get, set]

List of dimensions of the table of training results.

NeuralTrainingParameters IG::Neural::NeuralTrainingTable::this[params int[] indices] [get]

Gets the element of the training table specified by the indices.

Parameters:
indicesIndices of the element in the table of training parameters.

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