Skip to content

Commit

Permalink
fix multiline comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuber21 committed Oct 26, 2023
1 parent 5f19b8c commit a0c2c7b
Showing 1 changed file with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ namespace daal::algorithms::gbt::internal
{
GbtDecisionTree prepareThreeNodeTree()
{
// create a tree with 3 nodes, 1 root (split), 2 leaves
// ROOT (level 1)
// / \
// L L (level 2)
/**
* create a tree with 3 nodes, 1 root (split), 2 leaves
* ROOT (level 1)
* / \
* L L (level 2)
*/
GbtDecisionTree tree = GbtDecisionTree(3, 2);

ModelFPType * splitPoints = tree.getSplitPoints();
Expand Down Expand Up @@ -52,13 +54,14 @@ GbtDecisionTree prepareThreeNodeTree()

GbtDecisionTree prepareFiveNodeTree()
{
// create a tree with 5 nodes
// ROOT (1) (level 1)
// / \
// L (2) S (3) (level 2)
// / \
// L (6) L (7) (level 3)
// (note: on level 3, nodes 4 and 5 do not exist and will be created as "dummy leaf")
/** create a tree with 5 nodes
* ROOT (1) (level 1)
* / \
* L (2) S (3) (level 2)
* / \
* L (6) L (7) (level 3)
* (note: on level 3, nodes 4 and 5 do not exist and will be created as "dummy leaf")
*/
GbtDecisionTree tree = GbtDecisionTree(5, 3);

ModelFPType * splitPoints = tree.getSplitPoints();
Expand Down

0 comments on commit a0c2c7b

Please sign in to comment.