PLSSVM - Parallel Least Squares Support Vector Machine  2.0.0
A Least Squares Support Vector Machine implementation using different backends.
Namespaces | Functions
scaling_factors_parsing.hpp File Reference

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>
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Implements parsing functions for the scaling factor file parsing.

Author
Alexander Van Craen
Marcel Breyer
License
This file is part of the PLSSVM project which is released under the MIT license. See the LICENSE.md file in the project root for full license information.