IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Commands for application's interpreter for neural networks. More...
Static Public Member Functions | |
static void | InstallCommands (ICommandLineApplicationInterpreter app) |
Installs Tadejcommands for neural networks on the applications's command interpreter. More... | |
static string | cmdTestSerializationNeuralCSV (CommandThread interpreter, string cmdName, string[] args) |
Tests serialization and deserialization of various data used in approximation by neural networks. More... | |
static string | cmdTestSerializationNeural (CommandThread interpreter, string cmdName, string[] args) |
Tests serialization and deserialization of various data used in approximation by neural networks. More... | |
static string | CmdTestJson (CommandThread interpreter, string cmdName, string[] args) |
Command. Tests speed of I/O in JSON format. A random matrix of specific size is randomly generated, read and written. Argumnets: inputFilePath: file path numRows: number of rows of the matrix numColumnt: number of columns of the matrix More... | |
static string | CmdTestFormat (CommandThread interpreter, string cmdName, string[] args) |
Command. Tests file formats. Attempsts to import the specified file in the specified format, then to export it under new name. Argumnets: format: file format specification. Not case sensitive. NeuralDataDefinition inputFilePath: file path More... | |
static string | CmdSupplementNeuralDataDefinition (CommandThread interpreter, string cmdName, string[] args) |
Command method that supplements neural input/output data definitions from training data (some values are inferred from data ranges in training data). More... | |
static string | CmdNeuralClearMessages (CommandThread interpreter, string cmdName, string[] args) |
Command. Clears all messages for neural network approximation file client/server. More... | |
static string | CmdNeuralCalculateApproximationPlain (CommandThread interpreter, string cmdName, string[] args) |
Command. Calculates approximation according to input parameters written in a file, and outputs resulting approximated values to a file. This command loads a neural network from the specified file, reads input parameters from another file, and writes output parameters to the third file. The first argument is the neural network file, the second is file with input parameters, and the third is file where approximated output values willl be written. More... | |
static string | CmdNeuralCalculateApproximationServer (CommandThread interpreter, string cmdName, string[] args) |
Command. Calculates approximation according to input parameters written in a file, and outputs resulting approximated values to a file. The only argument is the client/server working directory. More... | |
static string | CmdNeuralCalculateApproximationClient (CommandThread interpreter, string cmdName, string[] args) |
Command. Sends request to a server to calculate an approximation. The first argument is the client/server working directory, the second is file with input parameters, and the third is file where approximated output values willl be written More... | |
static string | CmdNeuralCalculateMappingApproximationServer (CommandThread interpreter, string cmdName, string[] args) |
Command. Calculates mapping + approximation according to reduced input parameters written in a file, and outputs resulting approximated values to a file. The only argument is the client/server working directory. More... | |
static string | CmdNeuralCalculateMappingApproximationClient (CommandThread interpreter, string cmdName, string[] args) |
Command. Sends request to a server to calculate mapping + approximation. The first argument is the client/server working directory, the second is file with reduced input parameters, and the third is file where approximated reduced output values willl be written More... | |
static string | CmdExampleNeural (CommandThread interpreter, string cmdName, string[] args) |
Command. Example command for Tadej. More... | |
Commands for application's interpreter for neural networks.
$A Igor Apr11;
|
inlinestatic |
Installs Tadejcommands for neural networks on the applications's command interpreter.
References IG.Lib.ICommandLineApplicationInterpreter.AddCommand().
Referenced by IG.Neural.NeuralApplicationCommandsTadej.InstallCommands().
|
inlinestatic |
Tests serialization and deserialization of various data used in approximation by neural networks.
interpreter | Interpreter thread on which commad is run. |
cmdName | Command name. |
args | Command arguments. |
Tako78 7.Jul
References IG.Num.SampledDataSet.CreateExampleSimple(), IG.Num.SampledDataSet.LoadSampledDataCSV(), and IG.Num.SampledDataSet.SaveSampledDataCSV().
|
inlinestatic |
Tests serialization and deserialization of various data used in approximation by neural networks.
interpreter | Interpreter thread on which commad is run. |
cmdName | Command name. |
args | Command arguments. |
Tako78 7.Jul
References IG.Num.SampledDataSet.CreateExampleSimple(), IG.Lib.StopWatch1.Start(), IG.Lib.StopWatch1.Stop(), IG.Lib.StopWatch1.Time, and IG.Lib.StopWatch1.TotalTime.
|
inlinestatic |
Command. Tests speed of I/O in JSON format. A random matrix of specific size is randomly generated, read and written. Argumnets: inputFilePath: file path numRows: number of rows of the matrix numColumnt: number of columns of the matrix
interpreter | Interpreter thread on which commad is run. |
cmdName | Command name. |
args | Command arguments. |
References IG.Num.MatrixBase.LoadJson(), IG.Num.MatrixBase.SaveJson(), IG.Num.MatrixBase.SetRandom(), IG.Lib.StopWatch1.Start(), IG.Lib.StopWatch1.Stop(), IG.Lib.StopWatch1.Time, and IG.Lib.StopWatch1.TotalTime.
|
inlinestatic |
Command. Tests file formats. Attempsts to import the specified file in the specified format, then to export it under new name. Argumnets: format: file format specification. Not case sensitive. NeuralDataDefinition inputFilePath: file path
interpreter | Interpreter thread on which commad is run. |
cmdName | Command name. |
args | Command arguments. |
|
inlinestatic |
Command method that supplements neural input/output data definitions from training data (some values are inferred from data ranges in training data).
interpreter | Interpreter on which commad is run. |
cmdName | Command name. |
args | Command arguments. |
References IG.Num.InputOutputDataDefiniton.SupplementDataDefinition().
|
inlinestatic |
Command. Clears all messages for neural network approximation file client/server.
interpreter | Interpreter thread on which commad is run. |
cmdName | Command name. |
args | Command arguments. |
References IG.Neural.ApproximationFileServerNeural.ClearMessages().
|
inlinestatic |
Command. Calculates approximation according to input parameters written in a file, and outputs resulting approximated values to a file. This command loads a neural network from the specified file, reads input parameters from another file, and writes output parameters to the third file. The first argument is the neural network file, the second is file with input parameters, and the third is file where approximated output values willl be written.
cmdName | Command name. |
args | Command arguments. |
Interpreter command. Calculates approximation according to input parameters written in a file, and outputs resulting approximated values to a file. This command loads a neural network from the specified file, reads input parameters from another file, and writes the calculated output values to the third file. The first argument is the neural network file, the second is file with input parameters, and the third is file where approximated output values willl be written.
interpreter | Interpreter on which commad is run. |
cmdName | Command name. |
args | Command arguments. |
References IG.Num.NeuralApproximatorBase.LoadJson(), IG.Num.VectorBase.LoadJson(), and IG.Num.VectorBase.SaveJson().
|
inlinestatic |
Command. Calculates approximation according to input parameters written in a file, and outputs resulting approximated values to a file. The only argument is the client/server working directory.
interpreter | Interpreter thread on which commad is run. |
cmdName | Command name. |
args | Command arguments. |
References IG.Neural.NeuraApproximationFileManager.ClearNeuralBusy(), IG.Neural.NeuraApproximationFileManager.ClearNeuralOutputReady(), IG.Neural.ApproximationFileServerNeural.NeuralFileManager, IG.Neural.ApproximationFileServerNeural.ServerCalculateApproximation(), IG.Neural.NeuraApproximationFileManager.SetNeuralBusy(), and IG.Neural.NeuraApproximationFileManager.SetNeuralInputReady().
|
inlinestatic |
Command. Sends request to a server to calculate an approximation. The first argument is the client/server working directory, the second is file with input parameters, and the third is file where approximated output values willl be written
interpreter | Interpreter thread on which commad is run. |
cmdName | Command name. |
args | Command arguments. |
References IG.Neural.ApproximationFileServerNeural.ClientTestCalculateApproximation().
|
inlinestatic |
Command. Calculates mapping + approximation according to reduced input parameters written in a file, and outputs resulting approximated values to a file. The only argument is the client/server working directory.
interpreter | Interpreter thread on which commad is run. |
cmdName | Command name. |
args | Command arguments. |
$A tako78 Jul.21
References IG.Neural.MappingApproximationFileManager.ClearFunctionOutputReady(), IG.Neural.NeuraApproximationFileManager.ClearNeuralBusy(), IG.Neural.NeuraApproximationFileManager.ClearNeuralOutputReady(), IG.Neural.MappingApproximationFileServerNeural.MappingFileManager, IG.Neural.ApproximationFileServerNeural.NeuralFileManager, IG.Neural.MappingApproximationFileServerNeural.ServerCalculateMappingApproximation(), IG.Neural.MappingApproximationFileManager.SetFunctionInputReady(), IG.Neural.NeuraApproximationFileManager.SetNeuralBusy(), and IG.Neural.NeuraApproximationFileManager.SetNeuralInputReady().
|
inlinestatic |
Command. Sends request to a server to calculate mapping + approximation. The first argument is the client/server working directory, the second is file with reduced input parameters, and the third is file where approximated reduced output values willl be written
interpreter | Interpreter thread on which commad is run. |
cmdName | Command name. |
args | Command arguments. |
$A tako78 Jul.21
References IG.Neural.MappingApproximationFileServerNeural.ClientTestCalculateMappingApproximation().
|
inlinestatic |
Command. Example command for Tadej.
interpreter | Interpreter thread on which commad is run. |
cmdName | Command name. |
args | Command arguments. |