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

    https://github.com/apache/spark/pull/15435#discussion_r85220059
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
 ---
    @@ -919,6 +948,10 @@ class LogisticRegressionModel private[spark] (
         }
       }
     
    +  private[classification] val probability2predictionUdf = udf {
    --- End diff --
    
    This UDF might pull this entire class into the closure and thus into the 
summaries.  I believe we can eliminate this UDF; I'll comment more below.


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