Github user hhbyyh commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17862#discussion_r115303395
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/classification/LinearSVC.scala ---
    @@ -205,15 +233,21 @@ class LinearSVC @Since("2.2.0") (
           val costFun = new LinearSVCCostFun(instances, $(fitIntercept),
             $(standardization), bcFeaturesStd, regParamL2, $(aggregationDepth))
     
    -      def regParamL1Fun = (index: Int) => 0D
    -      val optimizer = new BreezeOWLQN[Int, BDV[Double]]($(maxIter), 10, 
regParamL1Fun, $(tol))
    +      val optimizerAlgo = $(optimizer) match {
    --- End diff --
    
    Sounds good to me. But we'll also need to update python and R API. I don't 
know the release date of 2.2. 


---
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]

Reply via email to