PLSSVM - Parallel Least Squares Support Vector Machine
2.0.0
A Least Squares Support Vector Machine implementation using different backends.
|
Implements utility functions to create a data set based on runtime parameters. More...
#include "plssvm/data_set.hpp"
#include "plssvm/detail/cmd/parser_predict.hpp"
#include "plssvm/detail/cmd/parser_scale.hpp"
#include "plssvm/detail/cmd/parser_train.hpp"
#include <string>
#include <variant>
Go to the source code of this file.
Namespaces | |
plssvm | |
The main namespace containing all public API functions. | |
plssvm::detail | |
Namespace containing implementation details. Should not directly be used by users. | |
plssvm::detail::cmd | |
Namespace containing implementation details for the command line interface functionality. Should not directly be used by users. | |
Typedefs | |
using | plssvm::detail::cmd::data_set_variants = std::variant< plssvm::data_set< float, int >, plssvm::data_set< float, std::string >, plssvm::data_set< double, int >, plssvm::data_set< double, std::string > > |
Four different type combinations are allowed in the command line invocation: float + int , float + std::string , double + int , and double + std::string . | |
Functions | |
template<typename real_type , typename label_type = typename data_set<real_type>::label_type> | |
data_set_variants | plssvm::detail::cmd::data_set_factory_impl (const cmd::parser_train &cmd_parser) |
Return the correct data set type based on the plssvm::detail::cmd::parser_train command line options. More... | |
template<typename real_type , typename label_type = typename data_set<real_type>::label_type> | |
data_set_variants | plssvm::detail::cmd::data_set_factory_impl (const cmd::parser_predict &cmd_parser) |
Return the correct data set type based on the plssvm::detail::cmd::parser_predict command line options. More... | |
template<typename real_type , typename label_type = typename data_set<real_type>::label_type> | |
data_set_variants | plssvm::detail::cmd::data_set_factory_impl (const cmd::parser_scale &cmd_parser) |
Return the correct data set type based on the plssvm::detail::cmd::parser_scale command line options. More... | |
template<typename cmd_parser_type > | |
data_set_variants | plssvm::detail::cmd::data_set_factory (const cmd_parser_type &cmd_parser) |
Based on the provided command line cmd_parser , return the correct plssvm::data_set type. More... | |
Implements utility functions to create a data set based on runtime parameters.