Github user yanboliang commented on a diff in the pull request:
https://github.com/apache/spark/pull/17862#discussion_r115431940
--- Diff:
mllib/src/test/scala/org/apache/spark/ml/classification/LinearSVCSuite.scala ---
@@ -223,6 +229,25 @@ class LinearSVCSuite extends SparkFunSuite with
MLlibTestSparkContext with Defau
assert(model1.coefficients ~== coefficientsSK relTol 4E-3)
}
+ test("linearSVC L-BFGS comparison with R e1071 and scikit-learn") {
+ val trainer1 = new LinearSVC().setSolver(LinearSVC.LBFGS)
+ .setRegParam(0.00003)
--- End diff --
Why we switch to different ```regParam``` compared with the above test?
Does it means the converged solution will depends on optimizer?
---
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]