C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

svm_predict_types.h
1 /* file: svm_predict_types.h */
2 /*******************************************************************************
3 * Copyright 2014-2020 Intel Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *******************************************************************************/
17 
18 /*
19 //++
20 // SVM parameter structure
21 //--
22 */
23 
24 #ifndef __SVM_PREDICT_TYPES_H__
25 #define __SVM_PREDICT_TYPES_H__
26 
27 #include "algorithms/classifier/classifier_predict_types.h"
28 #include "algorithms/svm/svm_model.h"
29 
30 namespace daal
31 {
32 namespace algorithms
33 {
34 namespace svm
35 {
45 namespace prediction
46 {
51 enum Method
52 {
53  defaultDense = 0
54 };
55 
59 namespace interface1
60 {
61 
66 class DAAL_EXPORT Input : public classifier::prediction::Input
67 {
68  typedef classifier::prediction::Input super;
69 public:
70  Input();
71  Input(const Input& other);
72 
73  virtual ~Input() {}
74 
75  using super::get;
76  using super::set;
77 
83  data_management::NumericTablePtr get(classifier::prediction::NumericTableInputId id) const;
84 
90  svm::ModelPtr get(classifier::prediction::ModelInputId id) const;
91 
97  void set(classifier::prediction::NumericTableInputId id, const data_management::NumericTablePtr &ptr);
98 
104  void set(classifier::prediction::ModelInputId id, const svm::ModelPtr &ptr);
105 
113  services::Status check(const daal::algorithms::Parameter *parameter, int method) const DAAL_C11_OVERRIDE;
114 };
115 
116 }
117 
118 using interface1::Input;
119 
120 } // namespace prediction
122 } // namespace svm
123 } // namespace algorithms
124 } // namespace daal
125 #endif
daal::algorithms::svm::prediction::interface1::Input
Input objects in the prediction stage of the svm algorithm.
Definition: svm_predict_types.h:66
daal::algorithms::neural_networks::prediction::prediction
Definition: neural_networks_prediction_result.h:55
daal::algorithms::svm::prediction::Method
Method
Definition: svm_predict_types.h:51
daal::algorithms::classifier::prediction::NumericTableInputId
NumericTableInputId
Definition: classifier_predict_types.h:55
daal::algorithms::classifier::prediction::ModelInputId
ModelInputId
Definition: classifier_predict_types.h:66
daal::algorithms::svm::prediction::defaultDense
Definition: svm_predict_types.h:53

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