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

    https://github.com/apache/spark/pull/12331#discussion_r59478228
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
 ---
    @@ -273,6 +273,10 @@ class LogisticRegression @Since("1.2.0") (
     
         if (handlePersistence) instances.persist(StorageLevel.MEMORY_AND_DISK)
     
    +    val instr = Instrumentation.create(this, instances)
    +    instr.logParams(regParam, elasticNetParam, standardization, threshold,
    --- End diff --
    
    My concern here was not to log some large values such as `thresholds` (in 
the case of multiclass). Otherwise, we may swamp the logs with very large 
vectors, which is not the point of these statistics.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to