Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/17862#discussion_r124458920
--- Diff:
mllib/src/test/scala/org/apache/spark/ml/classification/LinearSVCSuite.scala ---
@@ -272,36 +272,16 @@ class LinearSVCSuite extends SparkFunSuite with
MLlibTestSparkContext with Defau
val coefficientsSK = Vectors.dense(7.24690165, 14.77029087,
21.99924004, 29.5575729)
val interceptSK = 7.36947518
- assert(model1.intercept ~== interceptSK relTol 1E-3)
- assert(model1.coefficients ~== coefficientsSK relTol 4E-3)
+ assert(model.intercept ~== interceptSK relTol 1E-3)
+ assert(model.coefficients ~== coefficientsSK relTol 4E-3)
}
- test("linearSVC L-BFGS hinge comparison with R e1071 and scikit-learn") {
- val trainer1 = new LinearSVC().setSolver(LinearSVC.LBFGS)
--- End diff --
what happens to this test?
---
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]