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

logitboost_training_types.h
1 /* file: logitboost_training_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 // Implementation of LogitBoost training algorithm interface.
19 //--
20 */
21 
22 #ifndef __LOGIT_BOOST_TRAINING_TYPES_H__
23 #define __LOGIT_BOOST_TRAINING_TYPES_H__
24 
25 #include "algorithms/algorithm.h"
26 #include "algorithms/classifier/classifier_training_types.h"
27 #include "algorithms/boosting/logitboost_model.h"
28 
29 namespace daal
30 {
31 namespace algorithms
32 {
38 namespace logitboost
39 {
49 namespace training
50 {
55 enum Method
56 {
57  friedman = 0,
58  defaultDense = 0
59 };
60 
64 namespace interface1
65 {
71 class DAAL_EXPORT Result : public classifier::training::Result
72 {
73 public:
74  DECLARE_SERIALIZABLE_CAST(Result);
75 
76  virtual ~Result() {}
77 
83  daal::algorithms::logitboost::ModelPtr get(classifier::training::ResultId id) const;
84 
91  template <typename algorithmFPType>
92  DAAL_EXPORT services::Status allocate(const daal::algorithms::Input *input, const daal::algorithms::Parameter *parameter, const int method);
93 
94 protected:
96  template<typename Archive, bool onDeserialize>
97  services::Status serialImpl(Archive *arch)
98  {
99  return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
100  }
101 };
102 typedef services::SharedPtr<Result> ResultPtr;
103 } // namespace interface1
104 using interface1::Result;
105 using interface1::ResultPtr;
106 
107 } // namespace daal::algorithms::logitboost::training
109 }
110 }
111 } // namespace daal
112 #endif // __LOGIT_BOOST_TRAINING_TYPES_H__
daal
Definition: algorithm_base_common.h:31
daal::algorithms::logitboost::training::Method
Method
Definition: logitboost_training_types.h:55
daal::algorithms::logitboost::training::friedman
Definition: logitboost_training_types.h:57
daal::algorithms::classifier::training::ResultId
ResultId
Definition: classifier_training_types.h:80
daal::algorithms::logitboost::training::interface1::Result
Provides methods to access final results obtained with the compute() method of the LogitBoost trainin...
Definition: logitboost_training_types.h:71
daal::algorithms::logitboost::training::defaultDense
Definition: logitboost_training_types.h:58

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