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

tree_utils_classification.h
1 /* file: tree_utils_classification.h */
2 /*******************************************************************************
3 * Copyright 2014-2019 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 classification model
19 //--
20 */
21 
22 #ifndef __TREE_UTILS_CLASSIFICATION__
23 #define __TREE_UTILS_CLASSIFICATION__
24 
25 #include "tree_utils.h"
26 
27 namespace daal
28 {
29 namespace algorithms
30 {
31 
37 namespace tree_utils
38 {
39 
40 namespace classification
41 {
42 
46 namespace interface1
47 {
48 
53 struct DAAL_EXPORT LeafNodeDescriptor : public NodeDescriptor
54 {
55  size_t label;
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 } // classification
66 } // tree_utils
67 } // algorithms
68 } // daal
69 
70 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::tree_utils::classification::interface1::LeafNodeDescriptor
Struct containing description of leaf node in classification descision tree
Definition: tree_utils_classification.h:53
daal::algorithms::tree_utils::classification::interface1::LeafNodeDescriptor::label
size_t label
Definition: tree_utils_classification.h:55

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