Skip to content

Commit 4dd711e

Browse files
committed
120 constraint
1 parent a411ba8 commit 4dd711e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/Microsoft.ML.FastTree/Representation/TreeRegressor.cs

+5-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ public class TreeRegressor
1717
private readonly RegressionTree _tree;
1818

1919
/// <summary>
20-
/// Sample labels from training data. <see cref="_leafSamples"/>[i] stores the labels falling into the i-th leaf.
20+
/// Sample labels from training data. <see cref="_leafSamples"/>[i] stores the labels falling into the
21+
/// i-th leaf.
2122
/// </summary>
2223
private readonly double[][] _leafSamples;
2324
/// <summary>
@@ -68,9 +69,9 @@ public class TreeRegressor
6869
public ReadOnlySpan<double> LeafValues => new ReadOnlySpan<double>(_tree.LeafValues, 0, _tree.NumLeaves);
6970
/// <summary>
7071
/// Return categorical thresholds used at node indexed by nodeIndex. If the considered input feature does NOT
71-
/// matche any of values returned by <see cref="GetCategoricalSplitFeaturesAt(int)"/>, we call it a less-than-threshold
72-
/// event and therefore <see cref="LteChild"/>[nodeIndex] is the child node that input should go next. The returned
73-
/// value is valid only if <see cref="CategoricalSplitFlags"/>[nodeIndex] is true.
72+
/// matche any of values returned by <see cref="GetCategoricalSplitFeaturesAt(int)"/>, we call it a
73+
/// less-than-threshold event and therefore <see cref="LteChild"/>[nodeIndex] is the child node that input
74+
/// should go next. The returned value is valid only if <see cref="CategoricalSplitFlags"/>[nodeIndex] is true.
7475
/// </summary>
7576
public ReadOnlySpan<int> GetCategoricalSplitFeaturesAt(int nodeIndex) => new ReadOnlySpan<int>(_tree.CategoricalSplitFeatures[nodeIndex]);
7677
/// <summary>

0 commit comments

Comments
 (0)