Skip to content
Snippets Groups Projects
Commit 105791e3 authored by Xiangrui Meng's avatar Xiangrui Meng
Browse files

[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
parent 6d2caa57
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment