12 #ifndef PLSSVM_DETAIL_CMD_PARSER_SCALE_HPP_
13 #define PLSSVM_DETAIL_CMD_PARSER_SCALE_HPP_
Class for encapsulating all necessary parameters for scaling a data set; normally provided through co...
Definition: parser_scale.hpp:26
double lower
The lower bound of the scaled data values.
Definition: parser_scale.hpp:37
std::string input_filename
The name of the data file to scale.
Definition: parser_scale.hpp:49
std::string save_filename
The name of the file where the scaling factors are saved.
Definition: parser_scale.hpp:53
std::string restore_filename
The name of the file from which the scaling factors should be restored.
Definition: parser_scale.hpp:55
parser_scale(int argc, char **argv)
Parse the command line arguments argv using cxxopts and set the scale parameters accordingly.
std::string performance_tracking_filename
If performance tracking has been enabled, provides the name of the file where the performance trackin...
Definition: parser_scale.hpp:58
double upper
The upper bound of the scaled data values.
Definition: parser_scale.hpp:39
bool float_as_real_type
true if float should be used as real type instead of the default type double.
Definition: parser_scale.hpp:46
std::string scaled_filename
The name of the scaled data file to save.
Definition: parser_scale.hpp:51
file_format_type format
The file type (currently either LIBSVM or ARFF) to which the scaled data should be written to.
Definition: parser_scale.hpp:41
bool strings_as_labels
true if std::string should be used as label type instead of the default type ìnt.
Definition: parser_scale.hpp:44
Namespace containing implementation details for the command line interface functionality....
Definition: core.hpp:46
std::ostream & operator<<(std::ostream &out, const parser_predict ¶ms)
Output all predict parameters encapsulated by params to the given output-stream out.
file_format_type
Enum class for all supported file types.
Definition: file_format_types.hpp:23