Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/13390#discussion_r65011625
--- Diff: docs/mllib-evaluation-metrics.md ---
@@ -182,17 +183,22 @@ $$\hat{\delta}(x) = \begin{cases}1 & \text{if $x =
0$}, \\ 0 & \text{otherwise}.
</td>
</tr>
<tr>
- <td>Overall Precision</td>
+ <td>Micro Accuracy</td>
+ <td>$ACC = \frac{TP}{TP + FP} = \frac{1}{N}\sum_{i=0}^{N-1}
\hat{\delta}\left(\hat{\mathbf{y}}_i -
+ \mathbf{y}_i\right)$</td>
+ </tr>
+ <tr>
+ <td>Micro Precision</td>
--- End diff --
Nit: I might call this "(Micro) Precision" to deemphasize the modifier. I
personally had never heard it, and it may be a sklearn-specific description (?)
So maybe this makes it more readily understandable as "yes, just the
definition you probably expect"
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]