spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sethah <...@git.apache.org>
Subject [GitHub] spark pull request #20332: [SPARK-23138][ML][DOC] Multiclass logistic regres...
Date Fri, 26 Jan 2018 16:12:36 GMT
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-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message