spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericl <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-9463] [ML] Expose model coefficients wi...
Date Thu, 30 Jul 2015 23:03:33 GMT
Github user ericl commented on a diff in the pull request:

    https://github.com/apache/spark/pull/7771#discussion_r35931506
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/feature/OneHotEncoder.scala ---
    @@ -167,4 +165,10 @@ class OneHotEncoder(override val uid: String) extends Transformer
       }
     
       override def copy(extra: ParamMap): OneHotEncoder = defaultCopy(extra)
    +
    +  private def toOutputAttrName(index: Int): String = toOutputAttrName(index.toString)
    +
    +  private def toOutputAttrName(value: String): String = {
    --- 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