diff options
author | Xiangrui Meng <meng@databricks.com> | 2015-02-24 11:38:59 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-02-24 11:38:59 -0800 |
commit | 105791e35cee694f3b2ac1e06758650fe44e2c71 (patch) | |
tree | 8262143f9b88cd6cf4415dd123c57f5f330ab542 | |
parent | 6d2caa576fcdc5c848d1472b09c685b3871e220e (diff) | |
download | spark-105791e35cee694f3b2ac1e06758650fe44e2c71.tar.gz spark-105791e35cee694f3b2ac1e06758650fe44e2c71.tar.bz2 spark-105791e35cee694f3b2ac1e06758650fe44e2c71.zip |
[MLLIB] Change x_i to y_i in Variance's user guide
Variance is calculated on labels/responses.
Author: Xiangrui Meng <meng@databricks.com>
Closes #4740 from mengxr/patch-1 and squashes the following commits:
673317b [Xiangrui Meng] [MLLIB] Change x_i to y_i in Variance's user guide
-rw-r--r-- | docs/mllib-decision-tree.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/mllib-decision-tree.md b/docs/mllib-decision-tree.md index d1537def85..6675133a81 100644 --- a/docs/mllib-decision-tree.md +++ b/docs/mllib-decision-tree.md @@ -54,8 +54,8 @@ impurity measure for regression (variance). <tr> <td>Variance</td> <td>Regression</td> - <td>$\frac{1}{N} \sum_{i=1}^{N} (x_i - \mu)^2$</td><td>$y_i$ is label for an instance, - $N$ is the number of instances and $\mu$ is the mean given by $\frac{1}{N} \sum_{i=1}^N x_i$.</td> + <td>$\frac{1}{N} \sum_{i=1}^{N} (y_i - \mu)^2$</td><td>$y_i$ is label for an instance, + $N$ is the number of instances and $\mu$ is the mean given by $\frac{1}{N} \sum_{i=1}^N y_i$.</td> </tr> </tbody> </table> |