MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / CMDParser

Class CMDParser

include/thundersvm/cmdparser.h:17–38  ·  view source on GitHub ↗

* @brief Command-line parser */

Source from the content-addressed store, hash-verified

15 * @brief Command-line parser
16 */
17class CMDParser{
18public:
19 CMDParser() : do_cross_validation(false), gamma_set(false), nr_fold(0), gpu_id(0), n_cores(-1) {};
20
21 void parse_command_line(int argc, char **argv);
22
23 void parse_python(int argc, char **argv);
24
25 bool check_parameter();
26
27 SvmParam param_cmd;
28 bool do_cross_validation;
29 bool gamma_set;
30 int nr_fold;
31 int gpu_id;
32 int n_cores;
33 string svmtrain_input_file_name;
34 string svmpredict_input_file;
35 string svmpredict_output_file;
36 string svmpredict_model_file_name;
37 string model_file_name;
38};
39
40
41

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected