![]() |
SG++-Doxygen-Documentation
|
The class provides the functionality for launching of learning jobs from terminal using console parameters or a configuration file. More...
Public Member Functions | |
| def | constructObjectsFromFile (cls, filename) |
| Construct all objects from the information, defined in the job file. More... | |
| def | constructObjectsFromOptions (cls, options) |
| Construct all objects form the information, defined with arguments. More... | |
| def | generateBuilderCodeFromOptions (cls, options) |
| Generate LearnerBuilder code according to parameters You can execute the code with exec command and use builder object in your python code. More... | |
| def | itemsToDict (cls, items) |
| Convert list of items [(key1,value1), ...] to dictionary. More... | |
| def | run (cls) |
| Initial processing of input parameters. More... | |
The class provides the functionality for launching of learning jobs from terminal using console parameters or a configuration file.
See file tests/tbin/tcontroller/testsettings.job for an example of configuration file. The command is then looks like:
In the same time there is an option to use command line for definition of all parameters of the job. Execute
for help to the console parameters.
| def python.controller.TerminalController.TerminalController.constructObjectsFromFile | ( | cls, | |
| filename | |||
| ) |
Construct all objects from the information, defined in the job file.
| cls | python keyword for class method (no specification needed) |
| filename | string path to the file with job settings |
References sgpp::combigrid.split(), and create_dataset.type.
| def python.controller.TerminalController.TerminalController.constructObjectsFromOptions | ( | cls, | |
| options | |||
| ) |
Construct all objects form the information, defined with arguments.
| cls | python keyword for class method (no specification needed) |
| options | OptionParser result object with options |
| def python.controller.TerminalController.TerminalController.generateBuilderCodeFromOptions | ( | cls, | |
| options | |||
| ) |
Generate LearnerBuilder code according to parameters You can execute the code with exec command and use builder object in your python code.
| cls | python keyword for class method (no specification needed) |
| options | OptionParser result object with options |
| def python.controller.TerminalController.TerminalController.itemsToDict | ( | cls, | |
| items | |||
| ) |
Convert list of items [(key1,value1), ...] to dictionary.
| cls | python keyword for class method (no specification needed) |
| items | list of items |
References create_dataset.type.
| def python.controller.TerminalController.TerminalController.run | ( | cls | ) |
Initial processing of input parameters.
Referenced by python.uq.uq_setting.UQSetting.UQSetting.runSamples_withoutDistribution().