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

tree_utils_regression.h
1 /* file: tree_utils_regression.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 the class defining the Decision tree regression model
19 //--
20 */
21 
22 #ifndef __TREE_UTILS_REGRESSION__
23 #define __TREE_UTILS_REGRESSION__
24 
25 #include "tree_utils.h"
26 
27 namespace daal
28 {
29 namespace algorithms
30 {
31 
37 namespace tree_utils
38 {
39 
40 namespace regression
41 {
42 
46 namespace interface1
47 {
48 
53 struct DAAL_EXPORT LeafNodeDescriptor : public NodeDescriptor
54 {
55  double response;
56 };
57 
58 typedef daal::algorithms::tree_utils::TreeNodeVisitor<LeafNodeDescriptor> TreeNodeVisitor;
59 typedef daal::algorithms::tree_utils::SplitNodeDescriptor SplitNodeDescriptor;
60 
61 } // interface1
62 using interface1::TreeNodeVisitor;
63 using interface1::SplitNodeDescriptor;
64 using interface1::LeafNodeDescriptor;
65 } // regression
66 } // tree_utils
67 } // algorithms
68 } // daal
69 
70 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::tree_utils::regression::interface1::LeafNodeDescriptor::response
double response
Definition: tree_utils_regression.h:55
daal::algorithms::tree_utils::regression::interface1::LeafNodeDescriptor
Struct containing description of leaf node in regression descision tree
Definition: tree_utils_regression.h:53

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