C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 3

kernel_function_types_linear.h
1 /* file: kernel_function_types_linear.h */
2 /*******************************************************************************
3 * Copyright 2014-2018 Intel Corporation.
4 *
5 * This software and the related documents are Intel copyrighted materials, and
6 * your use of them is governed by the express license under which they were
7 * provided to you (License). Unless the License provides otherwise, you may not
8 * use, modify, copy, publish, distribute, disclose or transmit this software or
9 * the related documents without Intel's prior written permission.
10 *
11 * This software and the related documents are provided as is, with no express
12 * or implied warranties, other than those that are expressly stated in the
13 * License.
14 *******************************************************************************/
15 
16 /*
17 //++
18 // Kernel function parameter structure
19 //--
20 */
21 
22 #ifndef __KERNEL_FUNCTION_TYPES_LINEAR_H__
23 #define __KERNEL_FUNCTION_TYPES_LINEAR_H__
24 
25 #include "algorithms/kernel_function/kernel_function_types.h"
26 
27 namespace daal
28 {
29 namespace algorithms
30 {
40 namespace kernel_function
41 {
45 namespace linear
46 {
47 
52 enum Method
53 {
54  defaultDense = 0,
55  fastCSR = 1
56 };
57 
61 namespace interface1
62 {
69 /* [Linear input object source code] */
70 struct DAAL_EXPORT Parameter: public ParameterBase
71 {
72  Parameter(double k = 1.0, double b = 0.0);
73  double k;
74  double b;
75 };
76 /* [Linear input object source code] */
77 
82 class DAAL_EXPORT Input : public kernel_function::Input
83 {
84 public:
85  Input();
86  Input(const Input& other);
87 
88  virtual ~Input() {}
89 
95  services::Status check(const daal::algorithms::Parameter *par, int method) const DAAL_C11_OVERRIDE;
96 };
98 } // namespace interface1
99 using interface1::Input;
100 using interface1::Parameter;
101 
102 } // linear
103 } // namespace kernel_function
104 } // namespace algorithms
105 } // namespace daal
106 #endif
daal::algorithms::kernel_function::linear::interface1::Parameter
Parameters for the linear kernel function k(X,Y) + b.
Definition: kernel_function_types_linear.h:70
daal
Definition: algorithm_base_common.h:31
daal::algorithms::kernel_function::linear::interface1::Input
Input objects for the kernel function linear algorithm
Definition: kernel_function_types_linear.h:82
daal::algorithms::kernel_function::linear::interface1::Parameter::b
double b
Definition: kernel_function_types_linear.h:74
daal::algorithms::kernel_function::linear::defaultDense
Definition: kernel_function_types_linear.h:54
daal::algorithms::kernel_function::linear::Method
Method
Definition: kernel_function_types_linear.h:52
daal::algorithms::kernel_function::linear::interface1::Parameter::k
double k
Definition: kernel_function_types_linear.h:73
daal::algorithms::kernel_function::linear::fastCSR
Definition: kernel_function_types_linear.h:55

For more complete information about compiler optimizations, see our Optimization Notice.