spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mengxr <...@git.apache.org>
Subject [GitHub] incubator-spark pull request: MLI-2: Start adding k-fold cross val...
Date Mon, 17 Feb 2014 18:51:42 GMT
Github user mengxr commented on the pull request:

    https://github.com/apache/incubator-spark/pull/572#discussion_r9800999
  
    I'm not sure which style to use. @rxin ? I prefer the following:
    ~~~
    map { fold => (                                           // "((" seems to be unnecessary
      new PartitionwiseSampledRDD ...
          complement = false), seed),                         // indent 2+4 spaces 
      new PartitionwiseSampledRDD ...
          complement = true), seed)
    )}.toList
    ~~~


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
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.
---

Mime
View raw message