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 #14834: [SPARK-17163][ML] Unified LogisticRegression inte...
Date Tue, 20 Sep 2016 00:39:42 GMT
Github user sethah commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14834#discussion_r79518247
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
---
    @@ -508,11 +680,51 @@ object LogisticRegression extends DefaultParamsReadable[LogisticRegression]
{
     @Since("1.4.0")
     class LogisticRegressionModel private[spark] (
         @Since("1.4.0") override val uid: String,
    -    @Since("2.0.0") val coefficients: Vector,
    -    @Since("1.3.0") val intercept: Double)
    +    @Since("2.1.0") val coefficientMatrix: Matrix,
    +    @Since("2.1.0") val interceptVector: Vector,
    +    @Since("1.3.0") override val numClasses: Int,
    +    private val isMultinomial: Boolean)
       extends ProbabilisticClassificationModel[Vector, LogisticRegressionModel]
       with LogisticRegressionParams with MLWritable {
     
    --- End diff --
    
    Done.


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

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


Mime
View raw message