PLSSVM - Parallel Least Squares Support Vector Machine
2.0.0
A Least Squares Support Vector Machine implementation using different backends.
|
Implements parsing functions for the scaling factor file parsing. More...
#include "plssvm/detail/assert.hpp"
#include "plssvm/detail/utility.hpp"
#include "plssvm/detail/io/file_reader.hpp"
#include "plssvm/detail/string_conversion.hpp"
#include "plssvm/detail/string_utility.hpp"
#include "plssvm/exceptions/exceptions.hpp"
#include "fmt/core.h"
#include "fmt/os.h"
#include <exception>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
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::io | |
Namespace containing implementation details for the IO related functions. Should not directly be used by users. | |
Functions | |
template<typename real_type , typename factors_type > | |
std::tuple< std::pair< real_type, real_type >, std::vector< factors_type > > | plssvm::detail::io::parse_scaling_factors (const file_reader &reader) |
Read the scaling interval and factors stored using LIBSVM's file format from the file filename . More... | |
template<typename real_type , typename factors_type > | |
void | plssvm::detail::io::write_scaling_factors (const std::string &filename, const std::pair< real_type, real_type > &scaling_interval, const std::vector< factors_type > &scaling_factors) |
Write the scaling_interval and scaling_factors to a file for later usage in scaling another data set using LIBSVM's file format. More... | |
Implements parsing functions for the scaling factor file parsing.