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

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

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