diff --git a/doc/user/methods/decision_tree.md b/doc/user/methods/decision_tree.md index d054c17886..53015df345 100644 --- a/doc/user/methods/decision_tree.md +++ b/doc/user/methods/decision_tree.md @@ -5,11 +5,11 @@ numerical and categorical features, by default using Gini gain to choose which feature to split on. The class offers several template parameters and several constructor parameters that can be used to control the behavior of the tree. -
-DecisionTree tree(3); // Step 1: construct object.
-tree.Train(data, labels, 3); // [Step 2](#training): train model.
-tree.Classify(test_data, test_predictions); // [Step 3](#classification): use model to classify points.
-
+DecisionTree tree(3); // Step 1: construct object.
+tree.Train(data, labels, 3); // Step 2: train model.
+tree.Classify(test_data, test_predictions); // Step 3: use model to classify points.
+
### Constructors