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

    https://github.com/apache/spark/pull/20332#discussion_r164151687
  
    --- Diff: 
examples/src/main/scala/org/apache/spark/examples/ml/MulticlassLogisticRegressionWithElasticNetExample.scala
 ---
    @@ -49,6 +49,48 @@ object MulticlassLogisticRegressionWithElasticNetExample 
{
         // Print the coefficients and intercept for multinomial logistic 
regression
         println(s"Coefficients: \n${lrModel.coefficientMatrix}")
         println(s"Intercepts: \n${lrModel.interceptVector}")
    +
    +    val trainingSummary = lrModel.summary
    +
    +    val objectiveHistory = trainingSummary.objectiveHistory
    --- End diff --
    
    Done


---

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

Reply via email to