Skip to content

Commit 1ba84d7

Browse files
aashilraghavrv
authored andcommitted
Explain the meaning of X_m in modules/tree doc. (scikit-learn#8398)
1 parent 38f23cc commit 1ba84d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/modules/tree.rst

+3
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,8 @@ and Misclassification
480480
481481
H(X_m) = 1 - \max(p_{mk})
482482
483+
where :math:`X_m` is the training data in node :math:`m`
484+
483485
Regression criteria
484486
-------------------
485487

@@ -493,6 +495,7 @@ criterion to minimise is the Mean Squared Error
493495
494496
H(X_m) = \frac{1}{N_m} \sum_{i \in N_m} (y_i - c_m)^2
495497
498+
where :math:`X_m` is the training data in node :math:`m`
496499

497500
.. topic:: References:
498501

0 commit comments

Comments
 (0)