Attempt manual comment denotation.

This commit is contained in:
Ryan Curtin
2023-09-25 13:48:33 -04:00
parent e0836b5396
commit bc2d022649
+5 -5
View File
@@ -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.
<div class="highlight highlight-html"><pre>
DecisionTree tree(3); // <a href="#constructors">Step 1</a>: 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.
</pre></div>
<pre>
DecisionTree tree(3); <span class="#pl-c">// <a href="#constructors">Step 1</a>: construct object.</span>
tree.Train(data, labels, 3); // <a href="#training">Step 2</a>: train model.
tree.Classify(test_data, test_predictions); // <a href="#classification">Step 3</a>: use model to classify points.
</pre>
### Constructors