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

    https://github.com/apache/spark/pull/1104#discussion_r13897825
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/mllib/optimization/LBFGSSuite.scala ---
    @@ -195,4 +195,39 @@ class LBFGSSuite extends FunSuite with 
LocalSparkContext with Matchers {
         assert(lossLBFGS3.length == 6)
         assert((lossLBFGS3(4) - lossLBFGS3(5)) / lossLBFGS3(4) < 
convergenceTol)
       }
    +
    --- End diff --
    
    The bug isn't found because we only test the static runLBFGS method instead 
of the class. We probably can change all the existing tests to use the one in 
class, so we don't need to add another test.  
    
    @mengxr what do you think? 


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to