Skip to content

Commit

Permalink
DOC make notation for regression criterion more uniform and better lo…
Browse files Browse the repository at this point in the history
…oking (#10643)
  • Loading branch information
amueller authored and qinhanmin2014 committed Feb 16, 2018
1 parent 4d41160 commit 3bcfd07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/modules/tree.rst
Expand Up @@ -490,17 +490,17 @@ Mean Squared Error:

.. math::
c_m = \frac{1}{N_m} \sum_{i \in N_m} y_i
\bar{y}_m = \frac{1}{N_m} \sum_{i \in N_m} y_i
H(X_m) = \frac{1}{N_m} \sum_{i \in N_m} (y_i - c_m)^2
H(X_m) = \frac{1}{N_m} \sum_{i \in N_m} (y_i - \bar{y}_m)^2
Mean Absolute Error:

.. math::
\bar{y_m} = \frac{1}{N_m} \sum_{i \in N_m} y_i
\bar{y}_m = \frac{1}{N_m} \sum_{i \in N_m} y_i
H(X_m) = \frac{1}{N_m} \sum_{i \in N_m} |y_i - \bar{y_m}|
H(X_m) = \frac{1}{N_m} \sum_{i \in N_m} |y_i - \bar{y}_m|
where :math:`X_m` is the training data in node :math:`m`

Expand Down

0 comments on commit 3bcfd07

Please sign in to comment.