Skip to content

Commit

Permalink
add Unit Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fjiang6 committed Aug 5, 2015
1 parent 5a94f99 commit 412c34d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -823,4 +823,3 @@ private class HuberCostFun(
(loss, gradient.toBreeze.asInstanceOf[BDV[Double]])
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ class LinearRegressionSuite extends SparkFunSuite with MLlibTestSparkContext {

assert(modelWithoutIntercept.intercept ~== 0 absTol 1E-3)
assert(modelWithoutIntercept.weights ~= weightsWithoutInterceptR relTol 1E-3)

}

test("linear regression with intercept with L1 regularization") {
Expand Down

0 comments on commit 412c34d

Please sign in to comment.