IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Contains Parameters that define neural network architecture and trainig limits, together with achieved results after training such as various error norms. More...
Public Member Functions | |
void | UpdateTrainingTableDimensionns () |
Updates the list of dimensions of the table of training results (contained in the list TrainingParameters). More... | |
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. More... | |
void | GetIndices (int oneDimensionalIndex, ref int[] tableIndices) |
Calculates and stores the multidimensional indices of an element of the multidimensional table of training parameters amd results. More... | |
Static Public Member Functions | |
static void | SaveJson (NeuralTrainingTable trainingResults, string filePath) |
Saves (serializes) the specified training results object to the specified JSON file. File is owerwritten if it exists. More... | |
static void | SaveJson (NeuralTrainingTable trainingResults, string filePath, bool append) |
Saves (serializes) the specified training results object to the specified JSON file. More... | |
static void | LoadJson (string filePath, ref NeuralTrainingTable trainingResultsRestored) |
Restores (deserializes) a training results object from the specified file in JSON format. More... | |
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. More... | |
NeuralTrainingLimits | TrainingLimits [get, set] |
Contains Parameters that define neural network architecture limits and trainig parameter limits. More... | |
List< NeuralTrainingParameters > | TrainingParameters [get, set] |
Contains Parameters that define neural network architecture and trainig procedure, together with achieved results after training such as various error norms. More... | |
List< int > | TrainingTableDimensions [get, private set] |
List of dimensions of the table of training results. More... | |
NeuralTrainingParameters this[params int[] | indices [get] |
Gets the element of the training table specified by the indices. More... | |
Properties inherited from IG.Lib.ILockable | |
object | Lock [get] |
Private Attributes | |
object | _mainLock = new object() |
List< int > | _trainingTableDimensions |
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 Igor Jul10 Aug12; Tako78 Aug12;
|
inline |
Updates the list of dimensions of the table of training results (contained in the list TrainingParameters).
References IG.Num.NeuralTrainingLimits.IterateThroughMultidimensionalTable().
|
inline |
Returns the index of the element in the onedimensional list that corresponds to the specified indices of the multidimensional table of elements.
indices | Indices of the element in the multidimensional table of training results. |
References IG.Lib.Util.GetIndex().
|
inline |
Calculates and stores the multidimensional indices of an element of the multidimensional table of training parameters amd results.
oneDimensionalIndex | One dimensional index that defines the position of the element in the list of elements. |
tableIndices | Variable where multidimensional indices of the element are stored. |
References IG.Lib.Util.GetIndices().
|
inlinestatic |
Saves (serializes) the specified training results object to the specified JSON file. File is owerwritten if it exists.
trainingResults | Object that is saved to a file. |
filePath | Path to the file into which object is is saved. |
|
inlinestatic |
Saves (serializes) the specified training results object to the specified JSON file.
trainingResults | Object that is saved to a file. |
filePath | Path to the file into which object is is saved. |
append | Specifies whether serialized data is appended at the end of the file in the case that the file already exists. |
|
inlinestatic |
Restores (deserializes) a training results object from the specified file in JSON format.
filePath | File from which object data is restored. |
trainingResultsRestored | Object that is restored by deserialization. |
|
private |
NeuralTrainingLimits IG.Num.NeuralTrainingTable._trainingLimits = null |
List<NeuralTrainingParameters> IG.Num.NeuralTrainingTable._trainingParameters = null |
|
private |
|
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.
|
getset |
Contains Parameters that define neural network architecture limits and trainig parameter limits.
Referenced by IG.Num.NeuralTrainingTableDto.CopyFromPlain().
|
getset |
Contains Parameters that define neural network architecture and trainig procedure, together with achieved results after training such as various error norms.
Referenced by IG.Num.NeuralTrainingTableDto.CopyFromPlain(), and IG.Num.TestTrainingParametersComparers.Test().
|
getprivate set |
List of dimensions of the table of training results.
|
get |
Gets the element of the training table specified by the indices.
indices | Indices of the element in the table of training parameters. |