PLSSVM - Parallel Least Squares Support Vector Machine  2.0.0
A Least Squares Support Vector Machine implementation using different backends.
Public Member Functions | Public Attributes | List of all members
plssvm::data_set< T, U >::scaling::factors Struct Reference

The calculated or read feature-wise scaling factors. More...

#include <data_set.hpp>

Public Member Functions

 factors ()=default
 Default construct new scaling factors.
 
 factors (const size_type feature_index, const real_type lower_bound, const real_type upper_bound)
 Construct new scaling factors struct with the provided values. More...
 

Public Attributes

size_type feature {}
 The feature index for which the scaling factors are valid.
 
real_type lower {}
 The lowest value of the feature for all data points.
 
real_type upper {}
 The maximum value of the feature for all data points.
 

Detailed Description

template<typename T, typename U = int>
struct plssvm::data_set< T, U >::scaling::factors

The calculated or read feature-wise scaling factors.

Constructor & Destructor Documentation

◆ factors()

template<typename T , typename U = int>
plssvm::data_set< T, U >::scaling::factors::factors ( const size_type  feature_index,
const real_type  lower_bound,
const real_type  upper_bound 
)
inline

Construct new scaling factors struct with the provided values.

Parameters
[in]feature_indexthe feature index for which the bounds are valid
[in]lower_boundthe lowest value of the feature feature_index for all data points
[in]upper_boundthe maximum value of the feature feature_index for all data points

The documentation for this struct was generated from the following file: