Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/16013#discussion_r89686375
--- Diff:
mllib/src/main/scala/org/apache/spark/mllib/optimization/NNLS.scala ---
@@ -53,8 +53,11 @@ private[spark] object NNLS {
* projected gradient method. That is, find x minimising ||Ax - b||_2
given A^T A and A^T b.
*
* We solve the problem
+ *
+ * {{{
* min_x 1/2 x^T ata x^T - x^T atb
- * subject to x >= 0
+ * subject to x >= 0
+ * }}}
--- End diff --
I think this was meant to render as LaTeX with `$$`; does that work?
Otherwise, leave it but change the last bit to "where x is nonnegative"
---
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]