IGLib
1.5
The IGLib base library for development of numerical, technical and business applications.
|
Interface for vector function approximators. More...
Public Member Functions | |
void | CalculateOutput (IVector input, ref IVector output) |
Calculates and returns the approximated outputs corresponding to the specified inputs, by using the current vector function approximator. More... | |
double | CalculateOutput (IVector input, int whichElement) |
Calculates and returns the specified output by using the current vector function approximator. More... | |
void | CalculateOutput (IVector input, int[] indices, ref IVector filteredOutput) |
Calculates and returns the required output values corresponding to the specified inputs, by using the current vector function approximator. More... | |
Properties | |
int | InputLength [get, set] |
Gets or sets the number of input parameters. More... | |
int | OutputLength [get, set] |
Gets or sets the number of output values. More... | |
Interface for vector function approximators.
Calculates and returns the approximated outputs corresponding to the specified inputs, by using the current vector function approximator.
input | Input parameters. |
Currently, only all outputs at once can be calculated. This makes no difference in the arrangement with a single network with multiple outputs, but does when several networks with single output each are used. If the implementation changes in the future then performance configuratins should be taken into account carefully, and tracking input for which input parameters the outputs have been calculated might be necessary.
Implemented in IG.Num.INeuralApproximator, IG.Neural.NeuralApproximatorAforge, and IG.Num.NeuralApproximatorAforgeFake.
double IG.Num.IVectorApproximator.CalculateOutput | ( | IVector | input, |
int | whichElement | ||
) |
Calculates and returns the specified output by using the current vector function approximator.
Implemented in IG.Num.NeuralApproximatorBase, IG.Num.INeuralApproximator, and IG.Num.NeuralApproximatorAforgeFake.
void IG.Num.IVectorApproximator.CalculateOutput | ( | IVector | input, |
int[] | indices, | ||
ref IVector | filteredOutput | ||
) |
Calculates and returns the required output values corresponding to the specified inputs, by using the current vector function approximator.
input | Input parameters for which output values are calculated. |
indices | Array of indices of the output values to be returned. |
filteredOutput | Vector where filtered output values are stored. |
Implemented in IG.Num.NeuralApproximatorBase, IG.Num.INeuralApproximator, and IG.Num.NeuralApproximatorAforgeFake.
|
getset |
Gets or sets the number of input parameters.
|
getset |
Gets or sets the number of output values.