Skip to content
Snippets Groups Projects
Commit 2a0de7dc authored by Shuai Lin's avatar Shuai Lin Committed by Sean Owen
Browse files

[SPARK-16485][DOC][ML] Remove useless latex in a log messge.

## What changes were proposed in this pull request?

Removed useless latex in a log messge.

## How was this patch tested?

Check generated scaladoc.

Author: Shuai Lin <linshuai2012@gmail.com>

Closes #14380 from lins05/fix-docs-formatting.
parent 64d8f37c
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ class GradientDescentSuite extends SparkFunSuite with MLlibTestSparkContext with
assert(
loss1(0) ~= (loss0(0) + (math.pow(initialWeightsWithIntercept(0), 2) +
math.pow(initialWeightsWithIntercept(1), 2)) / 2) absTol 1E-5,
"""For non-zero weights, the regVal should be \frac{1}{2}\sum_i w_i^2.""")
"""For non-zero weights, the regVal should be 0.5 * sum(w_i ^ 2).""")
assert(
(newWeights1(0) ~= (newWeights0(0) - initialWeightsWithIntercept(0)) absTol 1E-5) &&
......
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