IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Definition of input and output data mapping. Contains Mapped and Original Index, descriptiove information about individual eleemnts of input and output and default valuess. More...
Public Member Functions | |
virtual InputMappingDefinitionElement | GetMapInputElement (int which) |
virtual OutputMappingDefinitionElement | GetMapOutputElement (int which) |
virtual void | SetMapInputElement (int which, InputMappingDefinitionElement element) |
virtual void | SetMapOutputElement (int which, OutputMappingDefinitionElement element) |
virtual void | AddInputElement (InputMappingDefinitionElement element) |
virtual void | AddOutputElement (OutputMappingDefinitionElement element) |
bool | IsInputDataConsistent () |
bool | IsOutputDataConsistent () |
bool | IsInputDataConsistent (InputOutputDataDefiniton dataDefinition) |
bool | IsOutputDataConsistent (InputOutputDataDefiniton dataDefinition) |
Static Public Member Functions | |
static void | SaveJson (MappingDefinition mapDataDef, string filePath) |
Saves mapping data definition to the specified JSON file. File is owerwritten if it exists. More... | |
static void | LoadJson (string filePath, ref MappingDefinition mapDataDefRestored) |
Restores mapping data definition from the specified file in JSON format. More... | |
static MappingDefinition | CreateExample (int inputLength, int outputLenght) |
Creates and returns an example mapping data definition. More... | |
Protected Attributes | |
bool | _checkInputUniqueness |
bool | _checkOutputUniqueness |
bool | _checkInputNameConsistency |
bool | _checkOutputNameConsistency |
List < InputMappingDefinitionElement > | _input = new List<InputMappingDefinitionElement>() |
List < OutputMappingDefinitionElement > | _output = new List<OutputMappingDefinitionElement>() |
Properties | |
int | MappedInputLength [get] |
Gets number of input parameters. More... | |
int | MappedOutputLength [get] |
Gets number of output values. More... | |
bool | CheckInputUniqueness [get, set] |
Gets true if original and mapped input element indexes are unique. More... | |
bool | CheckOutputUniqueness [get, set] |
Gets true if original and mapped output element indexes are unique. More... | |
bool | CheckInputNameConsistency [get, set] |
Gets true if names in mappingdata file and names in definitiondata file are consistent. More... | |
bool | CheckOutputNameConsistency [get, set] |
Gets true if names in mappingdata file and names in definitiondata file are consistent. More... | |
virtual List < InputMappingDefinitionElement > | MapInputElementList [get] |
virtual List < OutputMappingDefinitionElement > | MapOutputElementList [get] |
Definition of input and output data mapping. Contains Mapped and Original Index, descriptiove information about individual eleemnts of input and output and default valuess.
$A Igor Jul 19; tako78 Jul 19
|
inlinevirtual |
Referenced by IG.Neural.DataMapperSimple.MapInput().
|
inlinevirtual |
Referenced by IG.Neural.DataMapperSimple.MapOutput().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Referenced by IG.Neural.MappingDefinition.CreateExample().
|
inlinevirtual |
Referenced by IG.Neural.MappingDefinition.CreateExample().
|
inline |
$A Igor Jul 19; tako78 Jul 19
References IG.Neural.MappingDefinitionElement.MappedElementIndex, and IG.Neural.MappingDefinitionElement.OriginalElementIndex.
|
inline |
$A Igor Jul 19; tako78 Jul 19
References IG.Neural.MappingDefinitionElement.MappedElementIndex, and IG.Neural.MappingDefinitionElement.OriginalElementIndex.
|
inline |
dataDefinition | Definition data. |
$A Igor Jul 19; tako78 Jul 19
References IG.Num.InputOutputDataDefiniton.GetInputElement(), IG.Num.InputOutputElementDefinition.Name, IG.Neural.MappingDefinitionElement.OriginalElementIndex, and IG.Neural.MappingDefinitionElement.OriginalName.
|
inline |
dataDefinition | Definition data. |
$A Igor Jul 19; tako78 Jul 19
References IG.Num.InputOutputDataDefiniton.GetOutputElement(), IG.Num.InputOutputElementDefinition.Name, IG.Neural.MappingDefinitionElement.OriginalElementIndex, and IG.Neural.MappingDefinitionElement.OriginalName.
|
inlinestatic |
Saves mapping data definition to the specified JSON file. File is owerwritten if it exists.
mapDataDef | Object that is saved to a file. |
filePath | Path to the file where data is saved. |
$A Igor Jul 19; tako78 Jul 19
|
inlinestatic |
Restores mapping data definition from the specified file in JSON format.
filePath | File from which training data is restored. |
mapDataDefRestored | Mapping definition data that is restored by deserialization. |
$A Igor Jul 19; tako78 Jul 19
Referenced by IG.Neural.DataMapperSimple.DataMapperSimple(), and IG.Neural.MappingApproximationFileManager.LoadMappingDefinition().
|
inlinestatic |
Creates and returns an example mapping data definition.
inputLength | Number of input elements. |
outputLenght | Number of output elements. |
$A Igor Jul 19; tako78 Jul 19
References IG.Neural.MappingDefinition.AddInputElement(), and IG.Neural.MappingDefinition.AddOutputElement().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
get |
Gets number of input parameters.
$A Igor Jul 19; tako78 Jul 19
Referenced by IG.Neural.MapDataDefinitionDto.CopyFromPlain(), and IG.Neural.DataMapperSimple.MapInput().
|
get |
Gets number of output values.
$A Igor Jul 19; tako78 Jul 19
Referenced by IG.Neural.MapDataDefinitionDto.CopyFromPlain(), and IG.Neural.DataMapperSimple.MapOutput().
|
getset |
Gets true if original and mapped input element indexes are unique.
$A Igor Jul 19; tako78 Jul 19
Referenced by IG.Neural.MapDataDefinitionDto.CopyFromPlain(), and IG.Neural.DataMapperSimple.MapInput().
|
getset |
Gets true if original and mapped output element indexes are unique.
$A Igor Jul 19; tako78 Jul 19
Referenced by IG.Neural.MapDataDefinitionDto.CopyFromPlain(), and IG.Neural.DataMapperSimple.MapOutput().
|
getset |
Gets true if names in mappingdata file and names in definitiondata file are consistent.
$A Igor Jul 19; tako78 Jul 19
Referenced by IG.Neural.MapDataDefinitionDto.CopyFromPlain(), and IG.Neural.DataMapperSimple.MapInput().
|
getset |
Gets true if names in mappingdata file and names in definitiondata file are consistent.
$A Igor Jul 19; tako78 Jul 19
Referenced by IG.Neural.MapDataDefinitionDto.CopyFromPlain(), and IG.Neural.DataMapperSimple.MapOutput().
|
get |
Referenced by IG.Neural.MapDataDefinitionDto.CopyFromPlain().
|
get |
Referenced by IG.Neural.MapDataDefinitionDto.CopyFromPlain().