IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Public Member Functions | |
DataMapperSimple (MappingDefinition definition, InputOutputDataDefiniton dataDefinition) | |
DataMapperSimple (string mappingDefinitionFilePath, string dataDefinitionPath) | |
override void | MapInput (IVector reducedInput, ref IVector originalInput) |
Transfer elements from reducedInput vector to original output vector using mapping data for reference. Elements that are not defined in reducedInput vector are copied from definitiondata. More... | |
override void | MapOutput (IVector originalOutput, ref IVector reducedOutput) |
Transfer elements from originalOutput vector to original output vector using mapping data for reference. Only defined elements are copied in reducedOutput vector. More... | |
Public Member Functions inherited from IG.Neural.DataMapperIdentity | |
DataMapperIdentity () | |
Protected Member Functions | |
DataMapperSimple () | |
Properties | |
MappingDefinition | MappingDefinition [get, protected set] |
InputOutputDataDefiniton | DataDefinition [get, protected set] |
Private Attributes | |
MappingDefinition | _mappingDefinition |
InputOutputDataDefiniton | _dataDefinition |
|
inlineprotected |
|
inline |
definition | Data that defines how input and output mappings are performed. If null then identity mapping is performed. |
dataDefinition | Definition data. |
$A Igor Jul 19; tako78 Jul 19
|
inline |
mappingDefinitionFilePath | JSON file containing data that defines how input and output mappings are performed. If null then identity mapping is performed. |
dataDefinitionPath | JSON file containing data definitions. |
NotImplementedException | When file path is not specified or file does not exist. |
$A Igor Jul 19; tako78 Jul 19
References IG.Neural.MappingDefinition.LoadJson(), and IG.Num.InputOutputDataDefiniton.LoadJson().
|
inline |
Transfer elements from reducedInput vector to original output vector using mapping data for reference. Elements that are not defined in reducedInput vector are copied from definitiondata.
reducedInput | Reduced elements. |
originalInput | Original elements for neural network testing. |
$A Igor Jul 19; tako78 Jul 19
Implements IG.Neural.IDataMapper.
References IG.Neural.MappingDefinition.CheckInputNameConsistency, IG.Neural.MappingDefinition.CheckInputUniqueness, IG.Num.InputElementDefinition.DefaultValue, IG.Neural.MappingDefinition.GetMapInputElement(), IG.Neural.MappingDefinition.MappedInputLength, and IG.Neural.MappingDefinitionElement.OriginalElementIndex.
|
inline |
Transfer elements from originalOutput vector to original output vector using mapping data for reference. Only defined elements are copied in reducedOutput vector.
originalOutput | Original elements from neural network. |
reducedOutput | Reduced elements. |
$A Igor Jul 19; tako78 Jul 19
Implements IG.Neural.IDataMapper.
References IG.Neural.MappingDefinition.CheckOutputNameConsistency, IG.Neural.MappingDefinition.CheckOutputUniqueness, IG.Neural.MappingDefinition.GetMapOutputElement(), IG.Neural.MappingDefinition.MappedOutputLength, and IG.Neural.MappingDefinitionElement.OriginalElementIndex.
|
private |
|
private |
|
getprotected set |
|
getprotected set |