C++ API Reference for Intel® Data Analytics Acceleration Library 2019

multi_class_classifier_predict_types.h
1 /* file: multi_class_classifier_predict_types.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 // Multiclass classifier data types
19 //--
20 */
21 
22 #ifndef __MULTI_CLASS_CLASSIFIER_PREDICT_TYPES_H__
23 #define __MULTI_CLASS_CLASSIFIER_PREDICT_TYPES_H__
24 
25 #include "algorithms/algorithm.h"
26 #include "algorithms/multi_class_classifier/multi_class_classifier_model.h"
27 
28 namespace daal
29 {
30 namespace algorithms
31 {
32 namespace multi_class_classifier
33 {
40 namespace prediction
41 {
46 enum Method
47 {
48  defaultDense = 0,
49  multiClassClassifierWu = 0,
50  voteBased = 1
51 };
52 
53 namespace interface1
54 {
55 
60 class DAAL_EXPORT Input : public classifier::prediction::Input
61 {
62  typedef classifier::prediction::Input super;
63 public:
64  Input();
65  Input(const Input& other);
66  virtual ~Input() {}
67 
68  using super::get;
69  using super::set;
70 
76  data_management::NumericTablePtr get(classifier::prediction::NumericTableInputId id) const;
77 
83  multi_class_classifier::ModelPtr get(classifier::prediction::ModelInputId id) const;
84 
90  void set(classifier::prediction::NumericTableInputId id, const data_management::NumericTablePtr &ptr);
91 
97  void set(classifier::prediction::ModelInputId id, const multi_class_classifier::ModelPtr &ptr);
98 
106  services::Status check(const daal::algorithms::Parameter *parameter, int method) const DAAL_C11_OVERRIDE;
107 };
108 
109 } // namespace interface1
110 using interface1::Input;
111 
112 } // namespace prediction
114 } // namespace multi_class_classifier
115 } // namespace algorithms
116 } // namespace daal
117 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::classifier::prediction::ModelInputId
ModelInputId
Definition: classifier_predict_types.h:64
daal::algorithms::multi_class_classifier::prediction::Method
Method
Definition: multi_class_classifier_predict_types.h:46
daal::algorithms::classifier::prediction::NumericTableInputId
NumericTableInputId
Definition: classifier_predict_types.h:53
daal::algorithms::multi_class_classifier::prediction::interface1::Input
Input objects in the prediction stage of the Multi-class classifier algorithm.
Definition: multi_class_classifier_predict_types.h:60
daal::algorithms::multi_class_classifier::prediction::defaultDense
Definition: multi_class_classifier_predict_types.h:48
daal::algorithms::multi_class_classifier::prediction::multiClassClassifierWu
Definition: multi_class_classifier_predict_types.h:49
daal::algorithms::classifier::prediction::prediction
Definition: classifier_predict_types.h:76
daal::algorithms::multi_class_classifier::prediction::voteBased
Definition: multi_class_classifier_predict_types.h:50

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