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

Defines the kernel functions for the C-SVM using the OpenMP backend. More...

#include <vector>

Go to the source code of this file.

Namespaces

 plssvm
 The main namespace containing all public API functions.
 
 plssvm::openmp
 Namespace containing the C-SVM using the OpenMP backend.
 

Functions

template<typename real_type >
void plssvm::openmp::device_kernel_linear (const std::vector< real_type > &q, std::vector< real_type > &ret, const std::vector< real_type > &d, const std::vector< std::vector< real_type >> &data, real_type QA_cost, real_type cost, real_type add)
 Calculates the C-SVM kernel using the linear kernel function. More...
 
template<typename real_type >
void plssvm::openmp::device_kernel_polynomial (const std::vector< real_type > &q, std::vector< real_type > &ret, const std::vector< real_type > &d, const std::vector< std::vector< real_type >> &data, real_type QA_cost, real_type cost, real_type add, int degree, real_type gamma, real_type coef0)
 Calculates the C-SVM kernel using the polynomial kernel function. More...
 
template<typename real_type >
void plssvm::openmp::device_kernel_rbf (const std::vector< real_type > &q, std::vector< real_type > &ret, const std::vector< real_type > &d, const std::vector< std::vector< real_type >> &data, real_type QA_cost, real_type cost, real_type add, real_type gamma)
 Calculates the C-SVM kernel using the radial basis function kernel function. More...
 

Detailed Description

Defines the kernel functions for the C-SVM using the OpenMP backend.

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.